Function at 0x47f2b0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dc58
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x38
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004ef3a0
push 0x1000
mov dword [ebp - 0x5c], 0x3c
call fcn.004ea22e
push 0x1000
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x800
call fcn.004ea22e
add esp, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0x800
push ecx
push 0
push dword [eax - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x47f486
push dword [ebp - 0x4c]
call fcn.004ea229
push dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
call fcn.004ea229
add esp, 8
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x10]
push str.CrackUrl_InternetCrackUrl_
call fcn.00471bb0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0047cff0
mov esi, eax
mov byte [ebp - 4], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47f393
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00472fc0
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00472fc0
add esp, 8
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.00473a30
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47f3f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f432
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f452
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x47f473
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x4c]
test edx, edx
jne 0x47f491
xor ecx, ecx
jmp 0x47f4a5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f496
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004725a0
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x47f4b9
xor ecx, ecx
jmp 0x47f4cf
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f4c0
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.004725a0
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp - 0x44]
push dword [ebp - 0x4c]
mov dword [eax], ecx
call fcn.004ea229
push dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
call fcn.004ea229
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret