Function at 0x4a6930
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525c10
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x579630]
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 ebx, dword [0x57f480]
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4a6bb9
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebx + 0x49]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x4a6bb9
push 0x3c
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0xb0], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x78], 1
jb 0x4a69ca
mov eax, dword [edi]
jmp 0x4a69cc
mov eax, edi
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4a6bb9
mov eax, dword [ebp - 0xa4]
cmp eax, 3
je 0x4a69fa
cmp eax, 4
jne 0x4a6bb9
xor eax, eax
mov dword [ebp - 0x60], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.00407d00
mov eax, dword [ebp - 0x7c]
mov ecx, 0x52d9b8
test eax, eax
mov dword [ebp - 4], 0
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004076f0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4a6a7d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
call fcn.0040cdd0
push eax
push 0
lea eax, [ebp - 0xc8]
mov ecx, edi
push eax
call fcn.00407cc0
push eax
lea ecx, [ebp - 0x74]
call fcn.00407e20
lea ecx, [ebp - 0xc8]
call fcn.004087d0
push 0x54a374
lea ecx, [ebp - 0x5c]
call fcn.004076f0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x2e
push eax
lea ecx, [ebp - 0x74]
call fcn.0042c9f0
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], cx
mov byte [ebp - 4], 3
cmp eax, 0xffffffff
je 0x4a6b4a
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00407cc0
push eax
lea ecx, [ebp - 0x44]
call fcn.00407e20
lea ecx, [ebp - 0xc8]
call fcn.004087d0
cmp dword [ebp - 0x34], 3
jne 0x4a6b39
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
push 3
push 0
call fcn.004089f0
test eax, eax
jne 0x4a6b39
cmp dword [ebp - 0x18], eax
jne 0x4a6b1a
push str.ProtectedMode1
jmp 0x4a6b32
push 0
push 0x54a3a0
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
test eax, eax
jne 0x4a6b39
push 0x54a3a4
mov ecx, edi
call fcn.0042ec80
cmp dword [ebp - 0x30], 8
jb 0x4a6b4a
push dword [ebp - 0x44]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x4a6b6f
push dword [ebp - 0x5c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x4a6b94
push dword [ebp - 0x28]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x4a6bb9
push dword [ebp - 0x74]
call fcn.004085be
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.00401590
mov esp, ebp
pop ebp
ret