Function at 0x4067a0
Capabilities:
Get file size
Read and send data from client to server
Read file on windows
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a7dc
mov eax, dword fs:[0]
push eax
mov eax, 0x20028
call fcn.0043da20
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x20028], edi
mov dword [ebp - 0x20024], edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x406841
call fcn.00407ac0
cmp eax, edi
jl 0x406acb
lea eax, [ebp - 0x20030]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x20034], ebx
cmp ebx, 0xffffffff
jne 0x406851
call fcn.00407ac0
test eax, eax
jns 0x40684b
call fcn.00407ac0
mov esi, eax
jmp 0x406abe
mov dword [ebp - 0x20028], eax
mov edi, eax
jmp 0x406811
mov ebx, dword [ebp - 0x20034]
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [ebp - 0x2001c], eax
mov byte [ebp - 4], 1
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [ebp - 0x20018], eax
push ebx
push str.PCKBoundary
push str.___s_r_nContent_Disposition:_form_data__name_logs___filename_logs.zip__r_nContent_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_nContent_Length:__lu_r_n_r_n
lea edi, [ebp - 0x2001c]
mov byte [ebp - 4], 2
call fcn.00407aa0
add esp, 0xc
push str.PCKBoundary
push str._r_n___s___r_n_r_n
lea edi, [ebp - 0x20018]
call fcn.00407aa0
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [ebp - 0x20020], eax
push str.PCKBoundary
lea ecx, [ebp - 0x20020]
push str.Content_Type:_multipart_form_data__boundary_S
push ecx
mov byte [ebp - 4], 3
call fcn.004032e0
mov edi, dword [ebp - 0x20020]
add esp, 0xc
push 0x20000000
push 0xffffffffffffffff
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov ecx, dword [ebp - 0x20018]
mov ecx, dword [ecx - 0xc]
mov edx, dword [ebp - 0x2001c]
push 0
add ecx, ebx
add ecx, dword [edx - 0xc]
push ecx
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4069bc
call fcn.00407ac0
add edi, 0xfffffff0
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40695c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406982
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2001c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20028]
test eax, eax
je 0x406ac9
push eax
jmp 0x406ac3
mov ebx, dword [ebp - 0x2001c]
mov eax, dword [ebx - 0xc]
push 0
push eax
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x406a30
call fcn.00407ac0
add edi, 0xfffffff0
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069fb
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea eax, [ebx - 0x10]
jmp 0x40698f
mov edi, dword [ebp - 0x20028]
xor eax, eax
push eax
lea ecx, [ebp - 0x2002c]
push ecx
push 0x20000
lea edx, [ebp - 0x20014]
push edx
push edi
mov dword [ebp - 0x2002c], eax
mov dword [ebp - 0x20030], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x406a6e
call fcn.00407ac0
mov ebx, eax
test ebx, ebx
js 0x406ae7
mov eax, dword [ebp - 0x2002c]
test eax, eax
je 0x406b17
lea ecx, [ebp - 0x20030]
push ecx
push eax
lea edx, [ebp - 0x20014]
push edx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x406a30
call fcn.00407ac0
lea ecx, [ebp - 0x20020]
mov esi, eax
call fcn.00403740
lea eax, [ebp - 0x20018]
call fcn.004045e0
lea eax, [ebp - 0x2001c]
call fcn.004045e0
test edi, edi
je 0x406ac9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f0df
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20020]
call fcn.00403740
lea eax, [ebp - 0x20018]
call fcn.004045e0
lea eax, [ebp - 0x2001c]
call fcn.004045e0
test edi, edi
je 0x406b13
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x406acb
mov ecx, dword [ebp - 0x20018]
mov eax, dword [ecx - 0xc]
push 0
push eax
push ecx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x406a96
lea ecx, [ebp - 0x20020]
call fcn.00403740
lea eax, [ebp - 0x20018]
call fcn.004045e0
lea eax, [ebp - 0x2001c]
call fcn.004045e0
test edi, edi
je 0x406b5f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x406acb