Function at 0x140134200
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x1402274c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x230]
mov rdi, r9
mov r13, r8
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x30], rax
mov r15d, eax
mov qword [rsp + 0x38], rax
mov r12d, eax
mov qword [rsp + 0x50], rax
mov qword [rdx], rax
test r8, r8
je 0x140134a8b
mov qword [rsp + 0x2d0], rbx
call fcn.1400f5ec0
mov rcx, rsi
mov ebx, eax
call fcn.1400f5ec0
lea rcx, str._________________________08x_08x
mov edx, eax
mov r8d, ebx
call fcn.140100c20
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1401342a9
lea eax, [rsi + 0x1b]
jmp 0x140134a83
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.140133ea0
mov ebx, eax
test eax, eax
je 0x1401342e5
mov rcx, rsi
call qword [fcn.140150b20]
mov eax, ebx
jmp 0x140134a83
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2c8], r14
mov qword [rsp + 0x68], rax
test r15, r15
je 0x14013431c
lea r8, [0x1401b8dec]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a30
lea r8, str.___s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, rsi
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a30
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a30
movsxd rbx, dword [r13 + 0x10]
mov rsi, qword [r13 + 8]
test rbx, rbx
js 0x140134a26
mov r14, qword [rsp + 0x38]
test r14, r14
js 0x140134a26
lea ecx, [rax + 0x20]
call qword [fcn.1401527d8]
mov rdi, rax
test rax, rax
je 0x140134a1f
xor r15d, r15d
mov qword [rax], r15
test rbx, rbx
jne 0x1401343ab
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], r15b
jne 0x1401343a2
lea rcx, [rbx + 1]
call qword [fcn.1401527d8]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140134a16
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.140152980
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x18], rbx
mov byte [rbx + rax], r15b
mov rax, qword [rsp + 0x30]
mov dword [rdi + 8], r15d
mov qword [rsp + 0x30], rdi
test rax, rax
je 0x1401343f2
mov qword [rax], rdi
lea r8, [0x1401c2190]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
add r14, rbx
mov qword [rsp + 0x38], r14
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
cmp qword [r13 + 0x48], r15
je 0x140134487
mov rcx, r12
call qword [fcn.140150b20]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400f5ec0
mov rcx, rsi
mov ebx, eax
call fcn.1400f5ec0
lea rcx, str._________________________08x_08x
mov edx, eax
mov r8d, ebx
call fcn.140100c20
mov r12, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140134a1f
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, rax
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
jmp 0x14013448c
mov rsi, qword [rsp + 0x60]
mov r15, r13
mov qword [rsp + 0x58], r13
cmp qword [r13 + 0x48], 0
je 0x1401344d6
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r12
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140134ab0
mov edi, eax
test eax, eax
jmp 0x1401344ff
mov eax, dword [r13 + 0x50]
test al, 0x51
je 0x140134505
cmp qword [r13 + 0x58], 0
jne 0x1401344e9
test al, 1
je 0x1401344fd
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.140134ab0
mov edi, eax
test edi, edi
jne 0x140134a2b
mov r9, qword [r15 + 0x38]
test r9, r9
je 0x14013452e
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
mov rbx, qword [r15 + 0x40]
test rbx, rbx
je 0x14013456e
nop word [rax + rax]
mov r9, qword [rbx]
lea r8, str._r_n_s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140134540
jmp 0x140134576
test edi, edi
jne 0x140134a2b
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
mov eax, dword [r13 + 0x50]
test al, 1
jne 0x14013476e
test al, 2
jne 0x14013476e
test al, 0x10
je 0x140134691
movsxd rbx, dword [r13 + 0x30]
mov rsi, qword [r13 + 0x28]
mov r15, qword [rsp + 0x38]
test rbx, rbx
js 0x140134862
test r15, r15
js 0x140134862
lea ecx, [rdi + 0x20]
call qword [fcn.1401527d8]
mov rdi, rax
test rax, rax
je 0x140134617
mov qword [rax], 0
test rbx, rbx
jne 0x1401345fb
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1401345f2
lea rcx, [rbx + 1]
call qword [fcn.1401527d8]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x140134652
mov rcx, rdi
call qword [fcn.140150b20]
mov edi, reloc.WLDAP32.dll_Ordinal_27
mov r14, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140134974
test edi, edi
jne 0x140134a2b
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x50]
mov r15, rax
jmp 0x140134494
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.140152980
mov qword [rdi + 0x18], rbx
mov rax, qword [rdi + 0x10]
mov byte [rbx + rax], 0
mov rax, qword [rsp + 0x30]
mov dword [rdi + 8], 1
mov qword [rsp + 0x30], rdi
test rax, rax
je 0x140134685
mov qword [rax], rdi
add r15, rbx
mov qword [rsp + 0x38], r15
xor edi, edi
jmp 0x14013461c
test al, 0x40
je 0x140134705
test al, al
jns 0x14013469f
mov rbx, qword [r13 + 0x68]
jmp 0x1401346a3
movsxd rbx, dword [r13 + 0x20]
mov rdi, qword [r13 + 0x60]
mov r15, qword [rsp + 0x38]
test rbx, rbx
js 0x140134862
test r15, r15
js 0x140134862
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.1401527d8]
test rax, rax
je 0x140134617
mov rcx, qword [rsp + 0x30]
mov qword [rax], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 2
mov qword [rsp + 0x30], rax
test rcx, rcx
je 0x1401346f6
mov qword [rcx], rax
add r15, rbx
xor edi, edi
mov qword [rsp + 0x38], r15
jmp 0x14013461c
test al, al
jns 0x14013470f
mov rbx, qword [r13 + 0x68]
jmp 0x140134713
movsxd rbx, dword [r13 + 0x20]
mov rsi, qword [r13 + 0x18]
mov r15, qword [rsp + 0x38]
test rbx, rbx
js 0x140134862
test r15, r15
js 0x140134862
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.1401527d8]
mov rdi, rax
test rax, rax
je 0x140134617
mov qword [rax], 0
test rbx, rbx
jne 0x1401345fb
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140134760
jmp 0x1401345fb
mov rdx, qword [r15 + 0x18]
lea rcx, [0x1401b85a0]
call fcn.140115660
test eax, eax
je 0x140134789
call fcn.140151d00
jmp 0x140134799
mov rcx, qword [r15 + 0x18]
lea rdx, [0x1401cdba0]
call fcn.1401541a4
mov r12, rax
test rax, rax
je 0x140134941
call fcn.140151d00
cmp r12, rax
je 0x14013486c
mov rcx, r12
call fcn.140153c8c
mov rdi, qword [r15 + 0x18]
mov r15, qword [rsp + 0x38]
test r15, r15
js 0x140134862
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.1401527d8]
mov rbx, rax
test rax, rax
je 0x140134617
mov qword [rax], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
test rax, rax
je 0x140134808
mov qword [rax], rbx
mov rdx, qword [rbx + 0x10]
lea rcx, [0x1401b85a0]
call fcn.140115660
test eax, eax
jne 0x14013468d
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x78]
call fcn.140156f78
test eax, eax
jne 0x140134859
movzx eax, word [rsp + 0x7e]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x140134859
add r15, qword [rbp - 0x70]
xor edi, edi
mov qword [rsp + 0x38], r15
jmp 0x14013461c
mov rcx, rbx
call qword [fcn.140150b20]
mov edi, Ordinal_46
jmp 0x14013461c
lea rcx, [rbp - 0x50]
mov r9, r12
mov edx, 1
mov r8d, 0x200
call fcn.1401543d0
mov r15, qword [rsp + 0x38]
mov r14, rax
test rax, rax
je 0x14013461c
mov rsi, qword [rsp + 0x30]
xor edi, edi
nop dword [rax + rax]
test r14, r14
js 0x140134862
test r15, r15
js 0x140134862
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.1401527d8]
mov rbx, rax
test rax, rax
je 0x140134617
lea rcx, [r14 + 1]
mov qword [rax], rdi
call qword [fcn.1401527d8]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140134939
lea rdx, [rbp - 0x50]
mov r8, r14
mov rcx, rax
call fcn.140152980
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x18], r14
mov byte [r14 + rax], dil
mov qword [rsp + 0x30], rbx
mov dword [rbx + 8], 1
test rsi, rsi
je 0x140134906
mov qword [rsi], rbx
lea rcx, [rbp - 0x50]
add r15, r14
mov r9, r12
mov edx, 1
mov r8d, 0x200
mov rsi, rbx
mov qword [rsp + 0x38], r15
call fcn.1401543d0
mov r14, rax
test rax, rax
jne 0x1401348a0
jmp 0x14013461c
mov rcx, rbx
jmp 0x140134611
test rsi, rsi
je 0x140134959
mov r8, qword [r15 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, rsi
call fcn.1400fe7c0
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
mov edi, reloc.WLDAP32.dll_Ordinal_26
mov qword [r14], 0
jmp 0x140134621
test edi, edi
jne 0x140134a2b
cmp qword [r13 + 0x48], 0
mov r12, qword [rsp + 0x50]
je 0x1401349b0
lea r8, str._r_n___s__
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r12
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a2b
mov r15, qword [rsp + 0x38]
mov r13, qword [r13]
test r13, r13
je 0x1401349c3
mov rsi, qword [rsp + 0x48]
jmp 0x1401342f7
test edi, edi
jne 0x140134a2b
mov rsi, qword [rsp + 0x48]
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, rsi
call fcn.140133ea0
mov edi, eax
test eax, eax
jne 0x140134a30
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r12
call qword [fcn.140150b20]
mov rcx, rsi
call qword [fcn.140150b20]
mov rax, qword [rsp + 0x68]
mov qword [r14], rax
xor eax, eax
jmp 0x140134a7b
mov rcx, rdi
call qword [fcn.140150b20]
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140134a2b
mov edi, Ordinal_46
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x140134a65
nop word [rax + rax]
cmp dword [r14 + 8], 1
mov rbx, qword [r14]
jg 0x140134a54
mov rcx, qword [r14 + 0x10]
call qword [fcn.140150b20]
mov rcx, r14
call qword [fcn.140150b20]
mov r14, rbx
test rbx, rbx
jne 0x140134a40
mov rcx, qword [rsp + 0x50]
call qword [fcn.140150b20]
mov rcx, rsi
call qword [fcn.140150b20]
mov eax, edi
mov r14, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140150a60
add rsp, 0x2d8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret