Function at 0x478910
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df9d6
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x528178]
mov al, byte [eax + 0x49]
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp al, bl
je 0x478bc6
push 0x3c
lea ecx, [ebp - 0xdc]
push ebx
push ecx
call fcn.004b7120
mov eax, 1
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0xdc], 0x3c
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
jb 0x478990
mov eax, dword [esi]
jmp 0x478992
mov eax, esi
lea edx, [ebp - 0xdc]
push edx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp eax, ebx
je 0x478bc6
mov eax, dword [ebp - 0xd0]
cmp eax, 3
je 0x4789be
cmp eax, 4
jne 0x478bc6
push 0xffffffffffffffff
push ebx
xor eax, eax
mov edi, 7
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
call fcn.00406690
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 4], ebx
cmp edx, ebx
jne 0x4789ed
mov edx, 0x4e796c
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x478a00
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406030
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x478a76
mov ecx, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x478a34
lea ecx, [ebp - 0x2c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0040a0b0
push eax
push ebx
lea edx, [ebp - 0x9c]
push edx
mov ecx, esi
call fcn.00406650
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00405fb0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x88], edi
jb 0x478a76
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
push 3
mov word [ebp - 0x48], cx
mov edi, 7
push 0x500704
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00406030
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xa0], 0x2e
call fcn.00417850
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
je 0x478b6c
push 0xffffffffffffffff
inc eax
push eax
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x80]
call fcn.00406650
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00405fb0
cmp dword [ebp - 0x88], 8
mov byte [ebp - 4], 4
jb 0x478b08
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406cf9
add esp, 4
cmp dword [ebp - 0x54], 3
jne 0x478b5a
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x478b1a
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
push ecx
push eax
push 3
push ebx
lea ecx, [ebp - 0x64]
call fcn.004071e0
test eax, eax
jne 0x478b5a
cmp dword [ebp - 0x1c], ebx
jne 0x478b3a
push 0x5006e0
jmp 0x478b53
push 1
push ebx
push 0x5006dc
lea ecx, [ebp - 0x2c]
call fcn.0040a0b0
test eax, eax
jne 0x478b5a
push str.ProtectedMode1
mov ecx, esi
call fcn.00421f10
cmp dword [ebp - 0x50], 8
jb 0x478b6c
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406cf9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
jb 0x478b8a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406cf9
add esp, 4
xor edx, edx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
jb 0x478ba8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406cf9
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
jb 0x478bc6
mov edx, dword [ebp - 0x80]
push edx
call fcn.00406cf9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret