Function at 0x1400cf0a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1401a4010]
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.140065460
xor edi, edi
mov qword [rbx + 0xa0], 1
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
lea r8d, [rdi + 0x6b]
call fcn.140065460
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400cf10f
call fcn.1400d37cc
mov qword [rbx], rdi
mov r8d, 0x77
mov qword [rbx + 8], rdi
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140065460
lea r8, [0x1401524d8]
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 0x1400cf19e
mov r8d, 0x80
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140065460
lea r8, [0x140133248]
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 0x1400cf19e
mov r8d, 0x83
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140065460
mov eax, 0x80004005
jmp 0x1400cf34f
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 0x1400cf1ca
mov r8d, 0x8a
jmp 0x1400cf203
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 0x1400cf1ec
mov r8d, 0x90
jmp 0x1400cf203
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x1400cf220
mov r8d, 0x96
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140065460
mov eax, 0x80004005
jmp 0x1400cf347
mov rcx, rdi
mov qword [rsp + 0xb8], rbp
call fcn.1400d3e08
mov qword [rbx + 0xc0], rax
test rax, rax
jne 0x1400cf25f
mov r8d, 0x9d
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.140065460
mov eax, 0x8007000e
jmp 0x1400cf33f
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400dacf0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x64]
call fcn.1400daa40
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.140065460
mov rcx, rbx
call fcn.1400cf370
mov edi, eax
test eax, eax
jns 0x1400cf2fa
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.140065460
jmp 0x1400cf33d
mov rcx, rbx
call fcn.1400cf500
lea rdx, str.CWaveFile::Open
mov edi, eax
test eax, eax
jns 0x1400cf323
mov r8d, SystemTimeToVariantTime
lea rcx, str._s__d
call fcn.140065460
jmp 0x1400cf33d
mov r9d, dword [rbx + 0x14]
lea rcx, str._s__d_m_dwSize_d_End
mov r8d, 0xbc
mov dword [rbx + 0x38], r9d
call fcn.140065460
mov eax, edi
mov rbp, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret