Function at 0x4c0b90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560080
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5c7cec]
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 [0x5ccda4]
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4c0de0
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebx + 0x49]
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x4c0de0
push 0x3c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0xac], 0x3c
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x74], 1
jb 0x4c0c38
mov eax, dword [edi]
lea ecx, [ebp - 0xac]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4c0de0
mov eax, dword [ebp - 0xa0]
cmp eax, 3
je 0x4c0c66
cmp eax, 4
jne 0x4c0de0
push edi
lea ecx, [ebp - 0x40]
call fcn.00409a20
mov eax, dword [ebp - 0x78]
mov ecx, 0x569908
test eax, eax
mov dword [ebp - 4], 1
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0040d7b0
cmp dword [ebp - 0x60], 0
mov byte [ebp - 4], 2
je 0x4c0cc2
push 0
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.004915b0
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00408d90
push eax
lea ecx, [ebp - 0x40]
call fcn.0042a225
lea ecx, [ebp - 0x58]
call fcn.00408e50
push 0x58a710
lea ecx, [ebp - 0x58]
call fcn.0040d7b0
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
test eax, eax
je 0x4c0d07
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea eax, [edx + ecx*2]
je 0x4c0d01
cmp eax, edx
je 0x4c0d07
sub eax, 2
cmp word [eax], 0x2e
jne 0x4c0cf4
sub eax, edx
sar eax, 1
jmp 0x4c0d0a
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
je 0x4c0dc0
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00408d90
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a225
lea ecx, [ebp - 0xc4]
call fcn.00408e50
cmp dword [ebp - 0x18], 3
jne 0x4c0dc0
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x48], 3
jne 0x4c0dc0
mov esi, 3
sub ecx, edx
nop dword [eax + eax]
mov ax, word [ecx + edx]
cmp ax, word [edx]
jne 0x4c0dc0
add edx, 2
sub esi, 1
jne 0x4c0d80
cmp dword [ebp - 0x60], esi
jne 0x4c0d9f
push 0x10
push str.ProtectedMode1
jmp 0x4c0db9
push 0
push 0x58a73c
lea ecx, [ebp - 0x70]
call fcn.0040ec70
test eax, eax
jne 0x4c0dc0
push 0x10
push 0x58a740
mov ecx, edi
call fcn.0040cd80
lea ecx, [ebp - 0x28]
call fcn.00408e50
lea ecx, [ebp - 0x58]
call fcn.00408e50
lea ecx, [ebp - 0x70]
call fcn.00408e50
lea ecx, [ebp - 0x40]
call fcn.00408e50
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.0040154f
mov esp, ebp
pop ebp
ret