Function at 0x140035fe0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r13, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0xa0], rax
test rdx, rdx
je 0x14003602b
cmp qword [rsi + 0x18], 0x10
mov rax, rsi
jb 0x140036020
mov rax, qword [rsi]
mov qword [rsi + 0x10], 0
mov byte [rax], 0
mov rcx, rdi
call fcn.140035370
test al, al
jne 0x1400360dd
lea rdx, [0x14019e0e2]
mov rcx, rdi
call fcn.140038f10
test rax, rax
je 0x1400360dd
mov r14, rax
mov qword [rsp + 0x30], rsi
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.140031f80
mov rcx, rdi
mov rdx, rsi
call fcn.140039720
mov edi, eax
mov rbp, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140012100
test dil, dil
mov edi, 0xffff
cmovne rdi, rbp
mov eax, 0xffff
test rbp, rbp
cmovle rdi, rax
cmp rdi, r13
cmova rdi, r13
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
inc rdi
je 0x140036105
cmp rdi, 0xf
jbe 0x140036115
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
mov rdx, rdi
mov r9, rdi
call fcn.140009440
jmp 0x14003612e
xor edi, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14014b5e0
mov eax, edi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x50], 0
jmp 0x14003612e
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8, rdi
call fcn.14016f6e0
mov byte [rsp + rdi + 0x50], 0
lea rcx, [rsp + 0x38]
xor esi, esi
xor edx, edx
call fcn.14004f370
cmp qword [rsp + 0x68], 0xf
jbe 0x14003614b
mov rcx, qword [rsp + 0x50]
jmp 0x140036150
lea rcx, [rsp + 0x50]
mov edx, 1
mov r8, rdi
mov r9, r14
call fcn.14017fa90
test rax, rax
je 0x140036253
mov r15d, 0x10000
lea r12, [rsp + 0x50]
xor esi, esi
nop word cs:[rax + rax]
mov rcx, r13
sub rcx, rsi
cmp rcx, rax
jb 0x140036266
test rsi, rsi
cmove rdi, r15
add rsi, rax
mov rcx, r14
call fcn.14017f060
test eax, eax
jne 0x140036253
lea rbp, [rsi + rdi]
mov rcx, qword [rsp + 0x60]
mov r8, rbp
sub r8, rcx
jbe 0x1400361e0
mov rax, qword [rsp + 0x68]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140036200
mov byte [rsp + 0x20], 0
mov rcx, r12
mov rdx, r8
mov r9, r8
call fcn.140009440
jmp 0x140036227
cmp qword [rsp + 0x68], 0xf
mov rax, r12
jbe 0x1400361f0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rbp
mov byte [rax + rbp], 0
jmp 0x140036227
mov rbx, r12
mov qword [rsp + 0x60], rbp
cmp rax, 0xf
jbe 0x140036213
mov rbx, qword [rsp + 0x50]
add rcx, rbx
xor edx, edx
call fcn.14016f6e0
mov byte [rbx + rbp], 0
mov r15d, 0x10000
cmp qword [rsp + 0x68], 0xf
mov rcx, r12
jbe 0x140036237
mov rcx, qword [rsp + 0x50]
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, r14
call fcn.14017fa90
test rax, rax
jne 0x140036180
mov rcx, r14
call fcn.14017f090
test eax, eax
sete dil
mov r13, rsi
jmp 0x140036268
xor edi, edi
mov rcx, r14
call fcn.14017ef70
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140036320
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsi + 0x10]
mov r8, r13
sub r8, rcx
jbe 0x1400362ec
mov rax, qword [rsi + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140036304
mov byte [rsp + 0x20], 0
mov rcx, rsi
mov rdx, r8
mov r9, r8
call fcn.140009440
jmp 0x140036320
cmp qword [rsi + 0x18], 0x10
mov rax, rsi
jb 0x1400362f9
mov rax, qword [rsi]
mov qword [rsi + 0x10], r13
mov byte [rax + r13], 0
jmp 0x140036320
mov qword [rsi + 0x10], r13
cmp rax, 0x10
jb 0x140036311
mov rsi, qword [rsi]
add rcx, rsi
xor edx, edx
call fcn.14016f6e0
mov byte [rsi + r13], 0
lea rcx, [rsp + 0x38]
call fcn.14004f470
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x1400360df
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140036366
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140036370
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14014b210
jmp 0x1400360df
call fcn.140179190
ud2
mov r8, 0xffffffffffffffff
jmp 0x140035fe0