Function at 0x4286f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d89e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5b5be8]
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, ecx
mov eax, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428734
sub eax, edx
mov edi, eax
mov eax, ebx
lea esi, [ebp - 0x2c]
call fcn.00409b10
xor eax, eax
mov dword [ebp - 4], eax
push 5
mov dword [ebp - 0x30], eax
push str.ftp
mov eax, esi
push eax
xor eax, eax
call fcn.00409da0
cmp eax, 0xffffffff
je 0x42877b
push 6
push str.ftp:__
push eax
mov eax, 5
mov ecx, esi
call fcn.00409be0
push 6
push str.http
lea ecx, [ebp - 0x2c]
push ecx
xor eax, eax
call fcn.00409da0
cmp eax, 0xffffffff
je 0x4287a7
push 7
push str.http:__
push eax
mov eax, 6
lea ecx, [ebp - 0x2c]
call fcn.00409be0
push 3
push 0x5929d4
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
call fcn.00409da0
cmp eax, 0xffffffff
jne 0x428804
cmp dword [0x5b7854], 0x10
mov eax, dword [0x5b7840]
jae 0x4287d1
mov eax, 0x5b7840
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4287d6
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x2c]
call fcn.00409b10
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4287f0
sub eax, edx
push eax
mov eax, ebx
lea ecx, [ebp - 0x2c]
call fcn.0040a0b0
push 0x3c
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00535390
mov esi, 0x100
push esi
mov dword [ebp - 0x6c], 0x3c
call fcn.004310d6
push esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
call fcn.004310d6
push esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
call fcn.004310d6
mov edi, 0x10
add esp, 0x18
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x18], edi
jae 0x428854
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push ecx
push SysReAllocString
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x428918
mov eax, dword [ebp - 0x60]
mov ebx, 1
sub eax, ebx
je 0x4288b3
sub eax, 2
jne 0x428918
push 0x68
call fcn.004310a7
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4288a9
push eax
call fcn.00427eb0
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], eax
jmp 0x4288e2
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp - 0x30], eax
jmp 0x4288e2
push 0x4c
call fcn.004310a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], bl
test esi, esi
je 0x4288d9
call fcn.004280c0
mov dword [esi], vtable.XFTPSession.0
mov dword [esi + 0x18], ebx
jmp 0x4288db
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x30], 0
je 0x428918
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [ebp - 0x50]
push edx
movzx edx, word [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x5c]
push edx
call eax
test eax, eax
je 0x428918
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004310e1
mov edx, dword [ebp - 0x50]
push edx
call fcn.004310e1
mov eax, dword [ebp - 0x48]
push eax
call fcn.004310e1
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x428947
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004310e1
add esp, 4
mov eax, dword [ebp - 0x30]
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.005320a3
mov esp, ebp
pop ebp
ret