Function at 0x478780
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df9b6
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5246a8]
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 [0x527178]
mov al, byte [eax + 0x49]
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp al, bl
je 0x478a36
push 0x3c
lea ecx, [ebp - 0xdc]
push ebx
push ecx
call fcn.004b7180
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 0x478800
mov eax, dword [esi]
jmp 0x478802
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 0x478a36
mov eax, dword [ebp - 0xd0]
cmp eax, 3
je 0x47882e
cmp eax, 4
jne 0x478a36
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.004066a0
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 4], ebx
cmp edx, ebx
jne 0x47885d
mov edx, 0x4e696c
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 0x478870
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406040
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4788e6
mov ecx, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4788a4
lea ecx, [ebp - 0x2c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0040a0c0
push eax
push ebx
lea edx, [ebp - 0x9c]
push edx
mov ecx, esi
call fcn.00406660
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00405fc0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x88], edi
jb 0x4788e6
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406d09
add esp, 4
xor ecx, ecx
push 3
mov word [ebp - 0x48], cx
mov edi, 7
push 0x4ff70c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00406040
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 0x4789dc
push 0xffffffffffffffff
inc eax
push eax
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x80]
call fcn.00406660
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00405fc0
cmp dword [ebp - 0x88], 8
mov byte [ebp - 4], 4
jb 0x478978
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406d09
add esp, 4
cmp dword [ebp - 0x54], 3
jne 0x4789ca
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x47898a
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
push ecx
push eax
push 3
push ebx
lea ecx, [ebp - 0x64]
call fcn.004071f0
test eax, eax
jne 0x4789ca
cmp dword [ebp - 0x1c], ebx
jne 0x4789aa
push 0x4ff6e8
jmp 0x4789c3
push 1
push ebx
push 0x4ff6e4
lea ecx, [ebp - 0x2c]
call fcn.0040a0c0
test eax, eax
jne 0x4789ca
push str.ProtectedMode1
mov ecx, esi
call fcn.00421f10
cmp dword [ebp - 0x50], 8
jb 0x4789dc
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406d09
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 0x4789fa
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406d09
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 0x478a18
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406d09
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 0x478a36
mov edx, dword [ebp - 0x80]
push edx
call fcn.00406d09
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