Function at 0x469340
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x54
push 0
push 0
dec ecx
jne 0x469349
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x17c], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004053c4
mov eax, dword [ebp + 0x2c]
call fcn.004053c4
mov eax, dword [ebp + 0x28]
call fcn.004053c4
mov eax, dword [ebp + 0x20]
call fcn.004053c4
mov eax, dword [ebp + 0x1c]
call fcn.004053c4
mov eax, dword [ebp + 0x18]
call fcn.004053c4
lea eax, [ebp - 0x178]
mov edx, dword [0x407df0]
call fcn.004059b4
xor eax, eax
push ebp
push 0x469874
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [ebp - 0x17d], 0
mov edx, 0x102
mov eax, dword [ebx + 0x68]
call fcn.00462c4c
mov edx, dword [0x4737f4]
mov eax, dword [ebx + 0x68]
call fcn.00462c08
mov dl, 1
mov eax, dword [ebx + 0x68]
call fcn.00462994
mov eax, dword [ebx + 0xa0]
call fcn.00416484
dec eax
jle 0x469455
lea edx, [ebp - 0x28c]
mov eax, dword [ebx + 0x34]
call fcn.00409140
push dword [ebp - 0x28c]
push 0x469894
push dword [ebx + 0x10c]
push 0x469894
mov eax, dword [ebx + 0xa0]
call fcn.0046be38
lea edx, [ebp - 0x290]
call fcn.00409140
push dword [ebp - 0x290]
push 0x4698a0
lea eax, [ebp - 0x288]
mov edx, 6
call fcn.004052d8
mov edx, dword [ebp - 0x288]
mov eax, dword [ebx + 0x48]
call fcn.00440004
jmp 0x46945f
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.00440004
push dword [ebx + 0x7c]
push 0x469894
lea edx, [ebp - 0x298]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0043ffd4
push dword [ebp - 0x298]
lea edx, [ebp - 0x29c]
mov eax, dword [ebp + 0x20]
call fcn.00464668
push dword [ebp - 0x29c]
push 0x469894
push dword [ebx + 0x114]
push 0x469894
push dword [ebp + 0x28]
lea eax, [ebp - 0x294]
mov edx, 8
call fcn.004052d8
mov edx, dword [ebp - 0x294]
mov eax, esi
call fcn.00440004
cmp byte [ebx + 0x11a], 0
je 0x4694d1
mov esi, 0x8000000
jmp 0x4694d3
xor esi, esi
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
lea eax, [ebx + 0x164]
call fcn.00404f44
cmp dword [ebp - 4], 0
je 0x4694f6
cmp dword [ebp + 0x2c], 0
jne 0x46951d
push 0
push esi
push 1
push 0
push 0
movzx eax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.004053d4
push eax
mov eax, dword [ebx + 0xa4]
push eax
call sub.wininet.dll_InternetConnectA
mov esi, eax
jmp 0x469550
push 0
push esi
push 1
mov eax, dword [ebp + 0x2c]
call fcn.004053d4
push eax
mov eax, dword [ebp - 4]
call fcn.004053d4
push eax
movzx eax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.004053d4
push eax
mov eax, dword [ebx + 0xa4]
push eax
call sub.wininet.dll_InternetConnectA
mov esi, eax
test esi, esi
jne 0x4695b1
cmp word [ebx + 0xaa], 0
je 0x469571
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
cmp word [ebx + 0xb2], 0
je 0x469803
lea eax, [ebp - 0x2a0]
mov ecx, dword [ebp + 0x28]
mov edx, 0x4698ac
call fcn.0040525c
mov eax, dword [ebp - 0x2a0]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
jmp 0x469803
cmp byte [ebp + 8], 0
je 0x4695d6
mov dword [ebx + 0x15c], esi
push dword [ebp + 0x28]
push dword [ebp - 4]
push dword [ebp + 0x2c]
lea eax, [ebx + 0x160]
mov edx, 3
call fcn.004052d8
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
cmp byte [ebp + 8], 0
je 0x4695f8
lea eax, [ebx + 0x164]
mov edx, dword [ebp + 0x1c]
call fcn.00404f98
jmp 0x469603
lea eax, [ebx + 0x164]
call fcn.00404f44
mov dword [ebp - 0x184], 0xff
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x284]
push eax
push esi
call sub.wininet.dll_FtpGetCurrentDirectoryA
mov eax, dword [ebp + 0x1c]
call fcn.004053d4
push eax
push esi
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x469708
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.0046451c
lea eax, [ebx + 0x164]
call fcn.00404f44
mov edx, dword [ebp - 0x10]
mov eax, 0x4698d4
call fcn.00405520
test eax, eax
jle 0x46969e
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4698d4
call fcn.00405520
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040543c
mov edx, dword [ebp - 0x10]
mov eax, 0x4698d4
call fcn.00405520
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.0040547c
jmp 0x4696b1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404fdc
lea eax, [ebp - 0x10]
call fcn.00404f44
cmp dword [ebp - 0x14], 0
je 0x4696fe
mov eax, dword [ebp - 0x14]
call fcn.004053d4
mov edi, eax
push edi
push esi
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x4696fe
push edi
push esi
call sub.wininet.dll_FtpCreateDirectoryA
test eax, eax
jne 0x4696f7
cmp byte [ebp + 8], 0
jne 0x469803
push esi
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
jmp 0x469803
push edi
push esi
call sub.wininet.dll_FtpSetCurrentDirectoryA
cmp dword [ebp - 0x10], 0
jne 0x46964e
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
lea eax, [ebp - 8]
mov edx, dword [ebp + 0x20]
call fcn.00404fdc
cmp dword [ebp + 0x18], 0
jne 0x469730
lea edx, [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00464668
lea ecx, [ebp - 0x178]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.0040984c
test eax, eax
jne 0x4697eb
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x164]
call fcn.00409a98
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
lea edx, [ebp - 0x2a4]
mov eax, dword [ebp - 8]
call fcn.00409a10
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 0xc]
call fcn.00405210
mov eax, dword [ebp - 0x2a4]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
movzx eax, byte [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x17c]
mov eax, ebx
call fcn.004698d8
cmp word [ebx + 0xfa], 0
je 0x4697cd
mov ecx, dword [ebp - 0x164]
mov edx, ebx
mov eax, dword [ebx + 0xfc]
call dword [ebx + 0xf8]
lea eax, [ebp - 0x178]
call fcn.0040989c
test eax, eax
je 0x46974b
lea eax, [ebp - 0x178]
call fcn.004098c0
push esi
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
mov byte [ebp - 0x17d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46987b
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.00404f68
lea eax, [ebp - 0x298]
call fcn.00404f44
lea eax, [ebp - 0x294]
mov edx, 4
call fcn.00404f68
lea eax, [ebp - 0x178]
mov edx, dword [0x407df0]
call fcn.00405a84
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404f68
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404f68
lea eax, [ebp + 0x28]
mov edx, 2
call fcn.00404f68
ret