Function at 0x4d5ee3
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x5a1574]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0x12c
mov eax, 0x54e9bf
call fcn.00516d67
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 0x4d617d
cmp byte [edi + 0xc], bl
je 0x4d617d
push 0x3c
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.00516fd0
mov edi, 0x400
push edi
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.00516fd0
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 0x4d5f8f
mov eax, dword [edi]
jmp 0x4d5f91
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 0x4d616f
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 0x4d616f
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 0x4d5fde
mov edi, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00516590
pop ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x20]
push edi
call dword [ebp - 0x24]
cmp eax, 1
jne 0x4d616f
cmp dword [ebp - 0x10], ebx
je 0x4d616f
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.004107a4
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.004066ce
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 0x4d6148
mov esi, str.PROXY
cmp dword [ebp + 0x14], ebx
je 0x4d6116
push ebx
push esi
lea ecx, [ebp]
call fcn.004096b7
lea ecx, [ebp]
cmp eax, 0xffffffff
je 0x4d60cc
push 0xffffffffffffffff
push ebx
push esi
call fcn.004096b7
push esi
mov edi, eax
call fcn.00516590
pop ecx
add edi, eax
push edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp]
call fcn.00420412
mov byte [ebp - 4], 6
jmp 0x4d60f0
push ebx
push str.DIRECT
call fcn.004d5ec2
cmp eax, 0xffffffff
je 0x4d610a
push 0x576018
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 0x4d6116
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.004066ce
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 0x4d608a
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.0040cefb
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.00402802
jmp 0x4d6189
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.00516d58
add ebp, 0x420
leave
ret 8