Function at 0x140008820
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14, r8
mov rdi, rdx
mov rdx, rcx
mov rax, qword [0x14003c368]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], 0
lea r8, [0x1400354d2]
call fcn.14001d870
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov eax, 0x374a5bd0
mov r12d, 0x7dade373
mov r13d, 0x3267c392
mov ebp, 0xe9641377
jmp 0x1400088a0
cmp ecx, 0xa
cmovge eax, ebx
nop word cs:[rax + rax]
nop
cmp eax, 0x374a5bcf
jg 0x1400088e0
cmp eax, 0xe6de3e78
jle 0x1400089b0
cmp eax, 0x232b9da8
jle 0x140008a6b
cmp eax, 0x232b9da9
je 0x140008ae0
cmp eax, 0x3267c392
jne 0x1400088a0
mov eax, 0x4b7769f2
mov r15d, 1
jmp 0x1400088a0
cmp eax, 0x74eb1ae8
jg 0x140008a10
cmp eax, 0x374a5bd0
je 0x140008b15
cmp eax, 0x4b7769f2
je 0x140008b2d
cmp eax, 0x6c2f70ca
jne 0x1400088a0
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov r8d, 2
call fcn.14001de8c
mov rcx, qword [rsp + 0x38]
call fcn.14001e198
mov ebx, eax
mov rcx, qword [rsp + 0x38]
xor edx, edx
xor r8d, r8d
call fcn.14001de8c
movsxd rbx, ebx
mov rcx, rbx
call fcn.14001e750
mov rsi, rax
mov r9, qword [rsp + 0x38]
mov edx, 1
mov rcx, rax
mov r8, rbx
call fcn.14001dbf8
mov rcx, qword [rsp + 0x38]
call fcn.14001d994
mov qword [rdi], rsi
mov dword [r14], ebx
mov eax, dword [0x14003cf38]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0xe6de3e79
cmove eax, r13d
cmp dword [0x14003cf3c], 0xa
mov edx, 0xe6de3e79
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, r13d
jmp 0x1400088a0
cmp eax, 0x8e5198f0
je 0x140008b74
cmp eax, 0xc03b0d0d
je 0x140008bb3
cmp eax, 0xe03e081c
jne 0x1400088a0
mov eax, dword [0x14003cf38]
mov ecx, dword [0x14003cf3c]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl bl
xor bl, r8b
mov ebx, 0x7bb36e4e
mov esi, 0x74eb1ae9
cmovne ebx, esi
test eax, edx
mov eax, ebx
cmove eax, esi
jmp 0x14000888e
cmp eax, 0x74eb1ae9
je 0x140008bbd
cmp eax, 0x7bb36e4e
je 0x140008bca
cmp eax, 0x7dade373
jne 0x1400088a0
mov eax, dword [0x14003cf38]
mov ecx, dword [0x14003cf3c]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl bl
xor bl, r8b
mov ebx, 0xc03b0d0d
cmovne ebx, ebp
test eax, edx
mov eax, ebx
cmove eax, ebp
jmp 0x14000888e
cmp eax, 0xe6de3e79
jne 0x140008bd4
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov r8d, 2
call fcn.14001de8c
mov rcx, qword [rsp + 0x38]
call fcn.14001e198
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor edx, edx
xor r8d, r8d
call fcn.14001de8c
movsxd rsi, esi
mov rcx, rsi
call fcn.14001e750
mov rbx, rax
mov r9, qword [rsp + 0x38]
mov edx, 1
mov rcx, rax
mov r8, rsi
call fcn.14001dbf8
mov rcx, qword [rsp + 0x38]
call fcn.14001d994
mov qword [rdi], rbx
mov dword [r14], esi
mov eax, 0x6c2f70ca
jmp 0x1400088a0
mov eax, dword [0x14003cf38]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0xe6de3e79
mov ebx, 0x6c2f70ca
cmove eax, ebx
cmp dword [0x14003cf3c], 0xa
mov edx, 0xe6de3e79
jmp 0x140008ba3
cmp qword [rsp + 0x20], 0
mov eax, 0x232b9da9
mov ecx, 0x8e5198f0
cmove eax, ecx
jmp 0x1400088a0
mov dword [rsp + 0x2c], r15d
mov rax, qword [rsp + 0x30]
mov eax, dword [0x14003cf38]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0xc03b0d0d
cmove eax, r12d
cmp dword [0x14003cf3c], 0xa
mov edx, 0xc03b0d0d
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, r12d
jmp 0x1400088a0
mov eax, dword [0x14003cf38]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x7bb36e4e
mov ebx, 0xe03e081c
cmove eax, ebx
cmp dword [0x14003cf3c], 0xa
mov edx, 0x7bb36e4e
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, ebx
jmp 0x1400088a0
mov eax, 0x7dade373
jmp 0x1400088a0
mov eax, 0x4b7769f2
xor r15d, r15d
jmp 0x1400088a0
mov eax, 0xe03e081c
jmp 0x1400088a0
cmp eax, 0xe9641377
jne 0x1400088a0
mov esi, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400177b0
mov eax, esi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret