Function at 0x461cf8
Capabilities:
Connect to http server
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x286
push 0
push 0
dec ecx
jne 0x461d01
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
call fcn.00404d04
mov eax, dword [ebp + 0x2c]
call fcn.00404d04
mov eax, dword [ebp + 0x28]
call fcn.00404d04
mov eax, dword [ebp + 0x20]
call fcn.00404d04
mov eax, dword [ebp + 0x1c]
call fcn.00404d04
mov eax, dword [ebp + 0x18]
call fcn.00404d04
xor eax, eax
push ebp
push 0x462722
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi], 0
mov byte [ebp - 9], 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 0x461df6
lea edx, [ebp - 0x13d8]
mov eax, dword [ebx + 0x34]
call fcn.00408da0
push dword [ebp - 0x13d8]
push 0x462740
push dword [ebx + 0x104]
push 0x462740
mov eax, dword [ebx + 0x94]
call fcn.00463e34
lea edx, [ebp - 0x13dc]
call fcn.00408da0
push dword [ebp - 0x13dc]
push 0x46274c
lea eax, [ebp - 0x13d4]
mov edx, 6
call fcn.00404bd4
mov edx, dword [ebp - 0x13d4]
mov eax, dword [ebx + 0x48]
call fcn.0044d738
jmp 0x461e00
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044d738
push dword [ebx + 0x78]
push 0x462740
lea edx, [ebp - 0x13e4]
mov edi, dword [ebx + 0x48]
mov eax, edi
call fcn.0044d708
push dword [ebp - 0x13e4]
lea edx, [ebp - 0x13e8]
mov eax, dword [ebp + 0x20]
call fcn.0045cd64
push dword [ebp - 0x13e8]
push 0x462740
push dword [ebx + 0x10c]
push 0x462740
push dword [ebp + 0x28]
lea eax, [ebp - 0x13e0]
mov edx, 8
call fcn.00404bd4
mov edx, dword [ebp - 0x13e0]
mov eax, edi
call fcn.0044d738
cmp byte [ebx + 0x112], 0
je 0x461e72
mov edi, 0x8000000
jmp 0x461e74
xor edi, edi
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
push dword [ebp + 0x28]
push dword [ebp - 8]
push dword [ebp + 0x2c]
lea eax, [ebp - 0x13ec]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x13ec]
mov eax, dword [ebx + 0x158]
call fcn.00404c60
jne 0x461eb7
mov eax, dword [ebx + 0x154]
mov dword [ebp - 0x10], eax
jmp 0x461f2a
lea eax, [ebx + 0x15c]
call fcn.00404854
cmp dword [ebp - 8], 0
je 0x461ece
cmp dword [ebp + 0x2c], 0
jne 0x461ef6
push 0
push edi
push 1
push 0
push 0
mov ax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404d14
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
jmp 0x461f2a
push 0
push edi
push 1
mov eax, dword [ebp + 0x2c]
call fcn.00404d14
push eax
mov eax, dword [ebp - 8]
call fcn.00404d14
push eax
mov ax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404d14
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x461f8d
cmp word [ebx + 0xa2], 0
je 0x461f4d
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x4626a2
lea eax, [ebp - 0x13f0]
mov ecx, dword [ebp + 0x28]
mov edx, 0x462758
call fcn.00404b60
mov eax, dword [ebp - 0x13f0]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x4626a2
cmp byte [ebp + 8], 0
je 0x461fb5
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x154], eax
push dword [ebp + 0x28]
push dword [ebp - 8]
push dword [ebp + 0x2c]
lea eax, [ebx + 0x158]
mov edx, 3
call fcn.00404bd4
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
cmp byte [ebp + 8], 0
je 0x461fd7
lea eax, [ebx + 0x15c]
mov edx, dword [ebp + 0x1c]
call fcn.004048a8
jmp 0x461fe2
lea eax, [ebx + 0x15c]
call fcn.00404854
mov dword [ebp - 0x44], 0xff
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x13d0]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpGetCurrentDirectoryA
cmp dword [ebp + 0x1c], 0
setne byte [ebp - 0x3d]
mov eax, dword [ebp + 0x1c]
call fcn.00404d14
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x4620fb
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 0x1c]
call fcn.0045cc18
lea eax, [ebx + 0x15c]
call fcn.00404854
mov edx, dword [ebp - 0x38]
mov eax, 0x462780
call fcn.00404e58
test eax, eax
jle 0x462085
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x38]
mov eax, 0x462780
call fcn.00404e58
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.00404d74
mov edx, dword [ebp - 0x38]
mov eax, 0x462780
call fcn.00404e58
mov ecx, eax
lea eax, [ebp - 0x38]
mov edx, 1
call fcn.00404db4
jmp 0x462098
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
call fcn.004048ec
lea eax, [ebp - 0x38]
call fcn.00404854
cmp dword [ebp - 0x3c], 0
je 0x4620f1
mov eax, dword [ebp - 0x3c]
call fcn.00404d14
mov edi, eax
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x4620f1
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpCreateDirectoryA
test eax, eax
jne 0x4620e7
cmp byte [ebp + 8], 0
jne 0x4626a2
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x158]
call fcn.00404854
jmp 0x4626a2
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
cmp dword [ebp - 0x38], 0
jne 0x462035
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0x20]
call fcn.004048ec
cmp dword [ebp + 0x18], 0
jne 0x462123
lea edx, [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.0045cd64
cmp byte [ebp + 0x14], 0
jne 0x462137
cmp word [ebx + 0x14a], 0
je 0x462238
push 0
push 0
lea eax, [ebp - 0x12d0]
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404d14
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpFindFirstFileA
test eax, eax
je 0x462238
mov byte [ebp - 0x31], 1
cmp word [ebx + 0xe2], 0
je 0x46217f
lea eax, [ebp - 0x31]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, ebx
mov eax, dword [ebx + 0xe4]
call dword [ebx + 0xe0]
cmp byte [ebp - 0x31], 0
je 0x46263f
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x12bc]
call fcn.0045cc98
cmp word [ebx + 0x14a], 0
je 0x4621da
mov byte [ebp - 0x31], 1
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x31]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x14c]
call dword [ebx + 0x148]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
cmp byte [ebp - 0x31], 0
je 0x46263f
jmp 0x46222a
fld qword [ebp - 0x30]
mov eax, dword [ebp + 0x10]
fcomp qword [eax]
fnstsw ax
sahf
jbe 0x46222a
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov byte [esi], 1
cmp word [ebx + 0x12a], 0
je 0x46263f
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov ecx, dword [ebp + 0x18]
mov edx, ebx
mov eax, dword [ebx + 0x12c]
call dword [ebx + 0x128]
jmp 0x46263f
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
push 0
push 2
push 0x40000000
mov eax, dword [ebp + 0x18]
call fcn.00404d14
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpOpenFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x46229a
cmp word [ebx + 0xd2], 0
je 0x462277
mov ecx, dword [ebp + 0x20]
mov edx, ebx
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
cmp byte [ebp + 8], 0
jne 0x4626a2
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x158]
call fcn.00404854
jmp 0x4626a2
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
lea eax, [ebx + 0x68]
mov edx, dword [ebp - 0x20]
call fcn.004048a8
lea eax, [ebx + 0x6c]
mov edx, dword [ebp + 0x1c]
call fcn.004048a8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1190]
call fcn.00402fd4
mov edx, 1
lea eax, [ebp - 0x1190]
call fcn.00403448
lea eax, [ebp - 0x1190]
call fcn.004032d4
call fcn.00402c2c
mov dword [ebp - 0x24], eax
call fcn.00402cac
test eax, eax
je 0x462395
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [ebp + 8], 0
jne 0x46231d
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x158]
call fcn.00404854
cmp word [ebx + 0xd2], 0
je 0x462338
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
cmp word [ebx + 0xa2], 0
je 0x462355
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x4626a2
lea eax, [ebp - 0x13f4]
mov ecx, dword [ebp - 0x20]
mov edx, 0x46278c
call fcn.00404b60
mov eax, dword [ebp - 0x13f4]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x4626a2
mov dword [ebp - 0x18], 0x1000
xor esi, esi
mov byte [ebx + 0x38], 0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
jmp 0x462612
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x1044]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1190]
call fcn.0040312c
call fcn.00402c2c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1044]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetWriteFile
test eax, eax
je 0x462622
add esi, dword [ebp - 0x18]
cmp dword [ebp - 0x24], 0
jbe 0x4624a6
mov dword [ebp - 0x13fc], esi
xor eax, eax
mov dword [ebp - 0x13f8], eax
fild qword [ebp - 0x13fc]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1404], eax
xor eax, eax
mov dword [ebp - 0x1400], eax
fild qword [ebp - 0x1404]
fdivp st(1)
fmul dword [0x4627a8]
call fcn.00402d30
mov edx, eax
mov eax, dword [ebx + 0x44]
call fcn.0045a414
push dword [ebx + 0x7c]
push 0x462740
lea edx, [ebp - 0x140c]
mov eax, esi
call fcn.0045ce28
push dword [ebp - 0x140c]
push 0x462740
push dword [ebx + 0x104]
push 0x462740
lea edx, [ebp - 0x1410]
mov eax, dword [ebp - 0x24]
call fcn.0045ce28
push dword [ebp - 0x1410]
lea eax, [ebp - 0x1408]
mov edx, 7
call fcn.00404bd4
mov edx, dword [ebp - 0x1408]
mov eax, dword [ebx + 0x4c]
call fcn.0044d738
jmp 0x4624df
push dword [ebx + 0x7c]
push 0x462740
lea edx, [ebp - 0x1418]
mov eax, esi
call fcn.0045ce28
push dword [ebp - 0x1418]
lea eax, [ebp - 0x1414]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x1414]
mov eax, dword [ebx + 0x4c]
call fcn.0044d738
cmp word [ebx + 0xea], 0
je 0x4624ff
push esi
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebx + 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xec]
call dword [ebx + 0xe8]
cmp byte [ebx + 0x114], 0
je 0x462552
push dword [ebx + 0x74]
push 0x46274c
mov eax, dword [ebx + 0x44]
call fcn.0045a264
lea edx, [ebp - 0x1420]
call fcn.00408da0
push dword [ebp - 0x1420]
push 0x4627b4
push dword [ebx + 0x118]
lea eax, [ebp - 0x141c]
mov edx, 5
call fcn.00404bd4
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebx + 0x3c]
call fcn.0044d738
push dword [ebx + 0x80]
push 0x462740
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x13fc], eax
xor eax, eax
mov dword [ebp - 0x13f8], eax
fild qword [ebp - 0x13fc]
mov dword [ebp - 0x1404], esi
xor eax, eax
mov dword [ebp - 0x1400], eax
fild qword [ebp - 0x1404]
fdivrp st(1)
fmul dword [0x4627b8]
call fcn.00402d30
lea edx, [ebp - 0x1428]
call fcn.0045cf7c
push dword [ebp - 0x1428]
lea eax, [ebp - 0x1424]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x1424]
mov eax, dword [ebx + 0x50]
call fcn.0044d738
push dword [ebx + 0x84]
push 0x462740
lea eax, [ebp - 0x1430]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.0045d0d0
push dword [ebp - 0x1430]
lea eax, [ebp - 0x142c]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x142c]
mov eax, dword [ebx + 0x54]
call fcn.0044d738
cmp dword [ebp - 0x18], 0
jbe 0x462622
cmp byte [ebx + 0x38], 0
je 0x4623af
lea eax, [ebp - 0x1190]
call fcn.0040316c
call fcn.00402c2c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov byte [ebp - 9], 1
cmp byte [ebp + 8], 0
jne 0x46265b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x158]
call fcn.00404854
jmp 0x4626a2
cmp byte [ebp - 0x3d], 0
je 0x4626a2
lea eax, [ebp - 0x1434]
lea edx, [ebp - 0x13d0]
mov ecx, pe_nt_image_headers32
call fcn.00404ac4
cmp dword [ebp - 0x1434], 0
jne 0x462692
mov esi, 0x4627bc
lea edi, [ebp - 0x13d0]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x13d0]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462729
lea eax, [ebp - 0x1434]
mov edx, 0xc
call fcn.00404878
lea eax, [ebp - 0x13f4]
mov edx, 4
call fcn.00404878
lea eax, [ebp - 0x13e4]
call fcn.00404854
lea eax, [ebp - 0x13e0]
mov edx, 4
call fcn.00404878
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404878
lea eax, [ebp - 0x20]
call fcn.00404854
lea eax, [ebp - 8]
call fcn.00404854
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404878
lea eax, [ebp + 0x28]
mov edx, 2
call fcn.00404878
ret