Function at 0x4b3704
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x38
push 0
push 0
dec ecx
jne 0x4b370c
push ecx
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x178]
mov edx, dword [0x407ea4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4b3b58
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004047e0
lea eax, [ebp - 0x18c]
mov ecx, 0x4b3b70
mov edx, dword [ebp - 0xc]
call fcn.00404a4c
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x178]
mov edx, 1
call fcn.004092a0
test eax, eax
jne 0x4b3afc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x15c]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
cmp word [ebp - 0x186], 0xa
jae 0x4b37e7
lea edx, [ebp - 0x190]
movzx eax, word [ebp - 0x188]
call fcn.00408f34
push dword [ebp - 0x190]
push 0x4b3b80
lea edx, [ebp - 0x194]
movzx eax, word [ebp - 0x186]
call fcn.00408f34
push dword [ebp - 0x194]
push 0x4b3b8c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404ac0
jmp 0x4b3829
lea edx, [ebp - 0x198]
movzx eax, word [ebp - 0x188]
call fcn.00408f34
push dword [ebp - 0x198]
lea edx, [ebp - 0x19c]
movzx eax, word [ebp - 0x186]
call fcn.00408f34
push dword [ebp - 0x19c]
push 0x4b3b8c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404ac0
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x16c]
call fcn.00404a08
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0xc]
call fcn.00404a4c
lea eax, [ebp - 0x1a0]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x16c]
call fcn.00404c58
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebx + 0x300]
call fcn.004426cc
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 0x16c]
call fcn.00404a00
mov ecx, eax
sub ecx, 6
mov edx, 3
mov eax, dword [ebp - 0x16c]
call fcn.00404c58
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebx + 0x2f8]
call fcn.004426cc
mov eax, dword [ebx + 0x300]
call fcn.00442bd8
mov eax, dword [ebx + 0x2f8]
call fcn.00442bd8
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov esi, eax
test esi, esi
je 0x4b3ad9
push 0
push 0x8000000
push 1
push 0x4b3b90
push 0x4b3b9c
push 0x15
mov eax, dword [0x4ba134]
mov eax, dword [eax]
call fcn.00404bf8
push eax
push esi
call sub.wininet.dll_InternetConnectA
mov edi, eax
test edi, edi
je 0x4b3a7b
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404bf8
push eax
mov eax, dword [ebp - 8]
call fcn.00404bf8
push eax
push edi
call sub.wininet.dll_FtpPutFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4b398f
push 0
lea edx, [ebp - 0x1a8]
mov eax, dword [ebx + 0x300]
call fcn.0044269c
lea eax, [ebp - 0x1a8]
push eax
lea edx, [ebp - 0x1ac]
mov eax, dword [ebx + 0x2f8]
call fcn.0044269c
mov edx, dword [ebp - 0x1ac]
pop eax
call fcn.00404a08
mov edx, dword [ebp - 0x1a8]
xor ecx, ecx
mov eax, ebx
call fcn.004b52e0
mov edx, 0x4b3bb0
mov eax, dword [ebx + 0x308]
call fcn.004426cc
jmp 0x4b3a73
mov edx, 0x4b3bc0
mov eax, dword [ebx + 0x308]
call fcn.004426cc
mov cx, word [ebp - 0x182]
mov dx, word [ebp - 0x186]
mov ax, word [ebp - 0x188]
call fcn.0040ac84
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 2
lea edx, [ebp - 0x1b0]
mov eax, dword [ebx + 0x300]
call fcn.0044269c
mov eax, dword [ebp - 0x1b0]
push eax
lea edx, [ebp - 0x1b4]
mov eax, dword [ebx + 0x2f8]
call fcn.0044269c
mov edx, dword [ebp - 0x1b4]
mov eax, ebx
pop ecx
call fcn.004b3f30
test al, al
je 0x4b3a0a
mov eax, dword [ebp - 8]
call fcn.00409330
jmp 0x4b3a73
mov eax, dword [ebx + 0x31c]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.00428568
mov edx, 0x4b3bd0
mov eax, dword [ebx + 0x31c]
call fcn.004426cc
push 1
lea edx, [ebp - 0x1b8]
mov eax, dword [ebx + 0x300]
call fcn.0044269c
lea eax, [ebp - 0x1b8]
push eax
lea edx, [ebp - 0x1bc]
mov eax, dword [ebx + 0x2f8]
call fcn.0044269c
mov edx, dword [ebp - 0x1bc]
pop eax
call fcn.00404a08
mov edx, dword [ebp - 0x1b8]
xor ecx, ecx
mov eax, ebx
call fcn.004b52e0
push edi
call sub.wininet.dll_InternetCloseHandle
jmp 0x4b3ad1
mov edx, 0x4b3bb0
mov eax, dword [ebx + 0x308]
call fcn.004426cc
push 0
lea edx, [ebp - 0x1c0]
mov eax, dword [ebx + 0x300]
call fcn.0044269c
lea eax, [ebp - 0x1c0]
push eax
lea edx, [ebp - 0x1c4]
mov eax, dword [ebx + 0x2f8]
call fcn.0044269c
mov edx, dword [ebp - 0x1c4]
pop eax
call fcn.00404a08
mov edx, dword [ebp - 0x1c0]
xor ecx, ecx
mov eax, ebx
call fcn.004b52e0
push esi
call sub.wininet.dll_InternetCloseHandle
jmp 0x4b3ae9
mov edx, 0x4b3bb0
mov eax, dword [ebx + 0x308]
call fcn.004426cc
lea eax, [ebp - 0x178]
call fcn.004092f0
test eax, eax
je 0x4b3774
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3b5f
lea eax, [ebp - 0x1c4]
mov edx, 8
call fcn.0040476c
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.0040476c
lea eax, [ebp - 0x19c]
mov edx, 5
call fcn.0040476c
lea eax, [ebp - 0x178]
mov edx, dword [0x407ea4]
call fcn.00405310
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040476c
ret