Function at 0x42d920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x7c], 1
jne 0x42daed
cmp dword [ebp + 8], 0
jne 0x42d95c
mov eax, 0x80070057
jmp 0x42db56
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx], 0
je 0x42d981
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005992fa
add esp, 4
mov edx, dword [ebp - 0x6c]
mov dword [edx], 0
push 0x10000
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 4], 0
jne 0x42daa1
push str.WAVE
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x42d9e3
push 0x5be878
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x42d9e3
mov eax, 0x80004005
jmp 0x42db56
mov edx, dword [ebp - 0x60]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42da02
mov eax, 0x80004005
jmp 0x42db56
mov eax, dword [ebp - 0x60]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42da21
mov eax, 0x80004005
jmp 0x42db56
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42da3e
mov eax, 0x80004005
jmp 0x42db56
mov edx, dword [ebp - 0x14]
push edx
call fcn.0059998a
add esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00599ae0
add esp, 0xc
push 0x48
push 0
lea ecx, [ebp - 0x5c]
push ecx
call fcn.005998e0
add esp, 0xc
mov dword [ebp - 0x58], 0x204d454d
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
push 0x10000
lea ecx, [ebp - 0x5c]
push ecx
push 0
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042dbb7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42dac9
push 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, dword [ebp - 4]
jmp 0x42db56
mov ecx, dword [ebp - 0x6c]
call fcn.0042ddf9
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42dadf
mov eax, dword [ebp - 4]
jmp 0x42db56
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x30], ecx
jmp 0x42db53
push 0x11002
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 4], 0
jne 0x42db14
mov eax, 0x80004005
jmp 0x42db56
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042e256
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42db3d
push 0
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, dword [ebp - 4]
jmp 0x42db56
mov ecx, dword [ebp - 0x6c]
call fcn.0042ddf9
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42db53
mov eax, dword [ebp - 4]
jmp 0x42db56
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc