Function at 0x140002b64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x140042038]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
movsxd rdx, dword [rcx + 8]
xor r13d, r13d
xorps xmm0, xmm0
lea r12d, [r13 + 1]
mov qword [rsp + 0x38], r8
xor r8d, r8d
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, r12d
mov r14, r9
mov rdi, rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov word [rsp + 0x78], r13w
mov word [rbp + 0x180], r13w
mov qword [rbp + 0x3a8], r13
cmp byte [rcx + 0x20], r13b
je 0x140002c02
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140002c0a
mov rcx, qword [rcx]
call fcn.1400170cc
lea r8, [rbp + 0x3d0]
mov rcx, rdi
call fcn.140002e94
test eax, eax
je 0x140002c27
mov eax, 6
jmp 0x140002e69
mov qword [rsp + 0x28], r13
cmp byte [rdi + 0x20], r13b
je 0x140002c4b
mov rcx, qword [rdi + 0x18]
lea r9, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r8d, r12d
call qword [rax + 0x18]
jmp 0x140002c5e
mov r9, qword [rdi]
lea rcx, [rsp + 0x20]
mov r8, r12
mov rdx, r12
call fcn.1400169f4
mov qword [rsp + 0x28], r13
mov esi, 4
cmp byte [rdi + 0x20], r13b
je 0x140002c87
mov rcx, qword [rdi + 0x18]
lea r9, [rsp + 0x28]
lea rdx, [rsp + 0x24]
mov rax, qword [rcx]
mov r8d, esi
call qword [rax + 0x18]
jmp 0x140002c9a
mov r9, qword [rdi]
lea rcx, [rsp + 0x24]
mov r8, r12
mov rdx, rsi
call fcn.1400169f4
mov r15d, dword [rsp + 0x24]
mov qword [rsp + 0x28], r13
xor r15d, 0x87bc
cmp byte [rdi + 0x20], r13b
je 0x140002cca
mov rcx, qword [rdi + 0x18]
lea r9, [rsp + 0x28]
lea rdx, [rsp + 0x24]
mov rax, qword [rcx]
mov r8d, esi
call qword [rax + 0x18]
jmp 0x140002cdd
mov r9, qword [rdi]
lea rcx, [rsp + 0x24]
mov r8, r12
mov rdx, rsi
call fcn.1400169f4
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x28], r13
xor eax, 0x87bc
mov dword [r14], eax
cmp byte [rdi + 0x20], r13b
je 0x140002d0d
mov rcx, qword [rdi + 0x18]
lea r9, [rsp + 0x28]
lea rdx, [rsp + 0x24]
mov rax, qword [rcx]
mov r8d, esi
call qword [rax + 0x18]
jmp 0x140002d20
mov r9, qword [rdi]
lea rcx, [rsp + 0x24]
mov r8, r12
mov rdx, rsi
call fcn.1400169f4
mov r12d, dword [rsp + 0x24]
mov r8d, ebx
xor r12d, 0xa685
cmp byte [rdi + 0x20], r13b
je 0x140002d4b
mov rcx, qword [rdi + 0x18]
lea r9, [rsp + 0x28]
mov edx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140002d58
mov rcx, qword [rdi]
mov edx, 0x10
call fcn.1400170cc
mov ecx, dword [r14]
call fcn.140016d08
movsxd r13, r15d
mov rcx, r13
mov r14, rax
call fcn.140016d08
and qword [rsp + 0x28], 0
cmp byte [rdi + 0x20], 0
mov rsi, rax
je 0x140002d95
mov rcx, qword [rdi + 0x18]
lea r9, [rsp + 0x28]
mov r8d, r13d
mov r10, qword [rcx]
mov rdx, rax
call qword [r10 + 0x18]
jmp 0x140002da6
mov r9, qword [rdi]
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.1400169f4
mov r9d, dword [rdi + 0xc]
mov r8d, r15d
mov rdx, rsi
add r9d, 0x2477
call fcn.140002ae0
xor eax, eax
test r15d, r15d
je 0x140002dd9
lea rcx, [rsp + 0x30]
mov r8d, r15d
mov rdx, rsi
call fcn.140013354
mov ebx, dword [rsp + 0x30]
xor eax, eax
cmp r12d, ebx
je 0x140002df5
mov rcx, r14
call fcn.140016dc0
mov rcx, rsi
call fcn.140016dc0
mov eax, 0xa
jmp 0x140002e69
cmp byte [rsp + 0x20], 1
jne 0x140002e54
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov word [rsp + 0x78], ax
mov word [rbp + 0x180], ax
mov qword [rbp + 0x3a8], rax
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
call fcn.140001be0
mov rcx, rsi
call fcn.140016dc0
jmp 0x140002e5f
mov rcx, r14
call fcn.140016dc0
mov r14, rsi
mov rax, qword [rsp + 0x38]
mov qword [rax], r14
xor eax, eax
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.140015ef0
mov rbx, qword [rsp + 0x738]
add rsp, 0x6f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret