Function at 0x180003ec0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov r15, rcx
movaps xmm6, xmmword [0x180035570]
movups xmmword [rbp - 0x40], xmm6
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], rdx
cmp qword [rdx + 0x18], 0x10
mov ecx, 0x1e9a04cf
mov eax, 0x1f51e921
cmovae eax, ecx
mov ecx, 0x78eab938
nop dword [rax + rax]
cmp ecx, 0x1e9a04cf
je 0x180003f50
cmp ecx, 0x1f51e921
je 0x180003f5e
cmp ecx, 0x78eab938
jne 0x180003f30
mov rdx, qword [rbp - 0x28]
mov ecx, eax
jmp 0x180003f30
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rcx]
mov ecx, 0x1f51e921
jmp 0x180003f30
lea r8, [0x180035580]
lea rcx, [rbp - 0x10]
call fcn.180022880
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x180004105
xor edx, edx
mov r8d, 2
call fcn.180022b04
mov rcx, qword [rbp - 0x10]
call fcn.180023000
mov esi, eax
mov rcx, qword [rbp - 0x10]
xor edx, edx
xor r8d, r8d
call fcn.180022b04
lea eax, [rsi + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.1800226f4
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.180020020
mov r9, qword [rbp - 0x10]
movsxd rbx, esi
mov edx, 1
mov rcx, rdi
mov r8, rbx
call fcn.180023298
mov rcx, qword [rbp - 0x10]
call fcn.1800233e4
lea r14, [rbp - 0x50]
mov qword [rbp - 0x20], r14
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x18]
mov qword [rbp - 0x58], rax
mov esi, 0x150c314
mov r12d, 0x1e9a04cf
mov r13d, 0xc1c810c6
nop word cs:[rax + rax]
nop
cmp esi, 0x150c313
jg 0x180004040
cmp esi, 0xa4e29efa
je 0x180004066
cmp esi, 0xc1c810c6
jne 0x180004010
mov esi, 0x3f99847f
mov rcx, r14
mov rdx, rbx
mov r9, rdi
call fcn.180004960
jmp 0x180004010
cmp esi, 0x3f99847f
je 0x1800040e2
cmp esi, 0x150c314
jne 0x180004010
mov rax, qword [rbp - 0x58]
cmp rax, rbx
mov esi, 0xa4e29efa
cmovb esi, r13d
jmp 0x180004010
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x28], rcx
cmp qword [rax + 0x18], 0x10
mov eax, 0x1f51e921
cmovae eax, r12d
mov ecx, 0x78eab938
nop dword [rax]
cmp ecx, 0x1e9a04cf
je 0x1800040b0
cmp ecx, 0x1f51e921
je 0x1800040be
cmp ecx, 0x78eab938
jne 0x180004090
mov rsi, qword [rbp - 0x28]
mov ecx, eax
jmp 0x180004090
mov rcx, qword [rbp - 0x18]
mov rsi, qword [rcx]
mov ecx, 0x1f51e921
jmp 0x180004090
mov rax, qword [rbp - 0x20]
mov qword [rax + 0x10], rbx
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.18001f5d0
mov byte [rsi + rbx], 0
mov esi, 0x3f99847f
jmp 0x180004010
mov rcx, rdi
call fcn.1800226fc
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r15 + 0x10], xmm1
movups xmmword [r15], xmm0
movups xmmword [rbp - 0x40], xmm6
mov byte [rbp - 0x50], 0
jmp 0x18000411d
movups xmmword [r15 + 0x10], xmm6
mov byte [r15], 0
lea rdx, [0x180035583]
mov rcx, r15
call fcn.180004830
lea rcx, [rbp - 0x50]
call fcn.1800045d0
mov rcx, qword [rbp - 0x30]
call fcn.1800045d0
mov rax, r15
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret