Function at 0x4698d8
Capabilities:
Check for time delay via gettickcount
Connect to http server
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x287
push 0
push 0
dec ecx
jne 0x4698e1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
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 0x46a3d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi], 0
mov byte [ebp - 0x15], 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 byte [ebx + 0x38], 0
mov eax, dword [ebx + 0xa0]
call fcn.00416484
dec eax
jle 0x4699da
lea edx, [ebp - 0x13d8]
mov eax, dword [ebx + 0x34]
call fcn.00409140
push dword [ebp - 0x13d8]
push 0x46a3f0
push dword [ebx + 0x10c]
push 0x46a3f0
mov eax, dword [ebx + 0xa0]
call fcn.0046be38
lea edx, [ebp - 0x13dc]
call fcn.00409140
push dword [ebp - 0x13dc]
push 0x46a3fc
lea eax, [ebp - 0x13d4]
mov edx, 6
call fcn.004052d8
mov edx, dword [ebp - 0x13d4]
mov eax, dword [ebx + 0x48]
call fcn.00440004
jmp 0x4699e4
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.00440004
push dword [ebx + 0x7c]
push 0x46a3f0
lea edx, [ebp - 0x13e4]
mov edi, dword [ebx + 0x48]
mov eax, edi
call fcn.0043ffd4
push dword [ebp - 0x13e4]
lea edx, [ebp - 0x13e8]
mov eax, dword [ebp + 0x20]
call fcn.00464668
push dword [ebp - 0x13e8]
push 0x46a3f0
push dword [ebx + 0x114]
push 0x46a3f0
push dword [ebp + 0x28]
lea eax, [ebp - 0x13e0]
mov edx, 8
call fcn.004052d8
mov edx, dword [ebp - 0x13e0]
mov eax, edi
call fcn.00440004
cmp byte [ebx + 0x11a], 0
je 0x469a56
mov edi, 0x8000000
jmp 0x469a58
xor edi, edi
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
push dword [ebp + 0x28]
push dword [ebp - 4]
push dword [ebp + 0x2c]
lea eax, [ebp - 0x13ec]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x13ec]
mov eax, dword [ebx + 0x160]
call fcn.0040536c
jne 0x469a9b
mov eax, dword [ebx + 0x15c]
mov dword [ebp - 0x1c], eax
jmp 0x469b0e
lea eax, [ebx + 0x164]
call fcn.00404f44
cmp dword [ebp - 4], 0
je 0x469ab2
cmp dword [ebp + 0x2c], 0
jne 0x469ada
push 0
push edi
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 - 0x1c], eax
jmp 0x469b0e
push 0
push edi
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 - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x469b71
cmp word [ebx + 0xaa], 0
je 0x469b31
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
cmp word [ebx + 0xb2], 0
je 0x46a364
lea eax, [ebp - 0x13f0]
mov ecx, dword [ebp + 0x28]
mov edx, 0x46a408
call fcn.0040525c
mov eax, dword [ebp - 0x13f0]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
jmp 0x46a364
cmp byte [ebp + 8], 0
je 0x469b99
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x15c], eax
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 0x469bbb
lea eax, [ebx + 0x164]
mov edx, dword [ebp + 0x1c]
call fcn.00404f98
jmp 0x469bc6
lea eax, [ebx + 0x164]
call fcn.00404f44
mov dword [ebp - 0x40], 0xff
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x13d0]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpGetCurrentDirectoryA
cmp dword [ebp + 0x1c], 0
setne byte [ebp - 0x3a]
mov eax, dword [ebp + 0x1c]
call fcn.004053d4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x469cdf
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 0x1c]
call fcn.0046451c
lea eax, [ebx + 0x164]
call fcn.00404f44
mov edx, dword [ebp - 0xc]
mov eax, 0x46a430
call fcn.00405520
test eax, eax
jle 0x469c69
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46a430
call fcn.00405520
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040543c
mov edx, dword [ebp - 0xc]
mov eax, 0x46a430
call fcn.00405520
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.0040547c
jmp 0x469c7c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404fdc
lea eax, [ebp - 0xc]
call fcn.00404f44
cmp dword [ebp - 0x10], 0
je 0x469cd5
mov eax, dword [ebp - 0x10]
call fcn.004053d4
mov edi, eax
push edi
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
test eax, eax
jne 0x469cd5
push edi
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpCreateDirectoryA
test eax, eax
jne 0x469ccb
cmp byte [ebp + 8], 0
jne 0x46a364
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
jmp 0x46a364
push edi
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
cmp dword [ebp - 0xc], 0
jne 0x469c19
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 0x469d07
lea edx, [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00464668
cmp byte [ebp + 0x14], 0
jne 0x469d1b
cmp word [ebx + 0x152], 0
je 0x469e1d
push 0
push 0
lea eax, [ebp - 0x12d0]
push eax
mov eax, dword [ebp + 0x18]
call fcn.004053d4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpFindFirstFileA
test eax, eax
je 0x469e1d
mov byte [ebp - 0x39], 1
cmp word [ebx + 0xea], 0
je 0x469d63
lea eax, [ebp - 0x39]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, ebx
mov eax, dword [ebx + 0xec]
call dword [ebx + 0xe8]
cmp byte [ebp - 0x39], 0
je 0x46a2f7
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x12bc]
call fcn.0046459c
cmp word [ebx + 0x152], 0
je 0x469dbe
mov byte [ebp - 0x39], 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0x39]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebx + 0x154]
call dword [ebx + 0x150]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x38]
mov dword [eax], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
cmp byte [ebp - 0x39], 0
je 0x46a2f7
jmp 0x469e0f
fld qword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
fcomp qword [eax]
wait
fnstsw ax
sahf
jbe 0x469e0f
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x38]
mov dword [eax], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov byte [esi], 1
cmp word [ebx + 0x132], 0
je 0x46a2f7
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, dword [ebp + 0x18]
mov edx, ebx
mov eax, dword [ebx + 0x134]
call dword [ebx + 0x130]
jmp 0x46a2f7
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x38]
mov dword [eax], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
push 0
push 2
push 0x40000000
mov eax, dword [ebp + 0x18]
call fcn.004053d4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpOpenFileA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x469e7f
cmp word [ebx + 0xda], 0
je 0x469e5c
mov ecx, dword [ebp + 0x20]
mov edx, ebx
mov eax, dword [ebx + 0xdc]
call dword [ebx + 0xd8]
cmp byte [ebp + 8], 0
jne 0x46a364
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
jmp 0x46a364
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
lea eax, [ebx + 0x6c]
mov edx, dword [ebp - 8]
call fcn.00404f98
lea eax, [ebx + 0x70]
mov edx, dword [ebp + 0x1c]
call fcn.00404f98
mov byte [ebp - 0x43], 0
mov eax, dword [ebp - 8]
call fcn.00409664
test al, al
jne 0x469eb5
mov byte [ebp - 0x43], 1
mov eax, dword [0x470cbc]
movzx eax, byte [eax]
mov word [ebp - 0x42], ax
mov eax, dword [0x470cbc]
mov byte [eax], 0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1190]
call fcn.004035cc
mov edx, 1
lea eax, [ebp - 0x1190]
call fcn.00403ac0
call fcn.00403094
test eax, eax
je 0x469ef4
mov byte [ebp - 0x43], 1
cmp byte [ebp - 0x43], 0
je 0x469fa5
movzx eax, byte [ebp - 0x42]
mov edx, dword [0x470cbc]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [ebp + 8], 0
jne 0x469f2d
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
cmp word [ebx + 0xda], 0
je 0x469f48
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0xdc]
call dword [ebx + 0xd8]
cmp word [ebx + 0xaa], 0
je 0x469f65
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
cmp word [ebx + 0xb2], 0
je 0x46a364
lea eax, [ebp - 0x13f4]
mov ecx, dword [ebp - 8]
mov edx, 0x46a43c
call fcn.0040525c
mov eax, dword [ebp - 0x13f4]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
jmp 0x46a364
lea eax, [ebp - 0x1190]
call fcn.004038d0
call fcn.00403014
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x1000
xor esi, esi
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x30], eax
jmp 0x46a2be
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x1043]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1190]
call fcn.00403728
call fcn.00403014
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1043]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetWriteFile
test eax, eax
je 0x46a2ce
add esi, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], 0
jbe 0x46a0c8
mov dword [ebp - 0x13fc], esi
xor eax, eax
mov dword [ebp - 0x13f8], eax
fild qword [ebp - 0x13fc]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1404], eax
xor eax, eax
mov dword [ebp - 0x1400], eax
fild qword [ebp - 0x1404]
fdivp st(1)
fmul dword [0x46a458]
call fcn.00403328
mov edx, eax
mov eax, dword [ebx + 0x44]
call fcn.004620b8
push dword [ebx + 0x80]
push 0x46a3f0
lea edx, [ebp - 0x140c]
mov eax, esi
call fcn.0046472c
push dword [ebp - 0x140c]
push 0x46a3f0
push dword [ebx + 0x10c]
push 0x46a3f0
lea edx, [ebp - 0x1410]
mov eax, dword [ebp - 0x2c]
call fcn.0046472c
push dword [ebp - 0x1410]
lea eax, [ebp - 0x1408]
mov edx, 7
call fcn.004052d8
mov edx, dword [ebp - 0x1408]
mov eax, dword [ebx + 0x4c]
call fcn.00440004
jmp 0x46a104
push dword [ebx + 0x80]
push 0x46a3f0
lea edx, [ebp - 0x1418]
mov eax, esi
call fcn.0046472c
push dword [ebp - 0x1418]
lea eax, [ebp - 0x1414]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x1414]
mov eax, dword [ebx + 0x4c]
call fcn.00440004
cmp byte [ebx + 0x11d], 0
je 0x46a157
push dword [ebx + 0x78]
push 0x46a3fc
mov eax, dword [ebx + 0x44]
call fcn.00461f08
lea edx, [ebp - 0x1420]
call fcn.00409140
push dword [ebp - 0x1420]
push 0x46a464
push dword [ebx + 0x120]
lea eax, [ebp - 0x141c]
mov edx, 5
call fcn.004052d8
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebx + 0x3c]
call fcn.00440004
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x30]
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 [0x46a468]
call fcn.00403328
lea edx, [ebp - 0x1424]
call fcn.00464880
mov edx, dword [ebp - 0x1424]
lea eax, [ebx + 0x16c]
call fcn.00404f98
push dword [ebx + 0x84]
push 0x46a3f0
push dword [ebx + 0x16c]
lea eax, [ebp - 0x1428]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x1428]
mov eax, dword [ebx + 0x50]
call fcn.00440004
lea eax, [ebp - 0x142c]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, esi
call fcn.004649d4
mov edx, dword [ebp - 0x142c]
lea eax, [ebx + 0x170]
call fcn.00404f98
push dword [ebx + 0x88]
push 0x46a3f0
push dword [ebx + 0x170]
lea eax, [ebp - 0x1430]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x1430]
mov eax, dword [ebx + 0x54]
call fcn.00440004
lea eax, [ebp - 0x1434]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
call fcn.004649d4
mov edx, dword [ebp - 0x1434]
lea eax, [ebx + 0x174]
call fcn.00404f98
push dword [ebx + 0x8c]
push 0x46a3f0
push dword [ebx + 0x174]
lea eax, [ebp - 0x1438]
mov edx, 3
call fcn.004052d8
mov edx, dword [ebp - 0x1438]
mov eax, dword [ebx + 0x58]
call fcn.00440004
cmp word [ebx + 0xf2], 0
je 0x46a2b2
push esi
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebx + 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xf4]
call dword [ebx + 0xf0]
mov eax, dword [0x470c2c]
mov eax, dword [eax]
call fcn.0045e748
cmp dword [ebp - 0x24], 0
jbe 0x46a2ce
cmp byte [ebx + 0x38], 0
je 0x469fce
lea eax, [ebp - 0x1190]
call fcn.00403768
call fcn.00403014
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetCloseHandle
movzx eax, byte [ebp - 0x42]
mov edx, dword [0x470cbc]
mov byte [edx], al
mov byte [ebp - 0x15], 1
cmp byte [ebx + 0x38], 0
je 0x46a301
mov byte [ebp + 8], 0
cmp byte [ebp + 8], 0
jne 0x46a31d
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebx + 0x160]
call fcn.00404f44
jmp 0x46a364
cmp byte [ebp - 0x3a], 0
je 0x46a364
lea eax, [ebp - 0x143c]
lea edx, [ebp - 0x13d0]
mov ecx, pe_nt_image_headers32
call fcn.004051b4
cmp dword [ebp - 0x143c], 0
jne 0x46a354
mov esi, 0x46a46c
lea edi, [ebp - 0x13d0]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x13d0]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_FtpSetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a3db
lea eax, [ebp - 0x143c]
mov edx, 0xe
call fcn.00404f68
lea eax, [ebp - 0x13f4]
mov edx, 4
call fcn.00404f68
lea eax, [ebp - 0x13e4]
call fcn.00404f44
lea eax, [ebp - 0x13e0]
mov edx, 4
call fcn.00404f68
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404f68
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404f68
lea eax, [ebp + 0x28]
mov edx, 2
call fcn.00404f68
ret