Function at 0x1000ec10
Capabilities:
Get file size
Read and send data from client to server
Read file on windows
Send data

Disassembly:
sub esp, 0x18
push ebx
push ebp
xor ebp, ebp
push esi
push edi
xor ebx, ebx
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
add edi, 0x100
jmp 0x1000ec40
mov eax, dword [edi + 0x4000]
sub eax, 1
je 0x1000ee12
sub eax, 1
jne 0x1000ee86
push ebp
push 0x8000080
push 3
push ebp
push 7
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1000ef72
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x1801
mov ebx, eax
call fcn.1011a99a
mov esi, eax
add esp, 4
test esi, esi
je 0x1000efb5
call fcn.1000e990
push eax
push edi
lea eax, [edi - 0x100]
push eax
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:__s_r_n_r_n
push esi
call fcn.1011a63e
mov eax, esi
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000ecc2
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
mov edx, dword [esp + 0x30]
push eax
push esi
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1000efff
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], eax
push esi
call fcn.1011a8bd
push 0x400000
call fcn.1011a99a
mov esi, eax
add esp, 8
test esi, esi
je 0x1000f04f
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400000
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000edd2
jmp 0x1000ed30
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x1000edd2
cmp dword [esp + 0x1c], ebx
ja 0x1000edd2
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x34]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1000f099
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x1000edb6
test eax, eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
jge 0x1000ed8e
fadd qword [0x101b4360]
mov edx, ebx
sub esp, 0x10
test edx, edx
fstp qword [esp + 8]
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
jge 0x1000eda9
fadd qword [0x101b4360]
mov eax, dword [esp + 0x44]
fstp qword [esp]
push eax
call ecx
add esp, 0x14
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400000
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000ed30
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
push 2
push esi
push eax
mov word [esi], 0xa0d
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1000f0f3
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], ecx
push esi
call fcn.1011a8bd
mov ebx, dword [esp + 0x18]
add esp, 4
xor ebp, ebp
jmp 0x1000ee86
push 0x2000
call fcn.1011a99a
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x1000f159
push edi
lea edx, [edi - 0x100]
push edx
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push esi
call fcn.1011a63e
mov eax, esi
add esp, 0x14
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000ee50
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
mov edx, dword [esp + 0x30]
push eax
push esi
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1000f11a
add ebx, dword [esp + 0x10]
push esi
mov dword [esp + 0x18], ebx
call fcn.1011a8bd
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 1
add edi, 0x4104
cmp eax, 4
mov dword [esp + 0x20], eax
jl 0x1000ec40
mov eax, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000eea8
sub eax, edx
add eax, 7
push eax
call fcn.1011a99a
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x1000f159
mov eax, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
mov word [esi], 0x2d2d
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000eed6
sub eax, edx
push eax
lea eax, [esi + 2]
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
push eax
call fcn.1011e560
mov eax, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
add esp, 0xc
lea edx, [eax + 1]
jmp 0x1000ef00
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000ef00
sub eax, edx
mov dword [eax + esi + 2], 0xa0d2d2d
mov eax, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea edx, [eax + 1]
jmp 0x1000ef20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000ef20
sub eax, edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
add eax, 6
push eax
push esi
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x1000f163
push 0x101aa608
push 0xb3b
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push 0x101aa608
push 0xb3b
jmp 0x1000f13f
push str.SendMultiPartsFormData
push 0xae0
push 0x101aa624
push str..If_FileTransfer.c
push 2
call fcn.1014edc0
push str.SendMultiPartsFormData
push 0xae0
push 0x101aa624
push str..If_FileTransfer.c
push 2
call fcn.1014f750
add esp, 0x28
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x101a9a94
push 0xae8
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push 0x101a9a94
push 0xae8
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x28
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x101aa608
push 0xaf9
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push 0x101aa608
push 0xaf9
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014f750
push esi
call fcn.1011a8bd
add esp, 0x2c
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x101a9a94
push 0xb04
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push 0x101a9a94
push 0xb04
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014f750
add esp, 0x28
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push 0x101aa6b8
push 0xb12
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push edi
push 0x101aa6b8
push 0xb12
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014f750
push esi
call fcn.1011a8bd
add esp, 0x34
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x101aa608
push 0xb26
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push 0x101aa608
push 0xb26
jmp 0x1000f13f
push 0x101aa608
push 0xacb
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014edc0
push 0x101aa608
push 0xacb
push 0x101aa624
push str..If_FileTransfer.c
push 1
call fcn.1014f750
push esi
call fcn.1011a8bd
add esp, 0x2c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
add ebx, dword [esp + 0x10]
push esi
call fcn.1011a8bd
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret