Function at 0x1400ba480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
mov r8d, 0x65
call fcn.14005dbf0
xor edi, edi
mov qword [rbx + 0xa0], 1
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
lea r8d, [rdi + 0x6b]
call fcn.14005dbf0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ba4ef
call fcn.1400beb4c
mov qword [rbx], rdi
mov r8d, 0x77
mov qword [rbx + 8], rdi
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14005dbf0
lea r8, [0x140115ba8]
mov edx, 0x67
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400ba57e
mov r8d, 0x80
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14005dbf0
lea r8, [0x1400f8f98]
xor ecx, ecx
lea edx, [rdi + 0x67]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400ba57e
mov r8d, 0x83
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14005dbf0
mov eax, 0x80004005
jmp 0x1400ba72f
xor ecx, ecx
mov qword [rsp + 0xc0], rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rsi, rax
test rax, rax
jne 0x1400ba5aa
mov r8d, 0x8a
jmp 0x1400ba5e3
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov edi, eax
test eax, eax
jne 0x1400ba5cc
mov r8d, 0x90
jmp 0x1400ba5e3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x1400ba600
mov r8d, 0x96
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14005dbf0
mov eax, 0x80004005
jmp 0x1400ba727
mov rcx, rdi
mov qword [rsp + 0xb8], rbp
call fcn.1400bf14c
mov qword [rbx + 0xc0], rax
test rax, rax
jne 0x1400ba63f
mov r8d, 0x9d
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14005dbf0
mov eax, 0x8007000e
jmp 0x1400ba71f
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400c5690
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x64]
call fcn.1400c53e0
mov rax, qword [rbx + 0xc0]
lea rdx, [rsp + 0x20]
mov r8d, 0x10000
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x24], 0x204d454d
mov dword [rsp + 0x3c], edi
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioOpenW]
mov r8d, 0xa9
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
mov qword [rbx + 8], rax
call fcn.14005dbf0
mov rcx, rbx
call fcn.1400ba750
mov edi, eax
test eax, eax
jns 0x1400ba6da
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov r8d, 0xb0
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14005dbf0
jmp 0x1400ba71d
mov rcx, rbx
call fcn.1400ba8e0
lea rdx, str.CWaveFile::Open
mov edi, eax
test eax, eax
jns 0x1400ba703
mov r8d, SystemTimeToVariantTime
lea rcx, str._s__d
call fcn.14005dbf0
jmp 0x1400ba71d
mov r9d, dword [rbx + 0x14]
lea rcx, str._s__d_m_dwSize_d_End
mov r8d, 0xbc
mov dword [rbx + 0x38], r9d
call fcn.14005dbf0
mov eax, edi
mov rbp, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400beb20
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret