Function at 0x43ab90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x4e9bb4]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], esi
push edi
mov edi, ecx
mov dword [edi + 0x7c], 1
mov dword [edi + 0x80], 0
test esi, esi
jne 0x43abe5
mov eax, 0x80070057
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004955a0
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
test eax, eax
je 0x43abfa
push eax
call fcn.004957ac
add esp, 4
mov dword [edi], 0
push 0x10000
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x43acd8
push str.WAVE
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x43ac40
push 0x4d1b0c
push dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x43ae4d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
test eax, eax
je 0x43ae4d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x43ae4d
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x14], eax
test eax, eax
je 0x43ae4d
push esi
call fcn.004957ef
add esp, 4
mov esi, eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push esi
call fcn.00498370
add esp, 0xc
lea eax, [esp + 0x18]
push 0x48
push 0
push eax
call fcn.004981d0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0x204d454d
mov dword [esp + 0x30], esi
push 0x10000
push eax
push 0
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
push 0
push 0
lea esi, [edi + 0x1c]
mov dword [edi], 0
push esi
push eax
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x43ae42
cmp dword [esi], 0x46464952
jne 0x43ae42
cmp dword [edi + 0x24], 0x45564157
jne 0x43ae42
push 0x10
push esi
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0x20746d66
push eax
push dword [edi + 4]
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x43ae42
cmp dword [esp + 0x7c], 0x10
jb 0x43ae42
mov esi, dword [sym.imp.WINMM.dll_mmioRead]
lea eax, [esp + 0x60]
push 0x10
push eax
push dword [edi + 4]
call esi
cmp eax, 0x10
jne 0x43ae42
cmp word [esp + 0x60], 1
jne 0x43adca
push 0x12
call fcn.004957ef
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x43ae42
movups xmm0, xmmword [esp + 0x60]
xor ecx, ecx
movups xmmword [eax], xmm0
mov eax, dword [edi]
mov word [eax + 0x10], cx
push 0
lea eax, [esp + 0x7c]
push eax
push dword [edi + 4]
call dword [sym.imp.WINMM.dll_mmioAscend]
test eax, eax
jne 0x43ae2b
mov ecx, edi
call fcn.0043ae70
mov ecx, eax
test ecx, ecx
js 0x43adb2
mov eax, dword [edi + 0xc]
mov dword [edi + 0x30], eax
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004955a0
mov esp, ebp
pop ebp
ret 0xc
push 2
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [edi + 4]
call esi
cmp eax, 2
jne 0x43ae42
movzx eax, word [esp + 0x10]
add eax, 0x12
push eax
call fcn.004957ef
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x43ae42
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
mov ecx, dword [edi]
mov ax, word [esp + 0x10]
mov word [ecx + 0x10], ax
movzx eax, word [esp + 0x10]
push eax
mov eax, dword [edi]
add eax, 0x12
push eax
push dword [edi + 4]
call esi
movzx ecx, word [esp + 0x10]
cmp eax, ecx
je 0x43ad87
mov eax, dword [edi]
test eax, eax
je 0x43ae42
push 0x12
push eax
call fcn.004957e1
add esp, 8
mov dword [edi], 0
push 0
push dword [edi + 4]
call dword [sym.imp.WINMM.dll_mmioClose]
mov ecx, dword [esp + 0x8c]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, esp
call fcn.004955a0
mov esp, ebp
pop ebp
ret 0xc