Function at 0x1400da840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
mov r8d, 0x65
call fcn.14006dd20
xor ebx, ebx
mov qword [rdi + 0xa0], 1
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
lea r8d, [rbx + 0x6b]
call fcn.14006dd20
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400da8af
call fcn.1400df368
mov qword [rdi], rbx
mov r8d, 0x77
mov qword [rdi + 8], rbx
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14006dd20
lea r8, [0x14013aba0]
mov edx, 0x67
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400da93e
mov r8d, 0x80
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14006dd20
lea r8, [0x14011ba88]
xor ecx, ecx
lea edx, [rbx + 0x67]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400da93e
mov r8d, 0x83
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14006dd20
mov eax, 0x80004005
jmp 0x1400dab02
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, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rsi, rax
test rax, rax
jne 0x1400da985
mov r8d, 0x8a
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14006dd20
mov eax, 0x80004005
jmp 0x1400daafa
xor ecx, ecx
mov qword [rsp + 0xb8], rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ebp, eax
test eax, eax
jne 0x1400da9af
mov r8d, 0x90
jmp 0x1400da9c6
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x1400da9e3
mov r8d, 0x96
lea rdx, str.CWaveFile::Open
lea rcx, str._s__d
call fcn.14006dd20
mov eax, 0x80004005
jmp 0x1400daaf2
mov rcx, rbp
call fcn.1400df70c
mov r8, rbp
mov qword [rdi + 0xc0], rax
mov rdx, rsi
mov rcx, rax
call fcn.1400e5de0
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
xor eax, eax
mov r8d, 0x10000
mov dword [rsp + 0x80], eax
xor ecx, ecx
mov rax, qword [rdi + 0xc0]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], 0x204d454d
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x3c], ebp
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
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 [rdi + 8], rax
call fcn.14006dd20
mov rcx, rdi
call fcn.1400dab30
mov ebx, eax
lfence
test eax, eax
jns 0x1400daaaa
mov rcx, qword [rdi + 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.14006dd20
jmp 0x1400daaf0
mov rcx, rdi
call fcn.1400dacc0
mov ebx, eax
lfence
lea rdx, str.CWaveFile::Open
test eax, eax
jns 0x1400daad6
mov r8d, SystemTimeToVariantTime
lea rcx, str._s__d
call fcn.14006dd20
jmp 0x1400daaf0
mov r9d, dword [rdi + 0x14]
lea rcx, str._s__d_m_dwSize_d_End
mov r8d, 0xbc
mov dword [rdi + 0x38], r9d
call fcn.14006dd20
mov eax, ebx
mov rbp, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret