Function at 0x42e172
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 0x42e33f
cmp dword [ebp + 8], 0
jne 0x42e1ae
mov eax, 0x80070057
jmp 0x42e3a8
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx], 0
je 0x42e1d3
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005c554a
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 0x42e2f3
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 0x42e235
push 0x612f30
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 0x42e235
mov eax, 0x80004005
jmp 0x42e3a8
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 0x42e254
mov eax, 0x80004005
jmp 0x42e3a8
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 0x42e273
mov eax, 0x80004005
jmp 0x42e3a8
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 0x42e290
mov eax, 0x80004005
jmp 0x42e3a8
mov edx, dword [ebp - 0x14]
push edx
call fcn.005c5dd3
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.005c5f60
add esp, 0xc
push 0x48
push 0
lea ecx, [ebp - 0x5c]
push ecx
call fcn.005c5b80
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.0042e409
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42e31b
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 0x42e3a8
mov ecx, dword [ebp - 0x6c]
call fcn.0042e64b
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42e331
mov eax, dword [ebp - 4]
jmp 0x42e3a8
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x30], ecx
jmp 0x42e3a5
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 0x42e366
mov eax, 0x80004005
jmp 0x42e3a8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.0042eaa8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42e38f
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 0x42e3a8
mov ecx, dword [ebp - 0x6c]
call fcn.0042e64b
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x42e3a5
mov eax, dword [ebp - 4]
jmp 0x42e3a8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc