Function at 0x14006a000
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x1400933c8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
mov rcx, qword [rbp + 0x1f0]
mov rsi, r9
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov r12, r8
mov qword [rsp + 0x38], rcx
mov edi, ecx
mov qword [rsp + 0x30], rcx
mov r15d, ecx
mov qword [rdx], rcx
mov qword [rsp + 0x48], rdx
test r8, r8
jne 0x14006a064
xor eax, eax
jmp 0x14006a36d
mov rcx, r14
mov qword [rsp + 0x290], rbx
call fcn.140069fc0
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14006a089
lea eax, [rbx + 0x1b]
jmp 0x14006a365
lea r9, str.Content_Type:_multipart_form_data
test rsi, rsi
lea r8, str._s__boundary_s_r_n
cmovne r9, rsi
lea rcx, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140069b00
mov esi, eax
test eax, eax
je 0x14006a0c5
mov rcx, rbx
call qword [fcn.14001cb88]
mov eax, esi
jmp 0x14006a365
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x288], r13
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
nop dword [rax]
test rdi, rdi
je 0x14006a10a
lea r8, [0x140073114]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
mov rbx, qword [rsp + 0x40]
lea r8, str.___s_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, rbx
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
movsxd r9, dword [r12 + 0x10]
mov r8, qword [r12 + 8]
lea rax, [rsp + 0x30]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140069960
mov ebx, eax
test eax, eax
jne 0x14006a33a
lea r8, [0x1400853a0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
cmp qword [r12 + 0x48], 0
je 0x14006a1e0
mov rcx, r15
call qword [fcn.14001cb88]
mov rcx, r14
call fcn.140069fc0
mov r15, rax
test rax, rax
je 0x14006a546
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, rax
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
mov r13, r12
cmp qword [r12 + 0x48], 0
je 0x14006a226
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, r15
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.140069ca0
mov ebx, eax
test eax, eax
jmp 0x14006a251
mov eax, dword [r12 + 0x50]
test al, 0x51
je 0x14006a257
cmp qword [r12 + 0x58], 0
jne 0x14006a23b
test al, 1
je 0x14006a24f
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.140069ca0
mov ebx, eax
test ebx, ebx
jne 0x14006a33a
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x14006a280
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
mov rdi, qword [r13 + 0x40]
test rdi, rdi
je 0x14006a2be
nop dword [rax]
mov r9, qword [rdi]
lea r8, str._r_n_s
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14006a290
jmp 0x14006a2c2
test ebx, ebx
jne 0x14006a33a
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
mov eax, dword [r12 + 0x50]
test al, 1
jne 0x14006a3dc
test al, 2
jne 0x14006a3dc
test al, 0x10
je 0x14006a38d
movsxd r9, dword [r12 + 0x30]
mov r8, qword [r12 + 0x28]
lea rax, [rsp + 0x30]
mov edx, 2
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
call fcn.140069960
mov ebx, eax
mov rdi, qword [rsp + 0x48]
mov r13, qword [r13 + 0x48]
test r13, r13
je 0x14006a4fb
test ebx, ebx
je 0x14006a1e3
mov rsi, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140069b70
mov rcx, r15
call qword [fcn.14001cb88]
mov rcx, rsi
call qword [fcn.14001cb88]
mov eax, ebx
mov r13, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x290]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140019560
add rsp, 0x298
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
test al, 0x40
je 0x14006a3ba
test al, al
jns 0x14006a39c
mov r9, qword [r12 + 0x68]
jmp 0x14006a3a1
movsxd r9, dword [r12 + 0x20]
mov r8, qword [r12 + 0x60]
lea rax, [rsp + 0x30]
mov edx, 3
mov qword [rsp + 0x20], rax
jmp 0x14006a314
test al, al
jns 0x14006a3cd
mov r9, qword [r12 + 0x68]
mov r8, qword [r12 + 0x18]
jmp 0x14006a305
movsxd r9, dword [r12 + 0x20]
mov r8, qword [r12 + 0x18]
jmp 0x14006a305
mov rax, qword [r13 + 0x18]
lea rsi, [0x140079128]
mov ecx, 2
mov rdi, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x14006a3fa
call fcn.14001e2e8
jmp 0x14006a409
lea rdx, [0x140072db0]
mov rcx, rax
call fcn.140019da8
mov rdi, rax
test rax, rax
je 0x14006a4cd
call fcn.14001e2e8
cmp rdi, rax
je 0x14006a441
mov rcx, rdi
call fcn.14001960c
mov r8, qword [r13 + 0x18]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 4]
jmp 0x14006a314
lea rcx, [rsp + 0x70]
mov r9, rdi
mov edx, 1
mov r8d, 0x200
call fcn.140019be0
test rax, rax
je 0x14006a320
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x38]
mov edx, 2
call fcn.140069960
mov ebx, eax
test eax, eax
jne 0x14006a320
mov rcx, rdi
call fcn.140019c00
test eax, eax
jne 0x14006a320
mov rcx, rdi
call fcn.140019c38
test eax, eax
jne 0x14006a320
lea edx, [rbx + 1]
lea rcx, [rsp + 0x70]
mov r9, rdi
mov r8d, 0x200
call fcn.140019be0
test rax, rax
jne 0x14006a462
jmp 0x14006a320
test r14, r14
je 0x14006a4e5
mov r8, qword [r13 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, r14
call fcn.14003d9b0
mov rdi, qword [rsp + 0x48]
mov ebx, reloc.WLDAP32.dll_Ordinal_26
mov qword [rdi], 0
jmp 0x14006a325
test ebx, ebx
jne 0x14006a33a
cmp qword [r12 + 0x48], 0
je 0x14006a52e
lea r8, str._r_n___s__
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, r15
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33a
mov r12, qword [r12]
test r12, r12
je 0x14006a550
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
jmp 0x14006a0e0
mov ebx, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14006a33a
test ebx, ebx
jne 0x14006a33a
mov rsi, qword [rsp + 0x40]
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, rsi
call fcn.140069b00
mov ebx, eax
test eax, eax
jne 0x14006a33f
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
mov rcx, r15
call qword [fcn.14001cb88]
mov rcx, rsi
call qword [fcn.14001cb88]
mov rdx, qword [rsp + 0x50]
xor eax, eax
mov qword [rdi], rdx
jmp 0x14006a35d