Function at 0x1401a1260
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbp + 0x240]
mov rbx, r9
mov qword [rsp + 0x78], rcx
mov r12, r8
xor ecx, ecx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x38], rcx
mov r15d, ecx
mov qword [rsp + 0x30], rcx
mov r14d, ecx
mov qword [rsp + 0x40], rcx
mov qword [rdx], rcx
test r8, r8
jne 0x1401a12cf
xor eax, eax
jmp 0x1401a19b0
mov r8d, 2
mov qword [rsp + 0x2d8], r13
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1401a9f20
test eax, eax
jne 0x1401a1a48
mov r8d, dword [rsp + 0x64]
lea rcx, str._________________________08x_08x
mov edx, dword [rsp + 0x60]
call fcn.140184c20
mov qword [rsp + 0x50], rax
mov r13, rax
test rax, rax
je 0x1401a1a48
test rbx, rbx
mov qword [rsp + 0x20], rax
lea r9, str.Content_Type:_multipart_form_data
cmovne r9, rbx
lea r8, str._s__boundary_s_r_n
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov ebx, eax
test eax, eax
je 0x1401a1354
mov rcx, r13
call qword [fcn.14021a220]
mov eax, ebx
jmp 0x1401a19a8
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x2e0], rdi
test r15, r15
je 0x1401a138b
lea r8, [0x140276b1c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19eb
mov r9, r13
lea r8, str.___s_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19eb
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19eb
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.1401a0bb0
mov edi, eax
test eax, eax
jne 0x1401a19eb
lea r8, [0x140280760]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19eb
cmp qword [r12 + 0x48], 0
je 0x1401a148c
mov rcx, r14
call qword [fcn.14021a220]
lea r8d, [rdi + 2]
mov rcx, rsi
lea rdx, [rsp + 0x68]
call fcn.1401a9f20
test eax, eax
jne 0x1401a19d0
mov r8d, dword [rsp + 0x6c]
lea rcx, str._________________________08x_08x
mov edx, dword [rsp + 0x68]
call fcn.140184c20
mov qword [rsp + 0x40], rax
mov r14, rax
test rax, rax
je 0x1401a19d7
mov r9, rax
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19e1
mov r13, r12
nop
cmp qword [r12 + 0x48], 0
je 0x1401a14d3
mov r9, r14
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19e6
lea r8, [rsp + 0x30]
mov rcx, r13
lea rdx, [rsp + 0x38]
call fcn.1401a24e0
mov edi, eax
test eax, eax
jmp 0x1401a14fe
mov eax, dword [r12 + 0x50]
test al, 0x51
je 0x1401a1504
cmp qword [r12 + 0x58], 0
jne 0x1401a14e8
test al, 1
je 0x1401a14fc
lea r8, [rsp + 0x30]
mov rcx, r12
lea rdx, [rsp + 0x38]
call fcn.1401a24e0
mov edi, eax
test edi, edi
jne 0x1401a19e6
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x1401a152d
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19e6
mov rbx, qword [r13 + 0x40]
test rbx, rbx
je 0x1401a156e
nop word [rax + rax]
mov r9, qword [rbx]
lea r8, str._r_n_s
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19e6
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1401a1540
jmp 0x1401a1576
test edi, edi
jne 0x1401a19e6
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19e6
mov eax, dword [r12 + 0x50]
test al, 3
jne 0x1401a1689
test al, 0x10
je 0x1401a15d4
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.1401a0bb0
mov r15, qword [rsp + 0x30]
mov edi, eax
jmp 0x1401a189a
test al, 0x40
je 0x1401a164f
test al, al
jns 0x1401a15e3
mov rbx, qword [r12 + 0x68]
jmp 0x1401a15e8
movsxd rbx, dword [r12 + 0x20]
mov rdi, qword [r12 + 0x60]
mov r15, qword [rsp + 0x30]
test rbx, rbx
js 0x1401a1784
test r15, r15
js 0x1401a1784
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
test rax, rax
jne 0x1401a161c
lea edi, [rax + 0x1b]
jmp 0x1401a189a
mov rcx, qword [rsp + 0x38]
add r15, rbx
mov qword [rax], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 3
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x1401a1648
mov qword [rcx], rax
xor edi, edi
jmp 0x1401a189a
test al, al
jns 0x1401a165a
mov r9, qword [r12 + 0x68]
jmp 0x1401a165f
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.1401a0bb0
mov r15, qword [rsp + 0x30]
mov edi, eax
jmp 0x1401a189a
mov rcx, qword [r13 + 0x18]
movzx eax, byte [0x1402762b0]
cmp al, byte [rcx]
jne 0x1401a16ad
movzx eax, byte [0x1402762b1]
cmp al, byte [rcx + 1]
jne 0x1401a16ad
xor ecx, ecx
call fcn.1401f52bc
jmp 0x1401a16b9
lea rdx, [0x1402766a4]
call fcn.1401f7148
mov r14, rax
test rax, rax
je 0x1401a18d1
xor ecx, ecx
call fcn.1401f52bc
cmp r14, rax
je 0x1401a178e
mov rcx, r14
call fcn.1401f5cc4
mov r15, qword [rsp + 0x30]
mov rdi, qword [r13 + 0x18]
test r15, r15
js 0x1401a1784
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
mov rbx, rax
test rax, rax
jne 0x1401a170a
lea edi, [rax + 0x1b]
jmp 0x1401a189a
mov qword [rax], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 4
movzx eax, byte [0x1402762b0]
cmp al, byte [rdi]
jne 0x1401a1733
movzx eax, byte [0x1402762b1]
cmp al, byte [rdi + 1]
je 0x1401a1762
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140239ed8
test eax, eax
jne 0x1401a177b
movzx eax, word [rbp - 0x7a]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x1401a177b
add r15, qword [rbp - 0x68]
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
test rax, rax
je 0x1401a1774
mov qword [rax], rbx
xor edi, edi
jmp 0x1401a189a
mov rcx, rbx
call qword [fcn.14021a220]
mov edi, Ordinal_46
jmp 0x1401a189a
mov r9, r14
lea rcx, [rbp - 0x40]
mov edx, 1
mov r8d, 0x200
call fcn.14021a51c
mov r15, qword [rsp + 0x30]
mov rbx, rax
test rax, rax
je 0x1401a189a
mov rsi, qword [rsp + 0x38]
nop dword [rax + rax]
test rbx, rbx
js 0x1401a18ca
test r15, r15
js 0x1401a18ca
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x1401a18c3
mov qword [rax], 0
test rbx, rbx
jne 0x1401a1809
lea rax, [rbp - 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401a1800
lea rcx, [rbx + 1]
call qword [section..data]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1401a18ba
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14026a470
mov rax, qword [rdi + 0x10]
add r15, rbx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rdi
mov byte [rbx + rax], 0
mov qword [rdi + 0x18], rbx
mov dword [rdi + 8], 2
test rsi, rsi
je 0x1401a1857
mov qword [rsi], rdi
mov rsi, rdi
mov rcx, r14
xor edi, edi
call fcn.140231a88
test eax, eax
jne 0x1401a1895
mov rcx, r14
call fcn.140231ab4
test eax, eax
jne 0x1401a1895
mov r9, r14
lea edx, [rdi + 1]
mov r8d, 0x200
lea rcx, [rbp - 0x40]
call fcn.14021a51c
mov rbx, rax
test rax, rax
jne 0x1401a17c0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov r13, qword [r13 + 0x48]
test r13, r13
je 0x1401a1901
test edi, edi
jne 0x1401a19e6
mov r14, qword [rsp + 0x40]
jmp 0x1401a1490
mov rcx, rdi
call qword [fcn.14021a220]
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401a1895
mov edi, Ordinal_46
jmp 0x1401a1895
test rsi, rsi
je 0x1401a18e9
mov r8, qword [r13 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, rsi
call fcn.1401786b0
mov rbx, qword [rsp + 0x48]
mov edi, reloc.WLDAP32.dll_Ordinal_26
mov r15, qword [rsp + 0x30]
mov qword [rbx], 0
jmp 0x1401a189f
test edi, edi
jne 0x1401a19e6
cmp qword [r12 + 0x48], 0
mov r14, qword [rsp + 0x40]
je 0x1401a193e
mov r9, r14
lea r8, str._r_n___s__
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a1a3e
mov r15, qword [rsp + 0x30]
mov r12, qword [r12]
mov r13, qword [rsp + 0x50]
test r12, r12
jne 0x1401a1366
test edi, edi
jne 0x1401a19eb
mov r9, r13
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401a0d50
mov edi, eax
test eax, eax
jne 0x1401a19eb
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
mov rcx, r14
call qword [fcn.14021a220]
mov rcx, r13
call qword [fcn.14021a220]
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
xor eax, eax
mov rdi, qword [rsp + 0x2e0]
mov r13, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0x2e8
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
xor esi, esi
lea edi, [rsi + 0x1b]
jmp 0x1401a19f0
mov rsi, rax
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401a19f0
mov rsi, r14
jmp 0x1401a19f0
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1401a1a25
nop word [rax + rax]
cmp dword [r15 + 8], 2
mov rbx, qword [r15]
jg 0x1401a1a14
mov rcx, qword [r15 + 0x10]
call qword [fcn.14021a220]
mov rcx, r15
call qword [fcn.14021a220]
mov r15, rbx
test rbx, rbx
jne 0x1401a1a00
mov rcx, rsi
call qword [fcn.14021a220]
mov rcx, r13
call qword [fcn.14021a220]
mov eax, edi
jmp 0x1401a19a0
mov r13, qword [rsp + 0x50]
mov rsi, r14
jmp 0x1401a19f0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401a19a8