Function at 0x14003f850
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x1401bd830]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r13, rcx
mov qword [rsp + 0x40], rdx
mov rcx, qword [rbp + 0x1e0]
mov rdi, r9
mov qword [rsp + 0x48], rcx
mov rsi, r8
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov ebx, ecx
mov qword [rsp + 0x38], rcx
mov r15d, ecx
mov qword [rdx], rcx
test r8, r8
jne 0x14003f8b3
xor eax, eax
jmp 0x14003fd5f
mov rcx, r13
mov qword [rsp + 0x280], r12
call fcn.14003fd80
mov r12, rax
test rax, rax
jne 0x14003f8d5
lea eax, [r12 + 0x1b]
jmp 0x14003fd57
test rdi, rdi
mov qword [rsp + 0x20], r12
lea r9, str.Content_Type:_multipart_form_data
cmovne r9, rdi
lea r8, str._s__boundary_s_r_n
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
je 0x14003f911
mov rcx, r12
call qword [fcn.14011e248]
mov eax, edi
jmp 0x14003fd57
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x278], r14
test rbx, rbx
je 0x14003f94d
lea r8, [0x140140488]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov r9, r12
lea r8, str.___s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
movsxd r9, dword [rsi + 0x10]
lea rax, [rsp + 0x38]
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14003f3f0
mov edi, eax
test eax, eax
jne 0x14003fd31
lea r8, [0x14017a23c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
cmp qword [rsi + 0x48], 0
je 0x14003fa1f
mov rcx, r15
call qword [fcn.14011e248]
mov rcx, r13
call fcn.14003fd80
mov r15, rax
test rax, rax
je 0x14003fcb2
mov r9, rax
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov r14, rsi
cmp qword [rsi + 0x48], 0
je 0x14003fa64
mov r9, r15
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
lea r8, [rsp + 0x38]
mov rcx, r14
lea rdx, [rsp + 0x30]
call fcn.14003fdc0
mov edi, eax
test eax, eax
jmp 0x14003fa8c
mov eax, dword [rsi + 0x50]
test al, 0x51
je 0x14003fa92
cmp qword [rsi + 0x58], 0
jne 0x14003fa76
test al, 1
je 0x14003fa8a
lea r8, [rsp + 0x38]
mov rcx, rsi
lea rdx, [rsp + 0x30]
call fcn.14003fdc0
mov edi, eax
test edi, edi
jne 0x14003fd31
mov r9, qword [r14 + 0x38]
test r9, r9
je 0x14003fabb
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov rbx, qword [r14 + 0x40]
test rbx, rbx
je 0x14003fafe
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbx]
lea r8, str._r_n_s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14003fad0
jmp 0x14003fb06
test edi, edi
jne 0x14003fd31
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov eax, dword [rsi + 0x50]
test al, 3
jne 0x14003fba3
test al, 0x10
je 0x14003fb3b
movsxd r9, dword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
jmp 0x14003fb83
test al, 0x40
je 0x14003fb71
test al, al
jns 0x14003fb49
mov r9, qword [rsi + 0x68]
jmp 0x14003fb4d
movsxd r9, dword [rsi + 0x20]
mov r8, qword [rsi + 0x60]
lea rax, [rsp + 0x38]
mov edx, 2
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
call fcn.14003f3f0
mov edi, eax
jmp 0x14003fc62
test al, al
jns 0x14003fb7b
mov r9, qword [rsi + 0x68]
jmp 0x14003fb7f
movsxd r9, dword [rsi + 0x20]
mov r8, qword [rsi + 0x18]
mov edx, 1
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14003f3f0
mov edi, eax
jmp 0x14003fc62
mov rdx, qword [r14 + 0x18]
lea rcx, [0x14017a3d4]
call fcn.140052f80
test eax, eax
je 0x14003fbc0
xor ecx, ecx
call fcn.140118758
jmp 0x14003fbd0
mov rcx, qword [r14 + 0x18]
lea rdx, [0x1401423bc]
call fcn.14011eb20
mov rbx, rax
test rax, rax
je 0x14003fd08
xor ecx, ecx
call fcn.140118758
cmp rbx, rax
je 0x14003fbfd
mov rcx, rbx
call fcn.14011ec50
mov r8, qword [r14 + 0x18]
xor r9d, r9d
lea edx, [r9 + 3]
jmp 0x14003fb88
mov r9, rbx
lea rcx, [rsp + 0x60]
mov edx, 1
mov r8d, 0x200
call fcn.14012622c
test rax, rax
je 0x14003fc62
nop word [rax + rax]
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.14003f3f0
mov edi, eax
test eax, eax
jne 0x14003fc62
mov r9, rbx
lea edx, [rax + 1]
mov r8d, 0x200
lea rcx, [rsp + 0x60]
call fcn.14012622c
test rax, rax
jne 0x14003fc20
mov r14, qword [r14 + 0x48]
test edi, edi
jne 0x14003fd31
test r14, r14
jne 0x14003fa22
cmp qword [rsi + 0x48], r14
je 0x14003fca0
mov r9, r15
lea r8, str._r_n___s__
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov rsi, qword [rsi]
test rsi, rsi
je 0x14003fcb9
mov rbx, qword [rsp + 0x38]
jmp 0x14003f928
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14003fd31
mov r9, r12
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f590
mov edi, eax
test eax, eax
jne 0x14003fd31
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r15
call qword [fcn.14011e248]
mov rcx, r12
call qword [fcn.14011e248]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
xor eax, eax
jmp 0x14003fd4f
test r13, r13
je 0x14003fd20
mov r8, qword [r14 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, r13
call fcn.140037c70
mov rax, qword [rsp + 0x40]
mov edi, reloc.WLDAP32.dll_Ordinal_26
mov qword [rax], 0
lea rcx, [rsp + 0x58]
call fcn.14003f7c0
mov rcx, r15
call qword [fcn.14011e248]
mov rcx, r12
call qword [fcn.14011e248]
mov eax, edi
mov r14, qword [rsp + 0x278]
mov r12, qword [rsp + 0x280]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140111cf0
add rsp, 0x288
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret