Function at 0x4316a0
Capabilities:
Check for time delay via gettickcount
Get file size
Read and send data from client to server
Read file on windows
Send data

Disassembly:
sub esp, 0x384
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x394]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, 0xffffffff
jne 0x4316fb
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x384
ret
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push esi
call fcn.00444a33
add esp, 0x14
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 2
push 0x40000000
lea eax, [esp + 0x50]
push eax
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x431751
xor esi, esi
jmp 0x4318bd
push edi
push esi
lea eax, [esp + 0x250]
push 0x455964
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x24c]
push eax
push 0x849
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push 0x2710
mov dword [esp + 0x28], ebx
call fcn.0044419d
add esp, 4
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
mov esi, ebx
mov eax, 0x2710
cmp ebx, eax
cmova esi, eax
test esi, esi
je 0x4318a5
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
push 0
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4318eb
cmp dword [0x464e74], 0
je 0x4318eb
sub ebx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [esp + 0x14]
je 0x431840
mov eax, dword [esp + 0x24]
push eax
sub eax, ebx
push eax
push 0x401
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_SendMessageA]
call esi
mov dword [esp + 0x14], eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call edi
test eax, eax
je 0x43188d
lea eax, [esp + 0x2c]
push eax
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x43187a
lea eax, [esp + 0x2c]
push eax
call ebp
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call edi
test eax, eax
jne 0x431853
cmp ebx, 0x2710
mov esi, ebx
mov eax, 0x2710
cmova esi, eax
test esi, esi
jne 0x4317d0
mov esi, 1
push dword [esp + 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4318d1
push ebx
call fcn.00444198
add esp, 4
mov ecx, dword [esp + 0x38c]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x384
ret
xor esi, esi
jmp 0x4318aa