Function at 0x140032ad0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13, r8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x80], rax
test rdx, rdx
je 0x140032b1e
cmp qword [r12 + 0x18], 0x10
mov rax, r12
jb 0x140032b12
mov rax, qword [r12]
mov qword [r12 + 0x10], 0
mov byte [rax], 0
mov rcx, rdi
call fcn.140031e10
test al, al
jne 0x140032bd4
lea rdx, [0x140149e20]
mov rcx, rdi
call fcn.140035840
mov r14, rax
test rax, rax
je 0x140032bd4
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140069750
mov rcx, rdi
mov rdx, rsi
call fcn.140035fa0
mov edi, eax
mov rbp, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14000f680
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 + 0x40], xmm0
mov byte [rsp + 0x30], 0
add rdi, 1
je 0x140032bfc
cmp rdi, 0xf
jbe 0x140032c19
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r9, rdi
call fcn.140009560
cmp qword [rsp + 0x48], 0xf
ja 0x140032c12
jmp 0x140032c3a
xor edi, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011a890
mov eax, edi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x48], 0xf
jbe 0x140032c3a
mov rcx, qword [rsp + 0x30]
jmp 0x140032c3f
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8, rdi
call fcn.14011eed0
mov byte [rsp + rdi + 0x30], 0
cmp qword [rsp + 0x48], 0xf
ja 0x140032c12
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rdi
mov r9, r14
call fcn.14012e0c8
test rax, rax
je 0x140032d46
mov r15d, 0x10000
lea rbx, [rsp + 0x30]
xor esi, esi
nop word cs:[rax + rax]
nop
mov rcx, r13
sub rcx, rsi
cmp rcx, rax
jb 0x140032d5b
test rsi, rsi
cmove rdi, r15
add rsi, rax
mov rcx, r14
call fcn.14012d9c0
test eax, eax
jne 0x140032d48
lea rbp, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
mov r8, rbp
sub r8, rcx
jbe 0x140032cd0
mov rax, qword [rsp + 0x48]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140032cf0
mov byte [rsp + 0x20], 0
mov rcx, rbx
mov rdx, r8
mov r9, r8
call fcn.140009560
jmp 0x140032d18
cmp qword [rsp + 0x48], 0xf
mov rax, rbx
jbe 0x140032ce0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbp
mov byte [rax + rbp], 0
jmp 0x140032d18
mov r15, rbx
mov qword [rsp + 0x40], rbp
cmp rax, 0xf
jbe 0x140032d03
mov r15, qword [rsp + 0x30]
add rcx, r15
xor edx, edx
call fcn.14011eed0
mov byte [r15 + rbp], 0
mov r15d, 0x10000
cmp qword [rsp + 0x48], 0xf
mov rcx, rbx
jbe 0x140032d28
mov rcx, qword [rsp + 0x30]
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, r14
call fcn.14012e0c8
test rax, rax
jne 0x140032c70
jmp 0x140032d48
xor esi, esi
mov rcx, r14
call fcn.14012d9ec
test eax, eax
sete dil
mov r13, rsi
jmp 0x140032d5d
xor edi, edi
mov rcx, r14
call fcn.14012d8d8
test r12, r12
je 0x140032e19
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
movdqa xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, qword [r12 + 0x10]
mov r8, r13
sub r8, rcx
jbe 0x140032de0
mov rax, qword [r12 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140032dfb
mov byte [rsp + 0x20], 0
mov rcx, r12
mov rdx, r8
mov r9, r8
call fcn.140009560
jmp 0x140032e19
cmp qword [r12 + 0x18], 0x10
mov rax, r12
jb 0x140032def
mov rax, qword [r12]
mov qword [r12 + 0x10], r13
mov byte [rax + r13], 0
jmp 0x140032e19
mov qword [r12 + 0x10], r13
cmp rax, 0x10
jb 0x140032e0a
mov r12, qword [r12]
add rcx, r12
xor edx, edx
call fcn.14011eed0
mov byte [r12 + r13], 0
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x140032bd6
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140032e55
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140032e5f
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14011a568
jmp 0x140032bd6
call fcn.140128920
ud2
mov r8, 0xffffffffffffffff
jmp 0x140032ad0