Function at 0x140115920
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor eax, eax
mov qword [rsp + 0x50], r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rax
mov ebx, eax
mov qword [rsp + 0x38], rax
mov r14d, eax
mov qword [rcx], rax
test rdx, rdx
je 0x140115c6f
mov qword [rsp + 0x278], r13
call fcn.140115860
mov r13, rax
test rax, rax
jne 0x140115992
lea eax, [r14 + 0x1b]
jmp 0x140115c67
lea r9, str.Content_Type:_multipart_form_data
test rdi, rdi
lea r8, str._s__boundary_s_r_n
cmovne r9, rdi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1401154b0
mov edi, eax
test eax, eax
je 0x1401159ce
mov rcx, r13
call qword [fcn.14025db40]
mov eax, edi
jmp 0x140115c67
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x280], r12
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
test rbx, rbx
je 0x140115a0a
lea r8, [0x1402da884]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
lea r8, str.___s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r13
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
movsxd r9, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140115390
mov edi, eax
test eax, eax
jne 0x140115c4a
lea r8, [0x1403448bc]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
cmp qword [rsi + 0x48], 0
je 0x140115ac7
call fcn.140115860
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, rax
mov r14, rax
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
mov r12, rsi
nop word [rax + rax]
cmp qword [rsi + 0x48], 0
je 0x140115b25
xor ebx, ebx
cmp qword [r12 + 0x58], rbx
jne 0x140115af6
mov rcx, qword [r12 + 0x18]
call fcn.140115610
mov rbx, rax
test rax, rax
je 0x140115e11
mov rcx, qword [r12 + 0x58]
mov rdx, rbx
lea r8, str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
test rcx, rcx
mov r9, r14
cmovne rdx, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x38]
call fcn.1401154b0
jmp 0x140115b66
test byte [rsi + 0x50], 0x51
je 0x140115b7e
cmp qword [rsi + 0x58], 0
jne 0x140115b40
mov rcx, qword [rsi + 0x18]
call fcn.140115610
mov rbx, rax
jmp 0x140115b42
xor ebx, ebx
mov rax, qword [rsi + 0x58]
mov r9, rbx
lea r8, str.__filename__s_
test rax, rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
cmovne r9, rax
call fcn.1401154b0
mov edi, eax
test rbx, rbx
je 0x140115b76
mov rcx, rbx
call qword [fcn.14025db40]
test edi, edi
jne 0x140115c4a
mov r9, qword [r12 + 0x38]
test r9, r9
je 0x140115ba8
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
mov rbx, qword [r12 + 0x40]
test rbx, rbx
je 0x140115bea
nop word [rax + rax]
mov r9, qword [rbx]
lea r8, str._r_n_s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140115bc0
jmp 0x140115bee
test edi, edi
jne 0x140115c4a
lea r8, [0x1402e0034]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1401154b0
mov edi, eax
test eax, eax
jne 0x140115c4a
mov eax, dword [rsi + 0x50]
test al, 1
jne 0x140115cd6
test al, 2
jne 0x140115cd6
lea rcx, [rsp + 0x30]
test al, 0x10
je 0x140115c8e
movsxd r9, dword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
lea rax, [rsp + 0x38]
lea edx, [rdi + 1]
mov qword [rsp + 0x20], rax
call fcn.140115390
mov edi, eax
test eax, eax
je 0x140115db6
lea rcx, [rsp + 0x40]
call fcn.140115530
mov rcx, r13
call qword [fcn.14025db40]
mov eax, edi
mov r12, qword [rsp + 0x280]
mov r13, qword [rsp + 0x278]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14025db20
add rsp, 0x288
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
movsxd r9, dword [rsi + 0x20]
test al, 0x40
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
je 0x140115cb9
mov r8, qword [rsi + 0x60]
mov edx, 2
call fcn.140115390
mov edi, eax
test eax, eax
jne 0x140115c4a
jmp 0x140115db6
mov r8, qword [rsi + 0x18]
mov edx, 1
call fcn.140115390
mov edi, eax
test eax, eax
jne 0x140115c4a
jmp 0x140115db6
mov rdx, qword [r12 + 0x18]
lea rcx, [0x140345230]
call fcn.1401136e0
test eax, eax
je 0x140115cf2
call fcn.140260858
jmp 0x140115d03
mov rcx, qword [r12 + 0x18]
lea rdx, [0x140332754]
call fcn.140263598
mov rbx, rax
test rax, rax
je 0x140115e94
call fcn.140260858
cmp rbx, rax
je 0x140115d4d
mov rcx, rbx
call fcn.14025d970
mov r8, qword [r12 + 0x18]
xor r9d, r9d
lea r11, [rsp + 0x38]
lea edx, [r9 + 3]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], r11
call fcn.140115390
mov edi, eax
test eax, eax
jne 0x140115c4a
jmp 0x140115db6
lea rcx, [rsp + 0x60]
mov r9, rbx
mov edx, 1
mov r8d, 0x200
call fcn.140262d64
test rax, rax
je 0x140115db6
nop word [rax + rax]
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x60]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.140115390
mov edi, eax
test eax, eax
jne 0x140115c4a
lea edx, [rax + 1]
lea rcx, [rsp + 0x60]
mov r9, rbx
mov r8d, 0x200
call fcn.140262d64
test rax, rax
jne 0x140115d70
mov r12, qword [r12 + 0x48]
test r12, r12
jne 0x140115ad0
test edi, edi
jne 0x140115c4a
cmp qword [rsi + 0x48], 0
je 0x140115dff
lea r8, str._r_n___s__
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r14
call fcn.1401154b0
mov rcx, r14
mov edi, eax
call qword [fcn.14025db40]
test edi, edi
jne 0x140115c4a
mov rsi, qword [rsi]
test rsi, rsi
je 0x140115e2e
mov rbx, qword [rsp + 0x38]
jmp 0x1401159e5
lea rcx, [rsp + 0x40]
call fcn.140115530
mov rcx, r13
call qword [fcn.14025db40]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140115c5f
test edi, edi
jne 0x140115c4a
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r13
call fcn.1401154b0
mov ebx, eax
test eax, eax
je 0x140115e6f
lea rcx, [rsp + 0x40]
call fcn.140115530
mov rcx, r13
call qword [fcn.14025db40]
mov eax, ebx
jmp 0x140115c5f
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r13
call qword [fcn.14025db40]
mov r11, qword [rsp + 0x48]
xor eax, eax
mov qword [r15], r11
jmp 0x140115c5f
lea rcx, [rsp + 0x40]
call fcn.140115530
mov rcx, r13
call qword [fcn.14025db40]
mov qword [r15], 0
mov eax, reloc.WLDAP32.dll_Ordinal_26
jmp 0x140115c5f