Function at 0x1400132e0
Capabilities:
Connect to http server
Create http request
Get file size
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
jmp 0x1400132e0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1bb8
call fcn.140001ef1
sub rsp, rax
lea rdi, [rsp + 0x40]
mov ecx, 0x6de
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1bd0]
mov rax, qword [0x1401c40e0]
xor rax, rsp
mov qword [rsp + 0x1ba0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozilla_4.0__compatible_
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x190]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
cmp qword [rsp + 0x40], 0
jne 0x140013382
jmp 0x14001376c
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x1be0]
mov rdx, qword [rsp + 0x1bd8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
jne 0x1400133db
jmp 0x14001376c
mov rdx, qword [rsp + 0x1bd0]
lea rcx, [rsp + 0x190]
call fcn.140002b08
lea rcx, [rsp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea rdx, [0x14017177c]
lea rcx, [rsp + 0x60]
call fcn.140003c6a
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x60]
call fcn.140003c6a
lea rdx, [0x14017179c]
lea rcx, [rsp + 0x60]
call fcn.140003c6a
mov rdx, qword [rsp + 0x1be8]
lea rcx, [rsp + 0x60]
call fcn.140003c6a
lea rdx, [0x1401717a0]
lea rcx, [rsp + 0x60]
call fcn.140003c6a
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x400000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str.HTTP_1.0
lea r8, [rsp + 0x60]
lea rdx, str.POST
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x2b0], rax
cmp qword [rsp + 0x2b0], 0
jne 0x1400134b1
jmp 0x14001376c
lea rax, [rsp + 0x2d0]
lea rcx, [0x1401717c8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x32
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x302]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ce
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2d0]
call fcn.1400034a4
mov r9d, 0xa0000000
mov r8d, eax
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, qword [rsp + 0x1bd0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x6d8], rax
cmp qword [rsp + 0x6d8], 0xffffffffffffffff
jne 0x14001355a
jmp 0x14001376c
xor edx, edx
mov rcx, qword [rsp + 0x6d8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x6e0], eax
lea rax, [rsp + 0x6f8]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rsp + 0x6f8], 0x38
lea rax, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov qword [rsp + 0x708], rax
lea rcx, [rsp + 0x2d0]
call fcn.1400034a4
mov dword [rsp + 0x710], eax
mov eax, dword [rsp + 0x6e0]
mov dword [rsp + 0x724], eax
mov qword [rsp + 0x20], 0
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x6f8]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x140013614
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.HttpSendRequestEx_failed__lu
call fcn.140003698
mov rcx, qword [rsp + 0x6d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001376c
mov dword [rsp + 0x734], 0
mov dword [rsp + 0x738], 0
mov dword [rsp + 0x744], 0
mov dword [rsp + 0x764], 0
lea rax, [rsp + 0x790]
mov rdi, rax
xor eax, eax
mov ecx, 0x1400
rep stosb byte [rdi], al
mov dword [rsp + 0x1b94], 0
xor eax, eax
cmp eax, 1
je 0x140013748
mov r8d, 0x1400
xor edx, edx
lea rcx, [rsp + 0x790]
call fcn.140004c5f
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x744]
mov r8d, 0x1400
lea rdx, [rsp + 0x790]
mov rcx, qword [rsp + 0x6d8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x1b94], eax
cmp dword [rsp + 0x1b94], 0
jne 0x1400136d0
mov rcx, qword [rsp + 0x6d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001376c
cmp dword [rsp + 0x744], 0
ja 0x1400136dc
jmp 0x140013748
lea r9, [rsp + 0x764]
mov r8d, dword [rsp + 0x744]
lea rdx, [rsp + 0x790]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x14001372a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetWriteFile_failed__lu
call fcn.140003698
mov rcx, qword [rsp + 0x6d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001376c
mov eax, dword [rsp + 0x764]
mov ecx, dword [rsp + 0x738]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x738], eax
jmp 0x14001365f
mov rcx, qword [rsp + 0x6d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.WININET.dll_HttpEndRequestA]
mov rcx, rsp
lea rdx, [0x140172590]
call fcn.1400052db
mov rcx, qword [rsp + 0x1ba0]
xor rcx, rsp
call fcn.140003747
add rsp, 0x1bb8
pop rdi
pop rsi
ret