Function at 0x140008270
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov rax, qword [0x140035008]
xor rax, rsp
mov qword [rbp + 0x98], rax
xor esi, esi
lea r14, [0x140005c70]
mov qword [rbp - 0x40], rsi
lea r13, [0x140005cc0]
mov qword [rbp - 0x48], rsi
lea r8, [0x140005d30]
test rdx, rdx
jne 0x1400082fd
lea rcx, [0x140005c90]
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rcx
lea rax, [0x140005c20]
lea rcx, [0x140005cb0]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rcx
lea rcx, [0x140005d20]
mov qword [rbp - 0x68], rcx
mov ecx, esi
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], r8
jmp 0x14000833e
movaps xmm0, xmmword [rdx + 0x10]
movaps xmm1, xmmword [rdx + 0x20]
movaps xmm2, xmmword [rdx + 0x30]
movaps xmm3, xmmword [rdx]
movaps xmmword [rbp - 0x80], xmm0
movq rax, xmm3
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [rdx + 0x50]
movaps xmmword [rbp - 0x60], xmm2
psrldq xmm2, 8
movaps xmmword [rbp - 0x50], xmm0
movq rcx, xmm2
movsd qword [rbp - 0x40], xmm1
movaps xmmword [rsp + 0x70], xmm3
mov dword [rbp - 0x38], esi
mov r8d, 5
lea rdx, str.__notused__
test rax, rax
je 0x140008357
call rax
jmp 0x14000835a
call qword [rbp - 0x50]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140008e18
mov qword [rsp + 0x1d0], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x1e0], rdi
mov rdx, rax
mov qword [rsp + 0x1e8], r12
mov qword [rsp + 0x1a0], r15
call fcn.140007fa0
mov rbx, qword [rbp - 0x30]
mov r12, rax
test rax, rax
je 0x1400086a1
mov rax, qword [rbp - 0x70]
mov r15d, 0xffffffff
mov dword [rbp + 0x8c], 1
test rax, rax
je 0x1400083eb
cmp rax, r13
jne 0x1400083da
movsxd rdx, r12d
xor r8d, r8d
mov rcx, rbx
call fcn.140016480
test eax, eax
mov ecx, esi
cmovne ecx, r15d
jmp 0x14000840a
mov rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8, r12
mov rdx, rbx
call rax
jmp 0x140008408
mov eax, r12d
cmp rax, r12
je 0x1400083f8
mov ecx, r15d
jmp 0x14000840a
mov rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8d, r12d
mov rdx, rbx
call qword [rbp - 0x40]
mov ecx, eax
neg ecx
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x70]
mov rdx, rbx
sbb edi, edi
call fcn.140007a10
mov rdx, qword [rbp - 0x30]
lea r8, [rsp + 0x60]
test eax, eax
lea rcx, [rsp + 0x70]
cmovne edi, r15d
call fcn.140007b60
mov r13, qword [rbp - 0x58]
test eax, eax
mov rax, qword [rsp + 0x78]
mov rbx, qword [rbp - 0x30]
cmovne edi, r15d
cmp rax, r14
jne 0x14000846a
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x14000847f
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call rax
mov r14, qword [rbp - 0x60]
cmp eax, 1
je 0x1400084ab
lea rax, [0x140005d30]
cmp r14, rax
jne 0x14000849e
mov rcx, rbx
call fcn.140016204
jmp 0x1400084a7
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x140008512
mov rax, qword [rsp + 0x78]
lea rcx, [0x140005c70]
cmp rax, rcx
jne 0x1400084d5
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x1400084ea
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call rax
cmp eax, 1
je 0x140008515
lea rax, [0x140005d30]
cmp r14, rax
jne 0x140008505
mov rcx, rbx
call fcn.140016204
jmp 0x14000850e
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
je 0x140008515
mov edi, r15d
mov rax, qword [rsp + 0x78]
lea rcx, [0x140005c70]
cmp rax, rcx
jne 0x14000853f
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008554
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call rax
cmp eax, 1
je 0x14000857c
lea rax, [0x140005d30]
cmp r14, rax
jne 0x14000856f
mov rcx, rbx
call fcn.140016204
jmp 0x140008578
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x1400085e3
mov rax, qword [rsp + 0x78]
lea rcx, [0x140005c70]
cmp rax, rcx
jne 0x1400085a6
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x1400085bb
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call rax
cmp eax, 1
je 0x1400085e6
lea rax, [0x140005d30]
cmp r14, rax
jne 0x1400085d6
mov rcx, rbx
call fcn.140016204
jmp 0x1400085df
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
je 0x1400085e6
mov edi, r15d
lea r8, [rsp + 0x54]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140007a10
mov rdx, qword [rbp - 0x30]
lea r8, [rsp + 0x50]
test eax, eax
lea rcx, [rsp + 0x70]
cmovne edi, r15d
call fcn.140007a10
mov rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x28]
test eax, eax
lea rcx, [rsp + 0x70]
cmovne edi, r15d
call fcn.140007b60
mov rdx, qword [rbp - 0x30]
lea r8, [rsp + 0x60]
test eax, eax
lea rcx, [rsp + 0x70]
cmovne edi, r15d
call fcn.140007b60
test eax, eax
mov rax, qword [rbp - 0x28]
cmovne edi, r15d
cmp qword [rsp + 0x60], rax
jne 0x14000865f
cmp dword [rsp + 0x50], esi
jne 0x14000865f
cmp dword [rsp + 0x54], esi
je 0x140008664
mov edi, 0xffffff99
mov rdx, qword [rbp - 0x30]
lea r8, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140007b60
mov rdx, qword [rbp - 0x30]
lea r8, [rbp + 0x18]
test eax, eax
lea rcx, [rsp + 0x70]
cmovne edi, r15d
call fcn.140007b60
mov rbx, qword [rbp - 0x30]
test eax, eax
mov r13, qword [rbp - 0x58]
cmovne edi, r15d
jmp 0x140008ce2
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140007de0
test rax, rax
mov qword [rsp + 0x60], rax
mov rcx, rax
mov dword [rbp + 0x8c], esi
mov rax, qword [rbp - 0x70]
mov edi, esi
mov r15d, 0xffffffff
cmove edi, r15d
test rax, rax
je 0x140008702
cmp rax, r13
jne 0x1400086f1
movsxd rdx, ecx
xor r8d, r8d
mov rcx, rbx
call fcn.140016480
test eax, eax
mov ecx, esi
cmovne ecx, r15d
jmp 0x14000871b
mov r8, rcx
xor r9d, r9d
mov rcx, qword [rbp - 0x58]
mov rdx, rbx
call rax
jmp 0x140008719
mov eax, ecx
cmp rax, rcx
jne 0x14000871f
mov r8d, ecx
xor r9d, r9d
mov rcx, qword [rbp - 0x58]
mov rdx, rbx
call qword [rbp - 0x40]
mov ecx, eax
test ecx, ecx
je 0x140008722
mov edi, r15d
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140007a10
mov r12, qword [rsp + 0x78]
test eax, eax
mov r13, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x30]
cmovne edi, r15d
mov dword [rsp + 0x54], esi
cmp r12, r14
jne 0x140008769
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x14000877f
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call r12
mov r14, qword [rbp - 0x60]
cmp eax, 1
jne 0x140008795
movzx eax, byte [rbp + 0x90]
mov dword [rsp + 0x54], eax
jmp 0x1400087c0
lea rax, [0x140005d30]
cmp r14, rax
jne 0x1400087ab
mov rcx, rbx
call fcn.140016204
jmp 0x1400087b4
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x14000884c
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
lea rax, [0x140005c70]
cmp r12, rax
jne 0x1400087e9
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x1400087ff
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x140008818
movzx ecx, byte [rbp + 0x91]
shl ecx, 8
or ecx, dword [rsp + 0x50]
mov dword [rsp + 0x54], ecx
jmp 0x140008853
lea rax, [0x140005d30]
cmp r14, rax
jne 0x14000882e
mov rcx, rbx
call fcn.140016204
jmp 0x140008837
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x14000884c
mov ecx, dword [rsp + 0x54]
shl ecx, 8
or ecx, dword [rsp + 0x50]
mov dword [rsp + 0x54], ecx
jmp 0x140008853
mov edi, r15d
mov dword [rsp + 0x54], esi
lea rax, [0x140005c70]
mov dword [rsp + 0x58], esi
cmp r12, rax
jne 0x14000887c
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008892
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x1400088a4
movzx eax, byte [rbp + 0x91]
mov dword [rsp + 0x58], eax
jmp 0x1400088cf
lea rax, [0x140005d30]
cmp r14, rax
jne 0x1400088ba
mov rcx, rbx
call fcn.140016204
jmp 0x1400088c3
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x14000895b
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x50], eax
lea rax, [0x140005c70]
cmp r12, rax
jne 0x1400088f8
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x14000890e
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x140008927
movzx eax, byte [rbp + 0x90]
shl eax, 8
or eax, dword [rsp + 0x50]
mov dword [rsp + 0x58], eax
jmp 0x140008962
lea rax, [0x140005d30]
cmp r14, rax
jne 0x14000893d
mov rcx, rbx
call fcn.140016204
jmp 0x140008946
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x14000895b
mov eax, dword [rsp + 0x58]
shl eax, 8
or eax, dword [rsp + 0x50]
mov dword [rsp + 0x58], eax
jmp 0x140008962
mov edi, r15d
mov dword [rsp + 0x58], esi
lea rax, [0x140005c70]
mov dword [rsp + 0x50], esi
cmp r12, rax
jne 0x14000898b
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x1400089a1
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x1400089b3
movzx eax, byte [rbp + 0x91]
mov dword [rsp + 0x50], eax
jmp 0x1400089de
lea rax, [0x140005d30]
cmp r14, rax
jne 0x1400089c9
mov rcx, rbx
call fcn.140016204
jmp 0x1400089d2
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x140008a62
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea rax, [0x140005c70]
cmp r12, rax
jne 0x140008a07
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008a1d
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x140008a32
movzx eax, byte [rbp + 0x90]
shl eax, 8
or eax, dword [rsp + 0x5c]
jmp 0x140008a67
lea rax, [0x140005d30]
cmp r14, rax
jne 0x140008a48
mov rcx, rbx
call fcn.140016204
jmp 0x140008a51
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x140008a62
mov eax, dword [rsp + 0x50]
shl eax, 8
or eax, dword [rsp + 0x5c]
jmp 0x140008a67
mov edi, r15d
mov eax, esi
mov qword [rbp - 0x28], rax
lea rax, [0x140005c70]
mov dword [rsp + 0x50], esi
cmp r12, rax
jne 0x140008a94
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008aaa
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x140008abc
movzx eax, byte [rbp + 0x91]
mov dword [rsp + 0x50], eax
jmp 0x140008ae7
lea rax, [0x140005d30]
cmp r14, rax
jne 0x140008ad2
mov rcx, rbx
call fcn.140016204
jmp 0x140008adb
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x140008b6b
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea rax, [0x140005c70]
cmp r12, rax
jne 0x140008b10
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008b26
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call r12
cmp eax, 1
jne 0x140008b3b
movzx eax, byte [rbp + 0x90]
shl eax, 8
or eax, dword [rsp + 0x5c]
jmp 0x140008b70
lea rax, [0x140005d30]
cmp r14, rax
jne 0x140008b51
mov rcx, rbx
call fcn.140016204
jmp 0x140008b5a
mov rdx, rbx
mov rcx, r13
call r14
test eax, eax
jne 0x140008b6b
mov eax, dword [rsp + 0x50]
shl eax, 8
or eax, dword [rsp + 0x5c]
jmp 0x140008b70
mov edi, r15d
mov eax, esi
mov dword [rsp + 0x50], eax
cmp rax, qword [rbp - 0x28]
jne 0x140008b86
cmp dword [rsp + 0x58], esi
jne 0x140008b86
cmp dword [rsp + 0x54], esi
je 0x140008b8b
mov edi, 0xffffff99
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140007a10
mov rdx, qword [rbp - 0x30]
lea r8, [rsp + 0x50]
test eax, eax
lea rcx, [rsp + 0x70]
mov eax, dword [rsp + 0x50]
cmovne edi, r15d
mov qword [rbp + 0x10], rax
call fcn.140007a10
mov r13, qword [rbp - 0x58]
lea rcx, [0x140005c70]
mov rbx, qword [rbp - 0x30]
test eax, eax
mov eax, dword [rsp + 0x50]
mov r14d, esi
mov qword [rbp + 0x18], rax
cmovne edi, r15d
mov rax, qword [rsp + 0x78]
cmp rax, rcx
jne 0x140008c01
mov edx, 1
lea rcx, [rbp + 0x91]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008c16
mov r9d, 1
lea r8, [rbp + 0x91]
mov rdx, rbx
mov rcx, r13
call rax
mov r12, qword [rbp - 0x60]
cmp eax, 1
jne 0x140008c29
movzx r14d, byte [rbp + 0x91]
jmp 0x140008c50
lea rax, [0x140005d30]
cmp r12, rax
jne 0x140008c3f
mov rcx, rbx
call fcn.140016204
jmp 0x140008c48
mov rdx, rbx
mov rcx, r13
call r12
test eax, eax
jne 0x140008cda
mov rax, qword [rsp + 0x78]
lea rcx, [0x140005c70]
mov dword [rsp + 0x5c], r14d
cmp rax, rcx
jne 0x140008c7f
mov edx, 1
lea rcx, [rbp + 0x90]
mov r8d, edx
mov r9, rbx
call fcn.140016778
jmp 0x140008c94
mov r9d, 1
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r13
call rax
cmp eax, 1
jne 0x140008ca3
movzx r14d, byte [rbp + 0x90]
jmp 0x140008cc6
lea rax, [0x140005d30]
cmp r12, rax
jne 0x140008cb9
mov rcx, rbx
call fcn.140016204
jmp 0x140008cc2
mov rdx, rbx
mov rcx, r13
call r12
test eax, eax
jne 0x140008cda
mov r12, qword [rsp + 0x60]
shl r14d, 8
or r14d, dword [rsp + 0x5c]
mov dword [rbp - 0x20], r14d
jmp 0x140008ce5
mov r12, qword [rsp + 0x60]
mov edi, r15d
mov dword [rbp - 0x20], esi
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov r15, qword [rsp + 0x1a0]
lea rax, [rdx + rcx]
cmp r12, rax
jb 0x140008df5
test edi, edi
jne 0x140008df5
mov rax, r12
mov qword [rbp + 8], r12
sub rax, rdx
mov qword [rbp + 0x80], rsi
sub rax, rcx
mov dword [rbp + 0x88], esi
mov ecx, 0x120
mov qword [rbp - 0x18], rax
call fcn.14001305c
mov rbx, rax
test rax, rax
je 0x140008df0
mov rcx, rax
lea rdx, [rsp + 0x70]
lea eax, [rdi + 2]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140008d50
movups xmm0, xmmword [rdx]
lea r8, [rbx + 0x108]
xor r9d, r9d
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rbx + 0xb0]
mov dword [rsp + 0x20], esi
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov rax, qword [rbx + 0xa8]
mov rcx, rbx
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x80], rsi
call fcn.140008e40
test eax, eax
sete sil
mov qword [rbx + 0x90], rsi
mov rax, rbx
jmp 0x140008e00
mov rdx, rbx
mov rcx, r13
call qword [rbp - 0x68]
xor eax, eax
mov rdi, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1e8]
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14000a320
add rsp, 0x1a8
pop r14
pop r13
pop rsi
pop rbp
ret