Function at 0x471a64
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x5a
push 0
push 0
dec ecx
jne 0x471a6d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f44
mov eax, dword [ebp + 0x2c]
call fcn.00404f44
mov eax, dword [ebp + 0x28]
call fcn.00404f44
mov eax, dword [ebp + 0x20]
call fcn.00404f44
mov eax, dword [ebp + 0x1c]
call fcn.00404f44
mov eax, dword [ebp + 0x18]
call fcn.00404f44
xor eax, eax
push ebp
push 0x472162
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [ebp + 8], 1
mov eax, dword [ebx + 0x94]
call fcn.0041ab50
dec eax
jle 0x471b3f
lea edx, [ebp - 0x27c]
mov eax, dword [ebx + 0x34]
call fcn.00408eb0
push dword [ebp - 0x27c]
push 0x472180
push dword [ebx + 0xfc]
push 0x472180
mov eax, dword [ebx + 0x94]
call fcn.00475324
lea edx, [ebp - 0x280]
call fcn.00408eb0
push dword [ebp - 0x280]
push 0x47218c
lea eax, [ebp - 0x278]
mov edx, 6
call fcn.00404e14
mov edx, dword [ebp - 0x278]
mov eax, dword [ebx + 0x48]
call fcn.0044c614
jmp 0x471b49
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044c614
cmp byte [ebx + 0x10d], 0
je 0x471bb6
push dword [ebx + 0x78]
push 0x472180
lea edx, [ebp - 0x288]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044c5e4
push dword [ebp - 0x288]
lea edx, [ebp - 0x28c]
mov eax, dword [ebp + 0x20]
call fcn.0046ef68
push dword [ebp - 0x28c]
push 0x472180
push dword [ebx + 0x100]
push 0x472180
push dword [ebp + 0x28]
lea eax, [ebp - 0x284]
mov edx, 8
call fcn.00404e14
mov edx, dword [ebp - 0x284]
mov eax, esi
call fcn.0044c614
jmp 0x471c05
push dword [ebx + 0x78]
push 0x472180
lea edx, [ebp - 0x294]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044c5e4
push dword [ebp - 0x294]
lea edx, [ebp - 0x298]
mov eax, dword [ebp + 0x20]
call fcn.0046ef68
push dword [ebp - 0x298]
lea eax, [ebp - 0x290]
mov edx, 4
call fcn.00404e14
mov edx, dword [ebp - 0x290]
mov eax, esi
call fcn.0044c614
cmp byte [ebx + 0x10a], 0
je 0x471c15
mov esi, 0x8000000
jmp 0x471c17
xor esi, esi
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
cmp dword [ebp - 4], 0
je 0x471c2f
cmp dword [ebp + 0x2c], 0
jne 0x471c57
push 0
push esi
push 1
push 0
push 0
mov ax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404f54
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0xc], eax
jmp 0x471c8b
push 0
push esi
push 1
mov eax, dword [ebp + 0x2c]
call fcn.00404f54
push eax
mov eax, dword [ebp - 4]
call fcn.00404f54
push eax
mov ax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404f54
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x471cee
cmp word [ebx + 0xa2], 0
je 0x471cae
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x4720a9
lea eax, [ebp - 0x29c]
mov ecx, dword [ebp + 0x28]
mov edx, 0x472198
call fcn.00404da0
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x4720a9
cmp byte [ebp + 8], 0
je 0x471d16
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x14c], eax
push dword [ebp + 0x28]
push dword [ebp - 4]
push dword [ebp + 0x2c]
lea eax, [ebx + 0x150]
mov edx, 3
call fcn.00404e14
mov byte [ebp - 0x1d], 0
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
mov edx, dword [ebp + 0x20]
mov eax, 0x4721c0
call fcn.00405098
test eax, eax
jle 0x471d64
mov al, byte [0x4721c4]
push eax
lea eax, [ebp - 0x2a0]
push eax
mov ecx, 0x4721d0
mov edx, 0x4721c0
mov eax, dword [ebp + 0x20]
call fcn.0040e204
mov edx, dword [ebp - 0x2a0]
lea eax, [ebp + 0x20]
call fcn.00404b2c
mov edx, dword [ebp + 0x20]
mov eax, 0x4721d0
call fcn.00405098
test eax, eax
jle 0x471df4
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 0x20]
call fcn.00404b2c
jmp 0x471d99
mov eax, dword [ebp - 0x18]
call fcn.00404d54
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00404ff4
mov eax, dword [ebp - 0x18]
call fcn.00404d54
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x2f
je 0x471db7
mov eax, dword [ebp - 0x18]
call fcn.00404d54
test eax, eax
jg 0x471d82
mov eax, dword [ebp - 0x18]
call fcn.00404d54
test eax, eax
jle 0x471df4
mov dword [ebp - 0x1c], 0xff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FtpGetCurrentDirectoryA
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0x18]
call fcn.00404f54
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 0x20]
call fcn.0046ef68
push 0
push 0
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404f54
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FtpFindFirstFileA
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x417b08]
call fcn.00403bf8
mov esi, eax
cmp dword [ebp - 0x10], 0
je 0x471e8e
lea edx, [ebp - 0x2a4]
lea eax, [ebp - 0x148]
call fcn.0040997c
mov edx, dword [ebp - 0x2a4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x471e71
lea edx, [ebp - 0x2a8]
lea eax, [ebp - 0x148]
call fcn.0040997c
mov edx, dword [ebp - 0x2a8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetFindNextFileA
test eax, eax
jne 0x471e53
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47203b
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x471f14
lea edx, [ebp - 0x2b0]
mov eax, dword [ebp - 0x24]
inc eax
call fcn.00408eb0
push dword [ebp - 0x2b0]
push 0x472180
push dword [ebx + 0xfc]
push 0x472180
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x2b4]
call fcn.00408eb0
push dword [ebp - 0x2b4]
push 0x47218c
lea eax, [ebp - 0x2ac]
mov edx, 6
call fcn.00404e14
mov edx, dword [ebp - 0x2ac]
mov eax, dword [ebx + 0x48]
call fcn.0044c614
cmp byte [ebx + 0x10d], 0
je 0x471f82
push dword [ebx + 0x78]
push 0x472180
lea edx, [ebp - 0x2bc]
mov eax, dword [ebx + 0x48]
call fcn.0044c5e4
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2c0]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x2c0]
push 0x472180
push dword [ebx + 0x100]
push 0x472180
push dword [ebp + 0x28]
lea eax, [ebp - 0x2b8]
mov edx, 8
call fcn.00404e14
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebx + 0x48]
call fcn.0044c614
jmp 0x471fd2
push dword [ebx + 0x78]
push 0x472180
lea edx, [ebp - 0x2c8]
mov eax, dword [ebx + 0x48]
call fcn.0044c5e4
push dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2cc]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c4]
mov edx, 4
call fcn.00404e14
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebx + 0x48]
call fcn.0044c614
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2d0]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2d0]
push eax
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x2d4]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2d4]
push eax
mov al, byte [ebp + 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov al, byte [ebp + 8]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.004722d4
inc dword [ebp - 0x24]
dec dword [ebp - 0x34]
jne 0x471ea9
mov eax, esi
call fcn.00403c28
cmp byte [ebp + 8], 0
jne 0x47205e
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
jmp 0x4720a5
cmp byte [ebp - 0x1d], 0
je 0x4720a5
lea eax, [ebp - 0x2d8]
lea edx, [ebp - 0x274]
mov ecx, pe_nt_image_headers32
call fcn.00404d04
cmp dword [ebp - 0x2d8], 0
jne 0x472095
mov esi, 0x4721d4
lea edi, [ebp - 0x274]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47216c
lea eax, [ebp - 0x2d8]
mov edx, 4
call fcn.00404ab8
lea eax, [ebp - 0x2c8]
call fcn.00404a94
lea eax, [ebp - 0x2c4]
mov edx, 2
call fcn.00404ab8
lea eax, [ebp - 0x2bc]
call fcn.00404a94
lea eax, [ebp - 0x2b8]
mov edx, 9
call fcn.00404ab8
lea eax, [ebp - 0x294]
call fcn.00404a94
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.00404ab8
lea eax, [ebp - 0x288]
call fcn.00404a94
lea eax, [ebp - 0x284]
mov edx, 4
call fcn.00404ab8
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404ab8
lea eax, [ebp - 4]
call fcn.00404a94
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404ab8
lea eax, [ebp + 0x28]
mov edx, 2
call fcn.00404ab8
ret