Function at 0x18001b7e0
Capabilities:
Read file on windows
Write 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 - 0x41e0]
mov eax, 0x42e0
call fcn.180068d00
sub rsp, rax
mov rax, qword [0x1800791a8]
xor rax, rsp
mov qword [rbp + 0x41d0], rax
mov r13d, edx
mov qword [rbp - 0x68], r8
add edx, 0xfffffff4
mov qword [rbp - 0x78], r9
mov qword [rsp + 0x60], rcx
mov r11, r8
mov r8, qword [rbp + 0x4240]
mov r15, r9
mov qword [rbp - 0x60], r8
mov r10, rcx
mov dword [rsp + 0x48], edx
cmp r13d, edx
jbe case.0x18001b87d.0
mov r14d, dword [rsp + 0x40]
lea r12d, [r13 - 0x81]
mov esi, dword [rsp + 0x40]
xor r9d, r9d
lea rbx, [0x180000000]
cmp r12d, 0x33
ja case.0x18001b87d.10
movzx eax, byte [rbx + r12 + 0x1bc78]
mov ecx, dword [rbx + rax*4 + 0x1bc4c]
add rcx, rbx
jmp rcx
mov rax, qword [r15 + 0x60008]
mov r14d, r11d
mov qword [rbp - 0x70], rax
sub r14d, eax
jmp case.0x18001b87d.10
mov eax, dword [r8]
lea r9, [rbp - 0x50]
mov dword [rsp + 0x40], eax
mov r8, r10
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], r15
mov edx, 9
mov qword [rsp + 0x20], rax
mov rcx, r11
call fcn.18001c290
mov dword [rsp + 0x40], eax
xor r9d, r9d
mov edx, dword [rsp + 0x48]
dec r13d
dec r12d
cmp r13d, edx
jbe case.0x18001b87d.0
mov r10, qword [rsp + 0x60]
mov r11, qword [rbp - 0x68]
mov r8, qword [rbp - 0x60]
jmp 0x18001b85d
lea rbx, [rsp + 0x68]
mov edi, 6
lea r15, [0x180000000]
nop dword [rax]
cmp edi, 9
ja case.0x18001b912.2
mov eax, edi
mov ecx, dword [r15 + rax*4 + 0x1bcac]
add rcx, r15
jmp rcx
mov qword [rbx], r9
jmp case.0x18001b912.2
mov qword [rbx + 0x18], r9
jmp case.0x18001b912.2
test rbx, rbx
je case.0x18001b912.1
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
mov qword [rbx + 0x10], r9
jmp case.0x18001b912.2
test rbx, rbx
je case.0x18001b912.2
nop dword [rax + rax]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18001b940
inc edi
lea eax, [rdi + 6]
cmp eax, 0x12
jb 0x18001b900
mov r15, qword [rbp - 0x78]
mov dword [rsp + 0x40], r9d
jmp 0x18001b8c3
cmp esi, r14d
jae case.0x18001b87d.10
nop dword [rax]
mov dword [rsp + 0x30], 0x95
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], r15
mov rcx, r10
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov r8d, esi
add r8, qword [rbp - 0x70]
mov qword [rsp + 0x50], 8
call fcn.180067090
mov r10, qword [rsp + 0x60]
add esi, eax
mov r9d, 0
cmp esi, r14d
jb 0x18001b970
jmp 0x18001b8c3
lea r9, [rsp + 0x68]
mov edx, 0x24
lea r8, [rsp + 0x68]
xor ecx, ecx
call fcn.180064280
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x70]
lea rdx, str.TotalGFLOPSInVectorizedLoopsMKL
mov rcx, rax
call fcn.180068440
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x70]
mov r9, rax
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001b8c0
xor r9d, r9d
xor edx, edx
mov r8d, 0x8f
mov rcx, r15
call fcn.180058a10
xor r9d, r9d
mov ecx, r9d
test eax, eax
sete cl
mov dword [rsp + 0x40], ecx
jmp 0x18001b8c3
mov qword [rsp + 0x38], r9
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x28], rax
mov edx, 0x100
mov qword [rsp + 0x20], r9
xor ecx, ecx
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], 1
call fcn.180065760
mov edi, eax
test eax, eax
je 0x18001bac1
mov ebx, 0x33
nop word [rax + rax]
mov ecx, ebx
sub ecx, 0x32
je 0x18001bb49
cmp ecx, 1
jne 0x18001baba
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.mng_get_totalplaytime
call fcn.180068440
dec ebx
cmp ebx, 0x31
ja 0x18001ba90
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 1
lea rcx, [rbp + 0x3fd0]
mov r9, rax
mov r8d, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x18001b8c0
nop dword [rax]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x3fd0]
mov edx, 0xd2
lea rcx, [rsp + 0x68]
call fcn.180064890
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 1
lea rcx, [rbp + 0x3fd0]
mov r9, rax
mov r8d, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
jne 0x18001baf0
jmp 0x18001b8c0
mov esi, dword [r15 + 0x60028]
jmp case.0x18001b87d.10
xor r9d, r9d
mov dword [rsp + 0x40], edi
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0xa0
call fcn.18001d780
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.C_PREVMODE
mov rcx, rax
call fcn.180068440
mov eax, 1
jmp 0x18001bc0b
mov r10, qword [r11]
mov r14, qword [r11 + 8]
cmp r10, r14
je 0x18001bc02
mov r11, qword [r15 + 8]
mov rsi, qword [r15]
nop
mov r8, rsi
cmp rsi, r11
je 0x18001bbf4
mov rbx, qword [r10 + 0x18]
mov rdi, qword [r10 + 0x10]
mov rax, r10
cmp rbx, 8
jb 0x18001bbbc
mov rax, qword [r10]
cmp qword [r8 + 0x18], 8
mov r9, r8
jb 0x18001bbc9
mov r9, qword [r8]
mov rdx, qword [r8 + 0x10]
cmp rdx, rdi
jne 0x18001bc35
test rdx, rdx
je 0x18001bbf4
sub r9, rax
nop word [rax + rax]
movzx ecx, word [rax]
cmp word [r9 + rax], cx
jne 0x18001bc35
add rax, 2
sub rdx, 1
jne 0x18001bbe0
cmp r8, r11
jne 0x18001bc44
add r10, 0x20
cmp r10, r14
jne 0x18001bba0
mov byte [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x41d0]
xor rcx, rsp
call fcn.180068d70
mov rbx, qword [rsp + 0x4328]
add rsp, 0x42e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
add r8, 0x20
cmp r8, r11
jne 0x18001bbb0
jmp 0x18001bbf9
mov byte [rsp + 0x40], 1
jmp case.0x18001b87d.0