Function at 0x4628bc
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4628c5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d04
mov eax, dword [ebp + 0x20]
call fcn.00404d04
mov eax, dword [ebp + 0x1c]
call fcn.00404d04
mov eax, dword [ebp + 0x14]
call fcn.00404d04
mov eax, dword [ebp + 0x10]
call fcn.00404d04
mov eax, dword [ebp + 0xc]
call fcn.00404d04
xor eax, eax
push ebp
push 0x462c7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov edx, 0x102
mov eax, dword [ebx + 0x64]
call fcn.0045af10
mov edx, dword [0x46e668]
mov eax, dword [ebx + 0x64]
call fcn.0045aebc
mov dl, 1
mov eax, dword [ebx + 0x64]
call fcn.0045ac80
mov eax, dword [ebx + 0x94]
call fcn.00419014
dec eax
jle 0x4629a1
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x34]
call fcn.00408da0
push dword [ebp - 0x14]
push 0x462c98
push dword [ebx + 0x104]
push 0x462c98
mov eax, dword [ebx + 0x94]
call fcn.00463e34
lea edx, [ebp - 0x18]
call fcn.00408da0
push dword [ebp - 0x18]
push 0x462ca4
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404bd4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x48]
call fcn.0044d738
jmp 0x4629ab
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044d738
push dword [ebx + 0x78]
push 0x462c98
lea edx, [ebp - 0x20]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044d708
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 0x14]
call fcn.0045cd64
push dword [ebp - 0x24]
push 0x462c98
push dword [ebx + 0x10c]
push 0x462c98
push dword [ebp + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 8
call fcn.00404bd4
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0044d738
cmp byte [ebx + 0x112], 0
je 0x462a0b
mov esi, 0x8000000
jmp 0x462a0d
xor esi, esi
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
push dword [ebp + 0x1c]
push dword [ebp - 4]
push dword [ebp + 0x20]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x158]
call fcn.00404c60
jne 0x462a47
mov esi, dword [ebx + 0x154]
jmp 0x462ab8
lea eax, [ebx + 0x15c]
call fcn.00404854
cmp dword [ebp - 4], 0
je 0x462a5e
cmp dword [ebp + 0x20], 0
jne 0x462a85
push 0
push esi
push 1
push 0
push 0
mov ax, word [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.00404d14
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov esi, eax
jmp 0x462ab8
push 0
push esi
push 1
mov eax, dword [ebp + 0x20]
call fcn.00404d14
push eax
mov eax, dword [ebp - 4]
call fcn.00404d14
push eax
mov ax, word [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.00404d14
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov esi, eax
test esi, esi
jne 0x462b13
cmp word [ebx + 0xa2], 0
je 0x462ad9
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x462c2a
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp + 0x1c]
mov edx, 0x462cb0
call fcn.00404b60
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x462c2a
cmp byte [ebp + 8], 0
je 0x462b38
mov dword [ebx + 0x154], esi
push dword [ebp + 0x1c]
push dword [ebp - 4]
push dword [ebp + 0x20]
lea eax, [ebx + 0x158]
mov edx, 3
call fcn.00404bd4
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
cmp dword [ebp + 0x10], 0
je 0x462b92
mov eax, dword [ebp + 0x10]
mov edx, dword [ebx + 0x15c]
call fcn.00404c60
je 0x462b92
cmp byte [ebp + 8], 0
je 0x462b70
lea eax, [ebx + 0x15c]
mov edx, dword [ebp + 0x10]
call fcn.004048a8
jmp 0x462b7b
lea eax, [ebx + 0x15c]
call fcn.00404854
mov eax, dword [ebp + 0x10]
call fcn.00404d14
push eax
push esi
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
je 0x462c2a
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 0x14]
call fcn.004048ec
cmp dword [ebp + 0xc], 0
jne 0x462bba
lea edx, [ebp + 0xc]
mov eax, dword [ebp + 0x14]
call fcn.0045cd64
mov eax, dword [ebp + 0xc]
call fcn.00404d14
push eax
push esi
call sub.wininet.dll_FtpDeleteFileA
test eax, eax
je 0x462be9
cmp word [ebx + 0x16a], 0
je 0x462c03
mov ecx, edi
mov edx, ebx
mov eax, dword [ebx + 0x16c]
call dword [ebx + 0x168]
jmp 0x462c03
cmp word [ebx + 0x172], 0
je 0x462c03
mov ecx, edi
mov edx, ebx
mov eax, dword [ebx + 0x174]
call dword [ebx + 0x170]
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
cmp byte [ebp + 8], 0
jne 0x462c26
push esi
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x158]
call fcn.00404854
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c83
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404878
lea eax, [ebp - 0x20]
call fcn.00404854
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404878
lea eax, [ebp - 4]
call fcn.00404854
lea eax, [ebp + 0xc]
mov edx, 3
call fcn.00404878
lea eax, [ebp + 0x1c]
mov edx, 2
call fcn.00404878
ret