Function at 0x46754c
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x55
push 0
push 0
dec ecx
jne 0x467555
push ecx
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.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
xor eax, eax
push ebp
push 0x467bfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov byte [ebp + 8], 0
mov eax, dword [ebx + 0xa0]
call fcn.00416484
dec eax
jle 0x467629
lea edx, [ebp - 0x26c]
mov eax, dword [ebx + 0x34]
call fcn.00409140
push dword [ebp - 0x26c]
push 0x467c18
push dword [ebx + 0x10c]
push 0x467c18
mov eax, dword [ebx + 0xa0]
call fcn.0046be38
lea edx, [ebp - 0x270]
call fcn.00409140
push dword [ebp - 0x270]
push 0x467c24
lea eax, [ebp - 0x268]
mov edx, 6
call fcn.004052d8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebx + 0x48]
call fcn.00440004
jmp 0x467633
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.00440004
cmp byte [ebx + 0x11e], 0
je 0x46769f
push dword [ebx + 0x7c]
push 0x467c18
lea edx, [ebp - 0x278]
mov eax, dword [ebx + 0x48]
call fcn.0043ffd4
push dword [ebp - 0x278]
lea edx, [ebp - 0x27c]
mov eax, dword [ebp + 0x20]
call fcn.00464668
push dword [ebp - 0x27c]
push 0x467c18
push dword [ebx + 0x110]
push 0x467c18
push dword [ebp + 0x28]
lea eax, [ebp - 0x274]
mov edx, 8
call fcn.004052d8
mov edx, dword [ebp - 0x274]
mov eax, dword [ebx + 0x48]
call fcn.00440004
jmp 0x4676ed
push dword [ebx + 0x7c]
push 0x467c18
lea edx, [ebp - 0x284]
mov eax, dword [ebx + 0x48]
call fcn.0043ffd4
push dword [ebp - 0x284]
lea edx, [ebp - 0x288]
mov eax, dword [ebp + 0x20]
call fcn.00464668
push dword [ebp - 0x288]
lea eax, [ebp - 0x280]
mov edx, 4
call fcn.004052d8
mov edx, dword [ebp - 0x280]
mov eax, dword [ebx + 0x48]
call fcn.00440004
cmp byte [ebx + 0x11a], 0
je 0x4676fd
mov esi, 0x8000000
jmp 0x4676ff
xor esi, esi
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
cmp dword [ebp - 4], 0
je 0x467717
cmp dword [ebp + 0x2c], 0
jne 0x46773f
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 dword [ebp - 0x14], eax
jmp 0x467773
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 dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4677d6
cmp word [ebx + 0xaa], 0
je 0x467796
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
cmp word [ebx + 0xb2], 0
je 0x467b81
lea eax, [ebp - 0x28c]
mov ecx, dword [ebp + 0x28]
mov edx, 0x467c30
call fcn.0040525c
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
jmp 0x467b81
cmp byte [ebp + 8], 0
mov byte [ebp - 0x1d], 0
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
mov edx, dword [ebp + 0x20]
mov eax, 0x467c58
call fcn.00405520
test eax, eax
jle 0x46782a
movzx eax, byte [0x467c5c]
push eax
lea eax, [ebp - 0x290]
push eax
mov ecx, 0x467c68
mov edx, 0x467c58
mov eax, dword [ebp + 0x20]
call fcn.0040e12c
mov edx, dword [ebp - 0x290]
lea eax, [ebp + 0x20]
call fcn.00404fdc
mov edx, dword [ebp + 0x20]
mov eax, 0x467c68
call fcn.00405520
test eax, eax
jle 0x4678ba
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 0x20]
call fcn.00404fdc
jmp 0x46785f
mov eax, dword [ebp - 0xc]
call fcn.00405204
mov edx, eax
lea eax, [ebp - 0xc]
mov ecx, 1
call fcn.0040547c
mov eax, dword [ebp - 0xc]
call fcn.00405204
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x2f
je 0x46787d
mov eax, dword [ebp - 0xc]
call fcn.00405204
test eax, eax
jg 0x467848
mov eax, dword [ebp - 0xc]
call fcn.00405204
test eax, eax
jle 0x4678ba
mov dword [ebp - 0x1c], 0xff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_FtpGetCurrentDirectoryA
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0xc]
call fcn.004053d4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
lea edx, [ebp - 8]
mov eax, dword [ebp + 0x20]
call fcn.00464668
push 0
push 0x80000000
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 8]
call fcn.004053d4
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_FtpFindFirstFileA
mov dword [ebp - 0x18], eax
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
cmp dword [eax + 0x60], 0
je 0x467910
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x60]
call fcn.00404118
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
cmp dword [eax + 0x64], 0
je 0x467938
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x64]
call fcn.00404118
mov dl, 1
mov eax, dword [0x4137b8]
call fcn.004040e8
mov esi, eax
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov dword [eax + 0x60], esi
mov dl, 1
mov eax, dword [0x46366c]
call fcn.0046c0b4
mov esi, eax
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov dword [eax + 0x64], esi
cmp dword [ebp - 0x18], 0
je 0x467b1a
lea edx, [ebp - 0x294]
lea eax, [ebp - 0x138]
call fcn.00409e24
mov eax, dword [ebp - 0x294]
push eax
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x60]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x64]
call fcn.0046c0a8
mov esi, eax
lea edx, [ebp - 0x298]
lea eax, [ebp - 0x138]
call fcn.00409e24
mov edx, dword [ebp - 0x298]
lea eax, [esi + 0x10]
call fcn.00404f98
mov eax, dword [ebp - 0x164]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14c]
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x467af9
lea edx, [ebp - 0x29c]
lea eax, [ebp - 0x138]
call fcn.00409e24
mov eax, dword [ebp - 0x29c]
push eax
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x60]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, edi
mov eax, dword [ebx + 0xa0]
call fcn.0046be70
mov eax, dword [eax + 0x64]
call fcn.0046c0a8
mov esi, eax
lea edx, [ebp - 0x2a0]
lea eax, [ebp - 0x138]
call fcn.00409e24
mov edx, dword [ebp - 0x2a0]
lea eax, [esi + 0x10]
call fcn.00404f98
mov eax, dword [ebp - 0x164]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14c]
mov dword [esi + 0x20], eax
lea edx, [ebp - 0x2a8]
mov eax, dword [ebp - 0x24]
inc eax
call fcn.00409140
push dword [ebp - 0x2a8]
push 0x467c18
lea edx, [ebp - 0x2ac]
lea eax, [ebp - 0x138]
call fcn.00409e24
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x2a4]
mov eax, dword [ebx + 0x48]
call fcn.00440004
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetFindNextFileA
test eax, eax
jne 0x467a19
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [ebp + 8], 0
jne 0x467b36
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
jmp 0x467b7d
cmp byte [ebp - 0x1d], 0
je 0x467b7d
lea eax, [ebp - 0x2b0]
lea edx, [ebp - 0x264]
mov ecx, pe_nt_image_headers32
call fcn.004051b4
cmp dword [ebp - 0x2b0], 0
jne 0x467b6d
mov esi, 0x467c6c
lea edi, [ebp - 0x264]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467c03
lea eax, [ebp - 0x2b0]
mov edx, 0xb
call fcn.00404f68
lea eax, [ebp - 0x284]
call fcn.00404f44
lea eax, [ebp - 0x280]
mov edx, 2
call fcn.00404f68
lea eax, [ebp - 0x278]
call fcn.00404f44
lea eax, [ebp - 0x274]
mov edx, 4
call fcn.00404f68
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f68
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404f68
lea eax, [ebp + 0x28]
mov edx, 2
call fcn.00404f68
ret