Function at 0x41b0c0e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, 0x41b28e80
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
cmp esi, dword [0x41b280c0]
jb 0x41b0c12c
test esi, esi
jne 0x41b0dfe7
push esi
push 0xc8
push dword [0x41b28b64]
call sym.WINMM.dll_mciLoadCommandResource
cmp eax, 0xffffffff
je 0x41b0dfac
imul esi, esi, 0x14
push dword [esi + 0x41b28120]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x41b0e01e
push edi
mov edi, dword [esi + 0x41b2812c]
test edi, edi
je 0x41b0e049
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41b0e074
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
add eax, ecx
push 0
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp - 4], eax
add edi, 4
call fcn.41b0bf85
cmp word [ebp - 0xc], 0
je 0x41b0c1fc
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b0c1a3
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x41b0c169
jmp 0x41b0e074
mov eax, dword [ebp - 8]
mov dword [esi + 0x41b28130], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41b0c1b8
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0c1f2
test dword [eax + 0x1c], 0x400000
je 0x41b0c1f2
cmp byte [eax + 0x19], 3
jb 0x41b0c1f2
push dword [ebp + 8]
push dword [ebp - 4]
push 0x41b0c208
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b02acc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
movzx eax, word [ebp + 0xc]
cmp dword [ebp + 8], eax
jmp 0x41b0c195
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0dfe0
test dword [eax + 0x1c], 0x400000
je 0x41b0dfe0
cmp byte [eax + 0x19], 1
jb 0x41b0dfe0
push 0x41b0c208
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b02941
xor eax, eax
jmp 0x41b0c1f6
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0dfe0
test dword [eax + 0x1c], 0x400000
je 0x41b0dfe0
cmp byte [eax + 0x19], 1
jb 0x41b0dfe0
push esi
push 0x41b0c208
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b0298a
jmp 0x41b0dfe0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0dfe0
test dword [eax + 0x1c], 0x400000
je 0x41b0dfe0
cmp byte [eax + 0x19], 1
jb 0x41b0dfe0
push 0x41b0c208
push 0x25
jmp 0x41b0dfd5
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0e0a8
test dword [eax + 0x1c], 0x400000
je 0x41b0e0a8
cmp byte [eax + 0x19], 1
jb 0x41b0e0a8
push 0x41b0c208
push 0x26
jmp 0x41b0e09d
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0e0a8
test dword [eax + 0x1c], 0x400000
je 0x41b0e0a8
cmp byte [eax + 0x19], 3
jb 0x41b0e0a8
push 0x41b0c208
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b02941
xor eax, eax
jmp 0x41b0c1f5