Function at 0x4d5e90
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x58c584]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0x12c
mov eax, 0x53ee95
call fcn.0050a887
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.00402a8c
mov dword [ebp - 4], 1
cmp dword [edi + 4], ebx
je 0x4d612a
cmp byte [edi + 0xc], bl
je 0x4d612a
push 0x3c
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.0050aaf0
mov edi, 0x400
push edi
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.0050aaf0
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 0x4d5f3c
mov eax, dword [edi]
jmp 0x4d5f3e
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 0x4d611c
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 0x4d611c
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 0x4d5f8b
mov edi, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0050a0b0
pop ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x20]
push edi
call dword [ebp - 0x24]
cmp eax, 1
jne 0x4d611c
cmp dword [ebp - 0x10], ebx
je 0x4d611c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x74]
call fcn.004026ad
push 1
push 3
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.00410ea7
push ebx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004034b0
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00403431
push 0x3b
lea eax, [ebp]
push eax
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 4], 5
call fcn.0040a251
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 0x4d60f5
mov esi, str.PROXY
cmp dword [ebp + 0x14], ebx
je 0x4d60c3
push ebx
push esi
lea ecx, [ebp]
call fcn.0040a993
lea ecx, [ebp]
cmp eax, 0xffffffff
je 0x4d6079
push 0xffffffffffffffff
push ebx
push esi
call fcn.0040a993
push esi
mov edi, eax
call fcn.0050a0b0
pop ecx
add edi, eax
push edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp]
call fcn.0041f977
mov byte [ebp - 4], 6
jmp 0x4d609d
push ebx
push str.DIRECT
call fcn.004d5e6f
cmp eax, 0xffffffff
je 0x4d60b7
push 0x561cc7
lea ecx, [ebp - 0x58]
call fcn.004026ad
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402bc9
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004034b0
jmp 0x4d60c3
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402bc9
push 0x3b
lea eax, [ebp]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0040a251
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 0x4d6037
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.004034b0
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.0040e197
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.00407995
jmp 0x4d6136
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.00407995
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], bl
call fcn.00402abe
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.0050a878
add ebp, 0x420
leave
ret 8