Function at 0x14007bc3c
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, rdx
mov edx, 0xa6
call fcn.1400038ff
mov rdx, qword [rax]
cmp byte [rdx], 0
je 0x14007bc66
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x14007c39b
nop
add rsp, 0x20
pop rsi
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp byte [rcx], 0
je 0x14007c3cf
xor ebx, ebx
jmp 0x14007c3da
mov rcx, qword [rdi + 0x20]
call fcn.1400752a9
mov ebx, eax
lea rdx, [0x1400b6e50]
mov rcx, rsi
call fcn.14008b718
test rax, rax
je 0x14007c7ef
mov rbp, rax
mov qword [rsp + 0x28], rdi
call fcn.14007662d
mov qword [rsp + 0x30], rax
xor esi, esi
mov ecx, 0x8000c
mov edx, 1
xor r8d, r8d
call fcn.140011830
mov rdi, rax
mov edx, 1
mov r8d, 0x8000c
mov rcx, rax
mov qword [rsp + 0x48], rbp
mov r9, rbp
call fcn.14008b8b4
mov rbp, rax
movsxd rax, ebp
lea rcx, [rsp + 0x90]
mov qword [rcx], rdi
mov qword [rcx + 0x10], rax
mov qword [rcx + 8], 0
mov dword [rcx + 0x18], 0
mov qword [rcx + 0x20], rcx
mov dword [rsp + 0x44], ebx
mov eax, ebx
xor al, 1
mov byte [rsp + 0x27], al
lea rbx, [rsp + 0x80]
lea r15, [0x1400a8d60]
xor eax, eax
mov qword [rsp + 0x50], rax
cmp rsi, 0x40005
jbe 0x14007c4f9
sub ebp, esi
add rsi, rdi
movsxd rbp, ebp
mov rcx, rdi
mov rdx, rsi
mov r8, rbp
call fcn.14007e6c0
mov r8d, 0x8000c
sub r8, rbp
lea rcx, [rdi + rbp]
mov edx, 1
mov r9, qword [rsp + 0x48]
call fcn.14008b8b4
add ebp, eax
movsxd rax, ebp
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa8], 0
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xb0], rcx
jmp 0x14007c501
mov rcx, qword [rsp + 0xb0]
call fcn.14001166e
mov r12d, eax
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsi + 0x20]
call fcn.14001166e
mov r8d, eax
mov rdx, qword [rsi + 0x20]
mov rcx, rbx
call fcn.1400115d4
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsi + 0x20]
call fcn.14001166e
mov r8d, eax
mov rdx, qword [rsi + 0x20]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.1400115d4
mov rcx, rsi
call fcn.14005fe7a
mov rsi, rax
cmp byte [rax], 0
je 0x14007c580
mov rcx, rsi
call fcn.14008a488
mov r13d, eax
jmp 0x14007c586
mov r13d, 0xffffffff
mov rcx, rsi
call fcn.1400118b0
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsi + 0x20]
call fcn.14001166e
mov r8d, eax
mov rdx, qword [rsi + 0x20]
mov rcx, rbx
call fcn.1400115d4
movdqu xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x70], xmm0
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsi + 0x20]
call fcn.14001166e
mov r8d, eax
mov rdx, qword [rsi + 0x20]
mov rcx, rbx
call fcn.1400115d4
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x18], 0
jne 0x14007c7c6
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
test eax, eax
js 0x14007c7b2
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
test r13d, r13d
js 0x14007c61d
cmp eax, r13d
jne 0x14007c7b2
mov qword [rsp + 0x58], rdx
mov r13, rcx
mov esi, 1
mov rdx, qword [r15 + rsi*8]
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, rbx
call fcn.14005fdc6
test al, al
jne 0x14007c657
inc rsi
cmp rsi, 3
jne 0x14007c62a
jmp 0x14007c7b2
cmp r12d, 0x100
je 0x14007c6c6
cmp r12d, 6
je 0x14007c715
test r12d, r12d
jne 0x14007c7b2
mov r12, qword [rsp + 0x28]
cmp byte [r12], 0
jne 0x14007c7b2
mov rcx, qword [r12 + 0x20]
call fcn.1400754a7
cmp eax, 1
jne 0x14007c7b2
mov rcx, qword [r12 + 0x20]
mov rdx, rbx
call fcn.1400754e1
cmp r14, 4
jne 0x14007c7b2
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp eax, dword [rsp + 0x80]
jne 0x14007c7b2
jmp 0x14007c764
mov rax, qword [rsp + 0x28]
cmp byte [rax], 0
setne al
cmp qword [rsp + 0x30], 0
je 0x14007c7b2
or al, byte [rsp + 0x44]
je 0x14007c7b2
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r14
mov rcx, rbx
mov rdx, qword [rsp + 0x30]
call fcn.14005fdc6
mov r14b, 1
test al, al
jne 0x14007c769
jmp 0x14007c7b2
mov r12, qword [rsp + 0x28]
cmp byte [r12], 0
jne 0x14007c7b2
mov rcx, qword [r12 + 0x20]
call fcn.1400754a7
cmp eax, 2
jne 0x14007c7b2
mov rcx, qword [r12 + 0x20]
mov rdx, rbx
call fcn.1400754e1
cmp r14, 0x10
jne 0x14007c7b2
mov rax, qword [rsp + 0x38]
movdqu xmm0, xmmword [rax]
pcmpeqb xmm0, xmmword [rsp + 0x80]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x14007c7b2
mov r14b, byte [rsp + 0x27]
mov r12, qword [rsp + 0x28]
mov dword [r12 + 0x38], esi
mov rcx, qword [r12 + 0x40]
call fcn.1400118b0
mov edx, 1
mov rsi, r13
mov rcx, r13
xor r8d, r8d
call fcn.140011830
mov qword [r12 + 0x40], rax
mov rcx, rax
mov rdx, qword [rsp + 0x58]
mov r8, r13
call fcn.14007e6c0
mov dword [r12 + 0x48], esi
mov eax, r14d
mov qword [rsp + 0x50], rax
test byte [rsp + 0x50], 1
jne 0x14007c7c6
mov rsi, qword [rsp + 0x98]
jmp 0x14007c480
mov rcx, qword [rsp + 0x48]
call fcn.14008b1fc
mov edx, 0x8000c
mov rcx, rdi
call fcn.140074310
mov rcx, rdi
call fcn.1400118b0
mov rcx, qword [rsp + 0x30]
call fcn.1400118b0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14007d5e0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret