Function at 0x4d0cc1
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x599274]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0x12c
mov eax, 0x5491a4
call fcn.005122a7
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.004027d0
mov dword [ebp - 4], 1
cmp dword [edi + 4], ebx
je 0x4d0f5b
cmp byte [edi + 0xc], bl
je 0x4d0f5b
push 0x3c
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.00512510
mov edi, 0x400
push edi
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.00512510
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 0x4d0d6d
mov eax, dword [edi]
jmp 0x4d0d6f
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 0x4d0f4d
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 0x4d0f4d
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 0x4d0dbc
mov edi, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00511ad0
pop ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x20]
push edi
call dword [ebp - 0x24]
cmp eax, 1
jne 0x4d0f4d
cmp dword [ebp - 0x10], ebx
je 0x4d0f4d
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.0040fbfa
push ebx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00402a53
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00403082
push 0x3b
lea eax, [ebp]
push eax
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 5
call fcn.0040667d
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 0x4d0f26
mov esi, str.PROXY
cmp dword [ebp + 0x14], ebx
je 0x4d0ef4
push ebx
push esi
lea ecx, [ebp]
call fcn.004096c3
lea ecx, [ebp]
cmp eax, 0xffffffff
je 0x4d0eaa
push 0xffffffffffffffff
push ebx
push esi
call fcn.004096c3
push esi
mov edi, eax
call fcn.00511ad0
pop ecx
add edi, eax
push edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp]
call fcn.0041ef89
mov byte [ebp - 4], 6
jmp 0x4d0ece
push ebx
push str.DIRECT
call fcn.004d0ca0
cmp eax, 0xffffffff
je 0x4d0ee8
push 0x56f9e8
lea ecx, [ebp - 0x58]
call fcn.004020cc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004028a1
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00402a53
jmp 0x4d0ef4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004028a1
push 0x3b
lea eax, [ebp]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0040667d
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 0x4d0e68
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.00402a53
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.0040cec8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.00402802
jmp 0x4d0f67
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.00402802
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], bl
call fcn.0040288f
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.00512298
add ebp, 0x420
leave
ret 8