Function at 0x1800439b0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, rdx
mov r13, rcx
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r12 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov qword [rbp - 0x39], rax
cmp rax, 0xffffffffffffffff
jne 0x180043a2c
jmp 0x180043c1b
mov r9d, 2
xor r8d, r8d
lea rdx, [r8 - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180043c12
mov byte [rbp + 0xf], 0
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
mov word [rbp + 0x2c], ax
mov byte [rbp + 0x2e], al
mov dword [rbp - 0x31], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x31]
mov ebx, 0x20
mov r8d, ebx
lea rdx, [rbp + 0xf]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180043c12
mov rax, qword [rbp + 0xf]
cmp rax, qword [str.APETAGEX]
jne 0x180043c12
mov r14d, dword [rbp + 0x1b]
lea edx, [r14 + 0x20]
neg rdx
lea r9d, [rbx - 0x1e]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180043c12
lea eax, [r14 + 1]
mov r15d, eax
lea rdx, [0x1800ece24]
mov ecx, eax
call fcn.180072944
mov rsi, rax
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x180043af8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x8007000e
jmp 0x180043c1d
mov r8, r15
xor edx, edx
mov rcx, rsi
call fcn.18008c000
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x31]
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180043c06
cmp dword [rbp - 0x31], r14d
jne 0x180043c06
mov rax, qword [rsi]
cmp rax, qword [str.APETAGEX]
je 0x180043b4c
mov rcx, rsi
call fcn.18007294c
mov qword [rbp - 0x29], r12
jmp 0x180043c12
mov r9d, dword [rsi + 0x10]
mov edx, r12d
test r9d, r9d
je 0x180043bf8
mov r10, qword [str.Cuesheet]
nop dword [rax]
nop word [rax + rax]
mov eax, ebx
mov r8d, dword [rax + rsi]
lea rcx, [rax + rsi]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax + 8], 0
jne 0x180043b80
cmp eax, 8
jne 0x180043b95
cmp qword [rcx + 8], r10
je 0x180043ba6
add eax, r8d
add ebx, 9
add ebx, eax
inc edx
cmp edx, r9d
jae 0x180043bf8
jmp 0x180043b70
cmp edx, r9d
jae 0x180043bf8
lea rax, [r13 + 0x40]
mov qword [rbp - 0x21], rax
lea rax, [r13 + 0x364]
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], r12d
mov qword [rbp - 9], r12
mov dword [rbp - 1], r12d
lea rdx, [rcx + 0x11]
lea rcx, [rbp - 0x21]
call fcn.180047810
mov ebx, r12d
test eax, eax
sete bl
mov rcx, rsi
call fcn.18007294c
mov qword [rbp - 0x29], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x180043c1d
mov rcx, rsi
call fcn.18007294c
mov qword [rbp - 0x29], r12
jmp 0x180043c12
mov rcx, rsi
call fcn.18007294c
mov qword [rbp - 0x29], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rbp - 0x39], 0xffffffffffffffff
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180072920
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret