Function at 0x180001000
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], rdx
mov qword [rbp], rcx
mov ecx, dword [0x180054dd0]
mov eax, dword [0x180054dcc]
mov edx, ecx
sub edx, 0xf4e9161e
add edx, 0x564323b4
add edx, 0xf4e9161e
sub edx, 0x94f005c1
sub edx, 1
add edx, 0x94f005c1
add edx, 0x4b36d929
sub edx, 0x564323b4
sub edx, 0x4b36d929
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r9b
cmp eax, 0xa
setl r8b
mov cl, r9b
xor cl, 0xff
and cl, 1
mov dl, 1
xor dl, 1
mov al, r9b
and al, dl
or cl, al
mov dl, r8b
xor dl, 0xff
and dl, 1
mov r10b, 1
xor r10b, 1
mov r11b, r8b
and r11b, r10b
mov al, 1
xor al, 1
and al, 0xff
and r10b, 1
or dl, r11b
or al, r10b
xor dl, al
mov al, 1
xor al, 0
and al, 1
mov r10b, 1
xor r10b, 1
and r10b, 0
or al, r10b
mov r10b, 1
xor r10b, 0
mov r15b, cl
xor r15b, r10b
and r15b, cl
mov r10b, al
xor r10b, 0xff
mov r14b, r9b
xor r14b, r10b
and r14b, r9b
mov r9b, 1
xor r9b, 0
mov r10b, dl
xor r10b, r9b
and r10b, dl
mov r9b, al
xor r9b, 0xff
mov r11b, r8b
xor r11b, r9b
and r11b, r8b
mov r9b, r15b
xor r9b, 0xff
mov sil, r14b
xor sil, 0xff
mov bl, 1
xor bl, 0
mov r8b, r9b
and r8b, 0
and r15b, bl
mov dil, sil
and dil, 0
and r14b, bl
or r8b, r15b
or dil, r14b
xor r8b, dil
or r9b, sil
xor r9b, 0xff
or bl, 0
and r9b, bl
or r8b, r9b
mov r9b, r10b
and r9b, r11b
xor r10b, r11b
or r9b, r10b
mov r10b, r8b
xor r10b, 0xff
mov r11b, r9b
and r11b, r10b
xor r9b, 0xff
and r8b, r9b
or r11b, r8b
mov r8b, cl
and r8b, dl
xor cl, dl
or r8b, cl
mov r10b, r8b
xor r10b, 0xff
and r10b, 0
mov dl, 1
xor dl, 0
and r8b, dl
mov cl, 1
xor cl, 1
and cl, 0
and dl, 1
or r10b, r8b
or cl, dl
xor r10b, cl
mov cl, al
and cl, 0
xor al, 0
or cl, al
xor r10b, 0xff
xor cl, 0xff
mov al, 1
xor al, 1
or r10b, cl
or al, 1
xor r10b, 0xff
and r10b, al
mov cl, r11b
xor cl, 0xff
mov r8b, r10b
xor r8b, 0xff
mov dl, 1
xor dl, 0
mov al, cl
and al, 0
and r11b, dl
mov r9b, r8b
and r9b, 0
and r10b, dl
or al, r11b
or r9b, r10b
xor al, r9b
or cl, r8b
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1800011f9
jmp 0x1800018c4
mov rcx, qword [rbp]
mov r8, qword [rbp - 8]
mov eax, 0x10
mov qword [rbp - 0x30], rax
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rdx, rsp
mov qword [rbp - 0x40], rdx
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rdx, rsp
mov qword [rbp - 0x38], rdx
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r9, rsp
mov qword [rbp - 0x28], r9
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r9, rsp
mov qword [rbp - 0x18], r9
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x28]
mov r9, rsp
mov qword [rbp - 0x20], r9
mov qword [rdx], r8
mov qword [rax], rcx
mov rcx, qword [rax]
lea rdx, [0x18004a2c0]
sub rsp, 0x20
call fcn.18003d874
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov qword [rax], rcx
cmp qword [rax], 0
sete al
mov byte [rbp - 9], al
mov eax, dword [0x180054dd0]
mov ecx, dword [0x180054dcc]
mov edx, eax
sub edx, 0x85ca9874
sub edx, 0xb6b70b55
add edx, 0x85ca9874
sub edx, 0x392e3dce
sub edx, 1
add edx, 0x392e3dce
add edx, 0xd9a97bd5
add edx, 0xb6b70b55
sub edx, 0xd9a97bd5
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, cl
xor dl, 0xff
mov r11b, al
xor r11b, dl
and r11b, al
mov dl, al
xor dl, 0xff
mov r10b, cl
and r10b, dl
xor cl, 0xff
and al, cl
or r10b, al
mov cl, r11b
xor cl, 0xff
mov r8b, r10b
xor r8b, 0xff
mov dl, 1
xor dl, 0
mov al, cl
and al, 0
and r11b, dl
mov r9b, r8b
and r9b, 0
and r10b, dl
or al, r11b
or r9b, r10b
xor al, r9b
or cl, r8b
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x180001354
jmp 0x1800018c4
mov al, byte [rbp - 9]
test al, 1
jne 0x180001364
jmp 0x180001374
mov rax, qword [rbp - 0x40]
mov qword [rax], 0
jmp 0x1800018b0
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
xor edx, edx
mov r8d, 2
sub rsp, 0x20
call fcn.18003da88
add rsp, 0x20
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.18003df84
mov rcx, qword [rbp - 0x38]
add rsp, 0x20
mov edx, eax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rcx]
mov dword [rcx], edx
mov rcx, qword [rax]
xor r8d, r8d
sub rsp, 0x20
mov edx, r8d
call fcn.18003da88
add rsp, 0x20
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
movsxd rcx, dword [rax]
sub rsp, 0x20
call fcn.18003df8c
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x20]
mov qword [rax], rcx
cmp qword [rax], 0
jne 0x180001864
mov ecx, dword [0x180054dd0]
mov eax, dword [0x180054dcc]
xor r8d, r8d
sub r8d, 0x27959332
mov edx, ecx
add edx, r8d
sub edx, 0xc9e968da
sub edx, 1
add edx, 0xc9e968da
sub edx, 0x3562377a
add edx, 0x27959332
add edx, 0x3562377a
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r8b
cmp eax, 0xa
setl al
mov sil, r8b
xor sil, 0xff
and sil, 1
mov dl, 1
xor dl, 1
mov cl, r8b
and cl, dl
or sil, cl
mov bl, al
xor bl, 0xff
and bl, 0
mov dl, 1
xor dl, 0
mov r9b, al
and r9b, dl
mov cl, 1
xor cl, 1
and cl, 0
and dl, 1
or bl, r9b
or cl, dl
xor bl, cl
mov dl, 1
xor dl, 1
and dl, 1
mov r9b, 1
xor r9b, 1
mov r10b, r9b
and r10b, 1
mov cl, 1
xor cl, 1
and cl, 0xff
and r9b, 1
or dl, r10b
or cl, r9b
xor dl, cl
mov r9b, 1
xor r9b, 1
mov cl, sil
xor cl, r9b
and cl, sil
xor r8b, 0xff
mov r10b, dl
xor r10b, 0xff
mov r9b, 1
xor r9b, 1
or r8b, r10b
or r9b, 1
xor r8b, 0xff
and r8b, r9b
mov r9b, 1
xor r9b, 1
mov r14b, bl
xor r14b, r9b
and r14b, bl
mov r9b, dl
xor r9b, 0xff
mov dil, al
xor dil, r9b
and dil, al
mov al, cl
and al, r8b
xor cl, r8b
or al, cl
mov cl, r14b
xor cl, 0xff
mov r10b, dil
xor r10b, 0xff
mov r9b, 1
xor r9b, 1
mov r8b, cl
and r8b, 0xff
and r14b, r9b
mov r11b, r10b
and r11b, 0xff
and dil, r9b
or r8b, r14b
or r11b, dil
xor r8b, r11b
or cl, r10b
xor cl, 0xff
or r9b, 1
and cl, r9b
or r8b, cl
mov r9b, al
xor r9b, 0xff
mov cl, r8b
and cl, r9b
xor r8b, 0xff
and al, r8b
or cl, al
mov al, sil
xor al, 0xff
mov r9b, bl
xor r9b, 0xff
mov r8b, 1
xor r8b, 0
mov r10b, al
and r10b, 0
and sil, r8b
mov r11b, r9b
and r11b, 0
and bl, r8b
or r10b, sil
or r11b, bl
xor r10b, r11b
or al, r9b
xor al, 0xff
or r8b, 0
and al, r8b
or r10b, al
mov al, r10b
xor al, 0xff
and al, 1
mov r9b, 1
xor r9b, 1
and r10b, r9b
mov r8b, 1
xor r8b, 1
and r8b, 0xff
and r9b, 1
or al, r10b
or r8b, r9b
xor al, r8b
mov r8b, dl
and r8b, 1
xor dl, 1
or r8b, dl
xor r8b, 0xff
mov dl, al
xor dl, r8b
and dl, al
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1800015f0
jmp 0x180001942
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.18003e018
add rsp, 0x20
mov rax, qword [rbp - 0x40]
mov qword [rax], 0
mov ecx, dword [0x180054dd0]
mov eax, dword [0x180054dcc]
xor r8d, r8d
sub r8d, 1
add r8d, 0
mov edx, ecx
add edx, 0x92275366
add edx, r8d
sub edx, 0x92275366
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete dl
cmp eax, 0xa
setl al
mov sil, dl
xor sil, 0xff
and sil, 0
mov r8b, 1
xor r8b, 0
mov r9b, dl
and r9b, r8b
mov cl, 1
xor cl, 1
and cl, 0
and r8b, 1
or sil, r9b
or cl, r8b
xor sil, cl
mov r10b, al
xor r10b, 0xff
and r10b, 1
mov r8b, 1
xor r8b, 1
mov cl, al
and cl, r8b
or r10b, cl
mov bl, 1
xor bl, 0
and bl, 1
mov cl, 1
xor cl, 1
and cl, 0
or bl, cl
mov cl, sil
xor cl, 0xff
mov r9b, 1
xor r9b, 0
mov r8b, 1
xor r8b, 1
or cl, r9b
or r8b, 1
xor cl, 0xff
and cl, r8b
xor dl, 0xff
mov r9b, bl
xor r9b, 0xff
mov r8b, 1
xor r8b, 0
or dl, r9b
or r8b, 0
xor dl, 0xff
and dl, r8b
mov r14b, r10b
xor r14b, 0xff
mov r9b, 1
xor r9b, 0
mov r8b, 1
xor r8b, 0
or r14b, r9b
or r8b, 0
xor r14b, 0xff
and r14b, r8b
mov r8b, bl
xor r8b, 0xff
mov dil, al
xor dil, r8b
and dil, al
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov dl, r14b
xor dl, 0xff
mov r9b, dil
xor r9b, 0xff
mov r8b, 1
xor r8b, 0
mov cl, dl
and cl, 0
and r14b, r8b
mov r11b, r9b
and r11b, 0
and dil, r8b
or cl, r14b
or r11b, dil
xor cl, r11b
or dl, r9b
xor dl, 0xff
or r8b, 0
and dl, r8b
or cl, dl
mov dl, al
xor dl, 0xff
mov r11b, cl
and r11b, dl
xor cl, 0xff
and al, cl
or r11b, al
mov al, sil
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and sil, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, sil
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov r10b, dl
xor r10b, 0xff
and r10b, 1
mov cl, 1
xor cl, 1
and dl, cl
mov al, 1
xor al, 1
and al, 0xff
and cl, 1
or r10b, dl
or al, cl
xor r10b, al
mov al, 1
xor al, 0
mov r8b, bl
xor r8b, 0xff
mov dl, 1
xor dl, 0
mov cl, al
and cl, 0
mov sil, dl
and sil, 0
mov r9b, r8b
and r9b, 0
and bl, dl
or cl, sil
or r9b, bl
xor cl, r9b
or al, r8b
xor al, 0xff
or dl, 0
and al, dl
or cl, al
xor r10b, 0xff
xor cl, 0xff
mov al, 1
xor al, 0
or r10b, cl
or al, 0
xor r10b, 0xff
and r10b, al
mov cl, r11b
xor cl, 0xff
mov r8b, r10b
xor r8b, 0xff
mov dl, 1
xor dl, 1
mov al, cl
and al, 0xff
and r11b, dl
mov r9b, r8b
and r9b, 0xff
and r10b, dl
or al, r11b
or r9b, r10b
xor al, r9b
or cl, r8b
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x18000185f
jmp 0x180001942
jmp 0x1800018b0
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x38]
mov r9, qword [rdx]
mov rcx, qword [rcx]
movsxd r8, dword [rcx]
mov rcx, qword [rax]
mov edx, 1
sub rsp, 0x20
call fcn.18003e30c
add rsp, 0x20
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.18003e018
mov rcx, qword [rbp - 0x20]
add rsp, 0x20
mov rax, qword [rbp - 0x40]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp]
mov r8, qword [rbp - 8]
mov eax, 0x10
mov qword [rbp - 0x58], rax
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x58]
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov rdx, rsp
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov r9, rsp
mov qword [rbp - 0x50], r9
call fcn.18003b890
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov r9, rsp
mov qword [rbp - 0x48], r9
mov qword [rdx], r8
mov qword [rax], rcx
mov rcx, qword [rax]
lea rdx, [0x18004a2c0]
sub rsp, 0x20
call fcn.18003d874
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x48]
mov qword [rax], rcx
jmp 0x1800011f9
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.18003e018
add rsp, 0x20
mov rax, qword [rbp - 0x40]
mov qword [rax], 0
jmp 0x1800015f0