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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x263
push 0
push 0
dec ecx
jne 0x473479
push ecx
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 edi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
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 0x473da4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [edi], 0
mov byte [ebp - 9], 0
mov edx, 0x102
mov eax, dword [ebx + 0x64]
call fcn.0043f63c
mov edx, dword [0x481668]
mov eax, dword [ebx + 0x64]
call fcn.0043f5e8
mov dl, 1
mov eax, dword [ebx + 0x64]
call fcn.0043f3ac
mov eax, dword [ebx + 0x94]
call fcn.0041ab50
dec eax
jle 0x47356f
lea edx, [ebp - 0x12c8]
mov eax, dword [ebx + 0x34]
call fcn.00408eb0
push dword [ebp - 0x12c8]
push 0x473dc0
push dword [ebx + 0xfc]
push 0x473dc0
mov eax, dword [ebx + 0x94]
call fcn.00475324
lea edx, [ebp - 0x12cc]
call fcn.00408eb0
push dword [ebp - 0x12cc]
push 0x473dcc
lea eax, [ebp - 0x12c4]
mov edx, 6
call fcn.00404e14
mov edx, dword [ebp - 0x12c4]
mov eax, dword [ebx + 0x48]
call fcn.0044c614
jmp 0x473579
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044c614
push dword [ebx + 0x78]
push 0x473dc0
lea edx, [ebp - 0x12d4]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044c5e4
push dword [ebp - 0x12d4]
lea edx, [ebp - 0x12d8]
mov eax, dword [ebp + 0x20]
call fcn.0046ef68
push dword [ebp - 0x12d8]
push 0x473dc0
push dword [ebx + 0x104]
push 0x473dc0
push dword [ebp + 0x28]
lea eax, [ebp - 0x12d0]
mov edx, 8
call fcn.00404e14
mov edx, dword [ebp - 0x12d0]
mov eax, esi
call fcn.0044c614
cmp byte [ebx + 0x10a], 0
je 0x4735eb
mov esi, 0x8000000
jmp 0x4735ed
xor esi, esi
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
push dword [ebp + 0x28]
push dword [ebp - 8]
push dword [ebp + 0x2c]
lea eax, [ebp - 0x12dc]
mov edx, 3
call fcn.00404e14
mov edx, dword [ebp - 0x12dc]
mov eax, dword [ebx + 0x150]
call fcn.00404ea0
jne 0x473630
mov eax, dword [ebx + 0x14c]
mov dword [ebp - 0x10], eax
jmp 0x4736a3
lea eax, [ebx + 0x154]
call fcn.00404a94
cmp dword [ebp - 8], 0
je 0x473647
cmp dword [ebp + 0x2c], 0
jne 0x47366f
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 - 0x10], eax
jmp 0x4736a3
push 0
push esi
push 1
mov eax, dword [ebp + 0x2c]
call fcn.00404f54
push eax
mov eax, dword [ebp - 8]
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 - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x473706
cmp word [ebx + 0xa2], 0
je 0x4736c6
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x473d31
lea eax, [ebp - 0x12e0]
mov ecx, dword [ebp + 0x28]
mov edx, 0x473dd8
call fcn.00404da0
mov eax, dword [ebp - 0x12e0]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x473d31
cmp byte [ebp + 8], 0
je 0x47372e
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14c], eax
push dword [ebp + 0x28]
push dword [ebp - 8]
push dword [ebp + 0x2c]
lea eax, [ebx + 0x150]
mov edx, 3
call fcn.00404e14
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
cmp dword [ebp + 0x1c], 0
je 0x4737c8
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebx + 0x154]
call fcn.00404ea0
je 0x4737c8
cmp byte [ebp + 8], 0
je 0x47376a
lea eax, [ebx + 0x154]
mov edx, dword [ebp + 0x1c]
call fcn.00404ae8
jmp 0x473775
lea eax, [ebx + 0x154]
call fcn.00404a94
mov eax, dword [ebp + 0x1c]
call fcn.00404f54
mov esi, eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x4737c8
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpCreateDirectoryA
test eax, eax
jne 0x4737be
cmp byte [ebp + 8], 0
jne 0x473d31
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
jmp 0x473d31
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0x20]
call fcn.00404b2c
cmp dword [ebp + 0x18], 0
jne 0x4737f0
lea edx, [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.0046ef68
cmp byte [ebp + 0x14], 0
jne 0x473804
cmp word [ebx + 0x142], 0
je 0x473913
push 0
push 0
lea eax, [ebp - 0x12c0]
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404f54
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_FtpFindFirstFileA
test eax, eax
je 0x473913
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x12ac]
call fcn.0046ee9c
cmp word [ebx + 0x142], 0
je 0x47389b
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 + 0x144]
call dword [ebx + 0x140]
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
jne 0x473905
cmp byte [ebp + 8], 0
jne 0x473d31
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
jmp 0x473d31
fld qword [ebp - 0x30]
mov eax, dword [ebp + 0x10]
fcomp qword [eax]
fnstsw ax
sahf
jbe 0x473905
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 [edi], 1
cmp byte [ebp + 8], 0
jne 0x4738d3
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
cmp word [ebx + 0x122], 0
je 0x473d31
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 + 0x124]
call dword [ebx + 0x120]
jmp 0x473d31
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.00404f54
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 0x473975
cmp word [ebx + 0xd2], 0
je 0x473952
mov ecx, dword [ebp + 0x20]
mov edx, ebx
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
cmp byte [ebp + 8], 0
jne 0x473d31
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
jmp 0x473d31
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
lea eax, [ebx + 0x68]
mov edx, dword [ebp - 0x20]
call fcn.00404ae8
lea eax, [ebx + 0x6c]
mov edx, dword [ebp + 0x1c]
call fcn.00404ae8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1180]
call fcn.004031bc
mov edx, 1
lea eax, [ebp - 0x1180]
call fcn.00403630
lea eax, [ebp - 0x1180]
call fcn.004034bc
call fcn.00402c4c
mov dword [ebp - 0x24], eax
call fcn.00402ccc
test eax, eax
je 0x473a70
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [ebp + 8], 0
jne 0x4739f8
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
cmp word [ebx + 0xd2], 0
je 0x473a13
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
cmp word [ebx + 0xa2], 0
je 0x473a30
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x473d31
lea eax, [ebp - 0x12e4]
mov ecx, dword [ebp - 0x20]
mov edx, 0x473e00
call fcn.00404da0
mov eax, dword [ebp - 0x12e4]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x473d31
mov dword [ebp - 0x18], 0x1000
xor esi, esi
mov byte [ebx + 0x38], 0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
jmp 0x473cea
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x1031]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1180]
call fcn.00403314
call fcn.00402c4c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1031]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetWriteFile
test eax, eax
je 0x473cfa
add esi, dword [ebp - 0x18]
cmp dword [ebp - 0x24], 0
jbe 0x473b7e
imul eax, esi, 0x64
mov dword [ebp - 0x12ec], eax
xor eax, eax
mov dword [ebp - 0x12e8], eax
fild qword [ebp - 0x12ec]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x12f4], eax
xor eax, eax
mov dword [ebp - 0x12f0], eax
fild qword [ebp - 0x12f4]
fdivp st(1)
call fcn.00402f18
mov edx, eax
mov eax, dword [ebx + 0x44]
call fcn.00438f04
push dword [ebx + 0x7c]
push 0x473dc0
lea edx, [ebp - 0x12fc]
mov eax, esi
call fcn.0046f02c
push dword [ebp - 0x12fc]
push 0x473dc0
push dword [ebx + 0xfc]
push 0x473dc0
lea edx, [ebp - 0x1300]
mov eax, dword [ebp - 0x24]
call fcn.0046f02c
push dword [ebp - 0x1300]
lea eax, [ebp - 0x12f8]
mov edx, 7
call fcn.00404e14
mov edx, dword [ebp - 0x12f8]
mov eax, dword [ebx + 0x4c]
call fcn.0044c614
jmp 0x473bb7
push dword [ebx + 0x7c]
push 0x473dc0
lea edx, [ebp - 0x1308]
mov eax, esi
call fcn.0046f02c
push dword [ebp - 0x1308]
lea eax, [ebp - 0x1304]
mov edx, 3
call fcn.00404e14
mov edx, dword [ebp - 0x1304]
mov eax, dword [ebx + 0x4c]
call fcn.0044c614
cmp word [ebx + 0xea], 0
je 0x473bd7
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 + 0x10c], 0
je 0x473c2a
push dword [ebx + 0x74]
push 0x473dcc
mov eax, dword [ebx + 0x44]
call fcn.00438d54
lea edx, [ebp - 0x1310]
call fcn.00408eb0
push dword [ebp - 0x1310]
push 0x473e24
push dword [ebx + 0x110]
lea eax, [ebp - 0x130c]
mov edx, 5
call fcn.00404e14
mov edx, dword [ebp - 0x130c]
mov eax, dword [ebx + 0x3c]
call fcn.0044c614
push dword [ebx + 0x80]
push 0x473dc0
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x12ec], eax
xor eax, eax
mov dword [ebp - 0x12e8], eax
fild qword [ebp - 0x12ec]
mov dword [ebp - 0x12f4], esi
xor eax, eax
mov dword [ebp - 0x12f0], eax
fild qword [ebp - 0x12f4]
fdivrp st(1)
fmul dword [0x473e28]
call fcn.00402f18
lea edx, [ebp - 0x1318]
call fcn.0046f180
push dword [ebp - 0x1318]
lea eax, [ebp - 0x1314]
mov edx, 3
call fcn.00404e14
mov edx, dword [ebp - 0x1314]
mov eax, dword [ebx + 0x50]
call fcn.0044c614
push dword [ebx + 0x84]
push 0x473dc0
lea eax, [ebp - 0x1320]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.0046f2d4
push dword [ebp - 0x1320]
lea eax, [ebp - 0x131c]
mov edx, 3
call fcn.00404e14
mov edx, dword [ebp - 0x131c]
mov eax, dword [ebx + 0x54]
call fcn.0044c614
cmp dword [ebp - 0x18], 0
jbe 0x473cfa
cmp byte [ebx + 0x38], 0
je 0x473a8a
lea eax, [ebp - 0x1180]
call fcn.00403354
call fcn.00402c4c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [ebp + 8], 0
jne 0x473d2d
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x150]
call fcn.00404a94
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473dab
lea eax, [ebp - 0x1320]
mov edx, 0xb
call fcn.00404ab8
lea eax, [ebp - 0x12e4]
mov edx, 4
call fcn.00404ab8
lea eax, [ebp - 0x12d4]
call fcn.00404a94
lea eax, [ebp - 0x12d0]
mov edx, 4
call fcn.00404ab8
lea eax, [ebp - 0x20]
call fcn.00404a94
lea eax, [ebp - 8]
call fcn.00404a94
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404ab8
lea eax, [ebp + 0x28]
mov edx, 2
call fcn.00404ab8
ret