Function at 0x14008bc80
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
mov rcx, rax
mov edx, 0xab
call fcn.140003490
mov rdx, qword [rax]
cmp byte [rdx], 0
je 0x14008b4ce
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14008bc80
add rsp, 0x20
pop rbx
ret
push rbp
push rbx
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x14011e258]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r14b, r14b
mov rbx, rdx
mov rsi, rcx
cmp byte [rcx], r14b
jne 0x14008bcc4
mov rcx, qword [rcx + 0x20]
call fcn.140083ea0
test al, al
je 0x14008bcc4
mov r12b, 1
jmp 0x14008bcc7
xor r12b, r12b
lea rdx, [0x1400bf234]
mov rcx, rbx
call fcn.14009136c
mov qword [rsp + 0x50], rax
mov r15, rax
test rax, rax
je 0x14008c027
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x120], r13
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
call fcn.140083630
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov ecx, 0x8000c
lea edx, [r8 + 1]
call fcn.140012100
mov r9, r15
mov qword [rsp + 0x58], rax
mov edx, 1
mov r8d, 0x8000c
mov rcx, rax
mov rdi, rax
call fcn.1400915d8
movsxd rcx, eax
mov r13, rax
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x48], rax
cmp rcx, 0x40006
jb 0x14008bdc4
sub r13d, dword [rsp + 0x30]
lea rdx, [rcx + rdi]
movsxd rbx, r13d
mov rcx, rdi
mov r8, rbx
call fcn.14008dc80
mov r8d, 0x8000c
lea rcx, [rbx + rdi]
sub r8, rbx
mov r9, r15
mov edx, 1
call fcn.1400915d8
add r13d, eax
mov qword [rsp + 0x28], rdi
movsxd rax, r13d
xor ebx, ebx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x48]
call fcn.140011f30
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x60]
mov r15d, eax
call fcn.14008ba50
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x50]
movups xmm7, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm7
call fcn.14008ba50
lea rcx, [rbp - 0x80]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x80], xmm0
call fcn.14006cc60
mov rdi, rax
cmp byte [rax], 0
je 0x14008be19
mov rcx, rax
call fcn.140092510
mov ebx, eax
jmp 0x14008be1e
mov ebx, 0xffffffff
mov rcx, rdi
call fcn.140011ff0
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14008ba50
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x30]
movups xmm6, xmmword [rax]
call fcn.14008ba50
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x48]
movups xmmword [rbp - 0x80], xmm0
cmp dword [rax + 0x18], 0
jne 0x14008bfda
mov eax, dword [rsi + 0x10]
test eax, eax
js 0x14008bfc1
test ebx, ebx
js 0x14008be72
cmp eax, ebx
jne 0x14008bfc1
mov edi, 1
lea rbx, str.MIT_MAGIC_COOKIE_1
nop
mov rdx, qword [rbx]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm6
call fcn.14006ce60
test al, al
jne 0x14008bea0
inc edi
add rbx, 8
cmp edi, 3
jb 0x14008be80
cmp edi, 3
je 0x14008bfc1
test r15d, r15d
je 0x14008bf4e
cmp r15d, 6
je 0x14008bf02
cmp r15d, 0x100
jne 0x14008bfc1
cmp byte [rsi], 0
jne 0x14008bed3
test r12b, r12b
je 0x14008bfc1
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14008bfc1
mov rdx, rbx
movdqa xmmword [rbp - 0x70], xmm7
lea rcx, [rbp - 0x70]
call fcn.14006ce60
test al, al
je 0x14008bfc1
mov r14b, 1
jmp 0x14008bf8c
cmp byte [rsi], 0
jne 0x14008bfc1
mov rcx, qword [rsi + 0x20]
call fcn.140083f40
cmp eax, 2
jne 0x14008bfc1
mov rcx, qword [rsi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.140083e30
cmp qword [rsp + 0x78], 0x10
jne 0x14008bfc1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
cmp rax, qword [rbp - 0x20]
jne 0x14008bfc1
mov rax, qword [rcx + 8]
cmp rax, qword [rbp - 0x18]
jmp 0x14008bf82
cmp byte [rsi], 0
jne 0x14008bfc1
mov rcx, qword [rsi + 0x20]
call fcn.140083f40
cmp eax, 1
jne 0x14008bfc1
mov rcx, qword [rsi + 0x20]
lea rdx, [rsp + 0x20]
call fcn.140083e30
cmp qword [rsp + 0x78], 4
jne 0x14008bfc1
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
cmp ecx, dword [rsp + 0x20]
jne 0x14008bfc1
movzx r14d, r12b
xor r14b, 1
mov rcx, qword [rsi + 0x40]
mov dword [rsi + 0x38], edi
call fcn.140011ff0
mov rbx, qword [rbp - 0x78]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.140012100
mov rdx, qword [rbp - 0x80]
mov r8, rbx
mov rcx, rax
mov qword [rsi + 0x40], rax
call fcn.14008dc80
mov dword [rsi + 0x48], ebx
test r14b, r14b
jne 0x14008bfda
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
jmp 0x14008bd65
mov rcx, qword [rsp + 0x50]
call fcn.140091218
mov rcx, qword [rsp + 0x58]
mov edx, 0x8000c
call fcn.140083280
mov rcx, qword [rsp + 0x58]
call fcn.140011ff0
mov rcx, qword [rsp + 0x60]
call fcn.140011ff0
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
mov r13, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14008ce70
add rsp, 0x128
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret