Function at 0x1400237e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x1400c8718]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r14d, r14d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov r15, rcx
mov rcx, qword [rbp + 0x280]
mov rbx, r9
mov qword [rsp + 0x58], rcx
mov r12, r8
mov qword [rsp + 0x38], r14
mov esi, r14d
mov qword [rsp + 0x30], r14
mov qword [rdx], r14
test r8, r8
jne 0x140023848
xor eax, eax
jmp 0x140023ee6
movdqa xmm0, xmmword [str.________________easy_handle_already_used_in_multi_handle]
lea rdx, [rbp - 0x20]
mov r8d, send
movq qword [rbp - 0x28], xmm0
mov rcx, r15
movups xmmword [rbp - 0x38], xmm0
call fcn.140027450
lea rax, [rbp - 0x38]
test rbx, rbx
lea r9, str.Content_Type:_multipart_form_data
mov qword [rsp + 0x20], rax
cmovne r9, rbx
lea r8, str._s__boundary_s_r_n
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400235b0
test eax, eax
jne 0x140023ee6
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x320], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x318], r13
test rsi, rsi
je 0x1400238dc
lea r8, [0x1400a11ec]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
lea r9, [rbp - 0x38]
lea r8, str.___s_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
movsxd r9, dword [r12 + 0x10]
lea rax, [rsp + 0x30]
mov r8, qword [r12 + 8]
lea edx, [rdi + 1]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140023400
mov edi, eax
test eax, eax
jne 0x140023ea3
lea r8, [0x1400a1220]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
cmp qword [r12 + 0x48], 0
je 0x1400239b8
movdqa xmm0, xmmword [str.________________easy_handle_already_used_in_multi_handle]
lea r8d, [rax + 0x11]
lea rdx, [rbp - 0x50]
movq qword [rbp - 0x58], xmm0
mov rcx, r15
movups xmmword [rbp - 0x68], xmm0
call fcn.140027450
lea r9, [rbp - 0x68]
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
mov r13, r12
nop dword [rax + rax]
cmp qword [r12 + 0x48], 0
je 0x140023a04
lea r9, [rbp - 0x68]
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
lea r8, [rsp + 0x30]
mov rcx, r13
lea rdx, [rsp + 0x38]
call fcn.1400248a0
mov edi, eax
test eax, eax
jmp 0x140023a2f
mov eax, dword [r12 + 0x50]
test al, 0x51
je 0x140023a35
cmp qword [r12 + 0x58], 0
jne 0x140023a19
test al, 1
je 0x140023a2d
lea r8, [rsp + 0x30]
mov rcx, r12
lea rdx, [rsp + 0x38]
call fcn.1400248a0
mov edi, eax
test edi, edi
jne 0x140023ea3
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x140023a5e
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
mov rbx, qword [r13 + 0x40]
test rbx, rbx
je 0x140023a9e
nop word [rax + rax]
mov r9, qword [rbx]
lea r8, str._r_n_s
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140023a70
jmp 0x140023aa6
test edi, edi
jne 0x140023ea3
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
mov eax, dword [r12 + 0x50]
test al, 3
jne 0x140023bbb
test al, 0x10
je 0x140023b04
movsxd r9, dword [r12 + 0x30]
lea rax, [rsp + 0x30]
mov r8, qword [r12 + 0x28]
lea edx, [rdi + 2]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140023400
mov rsi, qword [rsp + 0x30]
mov edi, eax
jmp 0x140023db5
test al, 0x40
je 0x140023b81
test al, al
jns 0x140023b13
mov rbx, qword [r12 + 0x68]
jmp 0x140023b18
movsxd rbx, dword [r12 + 0x20]
mov rdi, qword [r12 + 0x60]
mov rsi, qword [rsp + 0x30]
test rbx, rbx
js 0x140023b77
test rsi, rsi
js 0x140023b77
mov ecx, 0x20
call qword [str.0__a_]
test rax, rax
je 0x140023e2c
mov rcx, qword [rsp + 0x38]
add rsi, rbx
mov qword [rax], r14
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 3
mov qword [rsp + 0x30], rsi
test rcx, rcx
je 0x140023b63
mov qword [rcx], rax
mov r13, qword [r13 + 0x48]
mov edi, r14d
mov qword [rsp + 0x38], rax
mov rax, r13
jmp 0x140023dc4
mov edi, 0x2b
jmp 0x140023db5
test al, al
jns 0x140023b8c
mov r9, qword [r12 + 0x68]
jmp 0x140023b91
movsxd r9, dword [r12 + 0x20]
mov r8, qword [r12 + 0x18]
lea rax, [rsp + 0x30]
mov edx, 2
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
call fcn.140023400
mov rsi, qword [rsp + 0x30]
mov edi, eax
jmp 0x140023db5
mov rcx, qword [r13 + 0x18]
mov r15d, 0x2d
cmp r15b, byte [rcx]
jne 0x140023bd9
cmp r14b, byte [rcx + 1]
jne 0x140023bd9
xor ecx, ecx
call fcn.14007702c
jmp 0x140023be5
lea rdx, [0x14009cedc]
call fcn.140078df8
mov r14, rax
test rax, rax
je 0x140023e75
xor ecx, ecx
call fcn.14007702c
cmp r14, rax
je 0x140023ca9
mov rcx, r14
call fcn.140071ea8
mov rsi, qword [rsp + 0x30]
mov rdi, qword [r13 + 0x18]
test rsi, rsi
js 0x140023dad
mov ecx, 0x20
call qword [str.0__a_]
mov rbx, rax
test rax, rax
je 0x140023e2c
xor r14d, r14d
mov qword [rax + 0x10], rdi
mov qword [rax], r14
mov dword [rax + 8], 4
cmp r15b, byte [rdi]
jne 0x140023c4e
cmp r14b, byte [rdi + 1]
je 0x140023c88
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14007991c
test eax, eax
jne 0x140023e10
movzx eax, word [rsp + 0x66]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x140023e10
add rsi, qword [rsp + 0x78]
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140023c95
mov qword [rax], rbx
mov r13, qword [r13 + 0x48]
mov edi, r14d
mov rax, r13
mov qword [rsp + 0x38], rbx
jmp 0x140023dc4
mov r9, r14
lea rcx, [rbp]
mov edx, 1
mov r8d, 0x200
call fcn.140072320
mov rsi, qword [rsp + 0x30]
mov rbx, rax
test rax, rax
je 0x140023db2
mov r15, qword [rsp + 0x38]
test rbx, rbx
js 0x140023dad
test rsi, rsi
js 0x140023dad
mov ecx, 0x20
call qword [str.0__a_]
mov rdi, rax
test rax, rax
je 0x140023e2c
mov qword [rax], 0
test rbx, rbx
jne 0x140023d1f
lea rax, [rbp]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140023d16
lea rcx, [rbx + 1]
call qword [str.0__a_]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140023e23
mov r8, rbx
lea rdx, [rbp]
mov rcx, rax
call fcn.14006d440
mov rax, qword [rdi + 0x10]
add rsi, rbx
mov qword [rsp + 0x30], rsi
mov byte [rbx + rax], 0
mov qword [rdi + 0x18], rbx
mov dword [rdi + 8], 2
test r15, r15
je 0x140023d68
mov qword [r15], rdi
mov r15, rdi
mov qword [rsp + 0x38], rdi
mov rcx, r14
xor edi, edi
call fcn.1400782c8
test eax, eax
jne 0x140023db2
mov rcx, r14
call fcn.1400782f4
test eax, eax
jne 0x140023db2
mov r9, r14
lea edx, [rdi + 1]
mov r8d, 0x200
lea rcx, [rbp]
call fcn.140072320
mov rbx, rax
test rax, rax
jne 0x140023cd6
jmp 0x140023db2
mov edi, 0x2b
xor r14d, r14d
mov r13, qword [r13 + 0x48]
mov rax, r13
test edi, edi
jne 0x140023ea3
test rax, rax
jne 0x1400239c0
cmp qword [r12 + 0x48], rax
je 0x140023dfd
lea r9, [rbp - 0x68]
lea r8, str._r_n___s__
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
mov rsi, qword [rsp + 0x30]
mov r12, qword [r12]
test r12, r12
je 0x140023e33
mov r15, qword [rsp + 0x40]
jmp 0x1400238b7
mov rcx, rbx
call qword [fcn.140072c1c]
mov edi, 0x2b
jmp 0x140023ea3
mov rcx, rdi
call qword [fcn.140072c1c]
mov edi, 0x1b
jmp 0x140023ea3
test edi, edi
jne 0x140023ea3
lea r9, [rbp - 0x38]
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400235b0
mov edi, eax
test eax, eax
jne 0x140023ea3
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
xor eax, eax
jmp 0x140023ed6
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x140023e92
mov r8, qword [r13 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, r15
call fcn.140026980
mov rcx, qword [rsp + 0x48]
mov edi, 0x1a
mov qword [rcx], 0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x140023ed4
nop dword [rax]
cmp dword [rsi + 8], 2
mov rbx, qword [rsi]
jg 0x140023ec3
mov rcx, qword [rsi + 0x10]
call qword [fcn.140072c1c]
mov rcx, rsi
call qword [fcn.140072c1c]
mov rsi, rbx
test rbx, rbx
jne 0x140023eb0
mov eax, edi
mov rdi, qword [rsp + 0x320]
mov r13, qword [rsp + 0x318]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14006b1a0
add rsp, 0x328
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret