Function at 0x1400c1160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140162010]
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.140061d00
xor edi, edi
mov qword [rbx + 0xa0], 1
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
lea r8d, [rdi + 0x6b]
call fcn.140061d00
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400c11cf
call fcn.1400c588c
mov qword [rbx], rdi
mov r8d, 0x77
mov qword [rbx + 8], rdi
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140061d00
lea r8, [0x14011ee78]
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 0x1400c125e
mov r8d, 0x80
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140061d00
lea r8, [0x140101808]
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 0x1400c125e
mov r8d, 0x83
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140061d00
mov eax, 0x80004005
jmp 0x1400c140f
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 0x1400c128a
mov r8d, 0x8a
jmp 0x1400c12c3
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 0x1400c12ac
mov r8d, 0x90
jmp 0x1400c12c3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x1400c12e0
mov r8d, 0x96
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140061d00
mov eax, 0x80004005
jmp 0x1400c1407
mov rcx, rdi
mov qword [rsp + 0xb8], rbp
call fcn.1400c5e8c
mov qword [rbx + 0xc0], rax
test rax, rax
jne 0x1400c131f
mov r8d, 0x9d
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140061d00
mov eax, 0x8007000e
jmp 0x1400c13ff
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400cc3d0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x64]
call fcn.1400cc120
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.140061d00
mov rcx, rbx
call fcn.1400c1430
mov edi, eax
test eax, eax
jns 0x1400c13ba
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.140061d00
jmp 0x1400c13fd
mov rcx, rbx
call fcn.1400c15c0
lea rdx, str.CWaveFile::Open
mov edi, eax
test eax, eax
jns 0x1400c13e3
mov r8d, SystemTimeToVariantTime
lea rcx, str._s__d
call fcn.140061d00
jmp 0x1400c13fd
mov r9d, dword [rbx + 0x14]
lea rcx, str._s__d_m_dwSize_d_End
mov r8d, 0xbc
mov dword [rbx + 0x38], r9d
call fcn.140061d00
mov eax, edi
mov rbp, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret