Function at 0x4ce9b6
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x581094]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0x12c
mov eax, 0x5363ca
call fcn.00502c17
mov eax, dword [ebp + 0x428]
mov esi, dword [ebp + 0x42c]
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
call fcn.004027da
mov dword [ebp - 4], 1
cmp dword [edi + 4], ebx
je 0x4cec50
cmp byte [edi + 0xc], bl
je 0x4cec50
push 0x3c
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.00502e80
mov edi, 0x400
push edi
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.00502e80
mov ecx, dword [esi + 0x14]
add esp, 0x18
cmp dword [esi + 0x18], 0x10
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xb0], 0x3c
mov dword [ebp - 0xa0], eax
lea edi, [esi + 4]
jb 0x4cea62
mov eax, dword [edi]
jmp 0x4cea64
mov eax, edi
lea edx, [ebp - 0xb0]
push edx
push 0x10000000
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x4cec42
mov eax, dword [ebp - 0x10]
push str.InternetGetProxyInfo
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4cec42
cmp dword [esi + 0x18], 0x10
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
jb 0x4ceab1
mov edi, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00502440
pop ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x20]
push edi
call dword [ebp - 0x24]
cmp eax, 1
jne 0x4cec42
cmp dword [ebp - 0x10], ebx
je 0x4cec42
push dword [ebp - 0x10]
lea ecx, [ebp - 0x74]
call fcn.004020cc
push 1
push 3
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.0040fbb7
push ebx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00402a66
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00403095
push 0x3b
lea eax, [ebp]
push eax
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 5
call fcn.0040661e
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx eax, al
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x4cec1b
mov esi, str.PROXY
cmp dword [ebp + 0x14], ebx
je 0x4cebe9
push ebx
push esi
lea ecx, [ebp]
call fcn.004096a9
lea ecx, [ebp]
cmp eax, 0xffffffff
je 0x4ceb9f
push 0xffffffffffffffff
push ebx
push esi
call fcn.004096a9
push esi
mov edi, eax
call fcn.00502440
pop ecx
add edi, eax
push edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp]
call fcn.0041dd6c
mov byte [ebp - 4], 6
jmp 0x4cebc3
push ebx
push str.DIRECT
call fcn.004ce995
cmp eax, 0xffffffff
je 0x4cebdd
push 0x558728
lea ecx, [ebp - 0x58]
call fcn.004020cc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004028ab
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00402a66
jmp 0x4cebe9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004028ab
push 0x3b
lea eax, [ebp]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0040661e
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx eax, al
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x4ceb5d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00402a66
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.0040ce64
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.0040280c
jmp 0x4cec5c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.0040280c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], bl
call fcn.00402899
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.00502c08
add ebp, 0x420
leave
ret 8