benilla-re systems structs docs

IsAllowedLaunchUrl

function · net · orchestration

Address
0x5abc10 · 232 bytes, up to 0x5abcf7
Signature
uint32_t __fastcall (const char *url)
Meaning
Returns 1 for an http:// URL of letters, dots, hyphens and slashes whose host is in the ten-entry host table, else 0
Confidence
verified, proof two
Finding
net/connection#launch-url-allow-list

Finding: Launch URL allow list in net: connection

0x5abc10(url) returns 1 for a URL that begins with http:// in any case, whose remaining characters are all letters, ., - or /, and whose host, the text up to the first /, read to at most its 128th character, matches one of ten patterns; otherwise 0. A pattern that starts with * matches a host whose text from its first . equals the pattern without the star, so exactly one label may precede it. The patterns are *.blizzard.com, *.blizzcon.com, www.battle.net, *.worldofwarcraft.com, www.battlenet.co.kr, *.worldofwarcraft.co.kr, *.blizzard-europe.com, *.wow-europe.com, *.wowchina.com and *.wowtaiwan.com.tw. 0x5abd00 opens the URL through 0x429ff0 only when 0x5abc10 accepts it.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.