Function at 0x76b24b0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x76b30340]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
shr esi, 0x10
neg si
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x234], edi
sbb esi, esi
xor eax, eax
inc esi
cmp dword [0x76b316d0], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x238], eax
jne 0x76b24b66
call fcn.76b25775
test eax, eax
je 0x76b24d37
cmp dword [0x76b316cc], 0
jne 0x76b24bc1
test esi, esi
mov dword [0x76b316cc], 1
je 0x76b24b95
mov eax, dword [ebp - 0x22c]
cmp eax, dword [0x76b300c0]
jne 0x76b24baf
cmp edi, 0xc8
jne 0x76b24baf
jmp 0x76b24bc1
push edi
push 0x76b31308
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x23c], eax
je 0x76b24bc5
push 0
push 0xc8
push dword [0x76b300c0]
call sym.WINMM.dll_mciLoadCommandResource
test esi, esi
jne 0x76b24c1e
lea ecx, [edi + 0x10]
cmp edi, ecx
jae 0x76b24be5
mov edx, dword [ebp - 0x234]
mov ax, word [edx]
test ax, ax
je 0x76b24be5
mov word [ebx], ax
inc ebx
inc ebx
inc edx
inc edx
cmp edx, ecx
jb 0x76b24bd2
push 0x76b312fc
push ebx
call dword [sym.imp.ntdll.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x104
xor ebx, ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x76b24c45
mov dword [ebp - 0x230], ebx
push 0xa
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [ebp - 0x230]
test eax, eax
jne 0x76b24c9c
test ebx, ebx
je 0x76b24d37
push ebx
jmp 0x76b24d31
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
push 1
mov dword [ebp - 0x234], eax
push ebx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push dword [ebp - 0x234]
mov dword [ebp - 0x230], eax
call esi
cmp dword [ebp - 0x230], ebx
je 0x76b24c1e
push 0xa
push edi
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x76b24c1e
mov ebx, dword [ebp - 0x230]
mov dword [ebp - 0x22c], ebx
jmp 0x76b24c33
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
mov dword [ebp - 0x23c], edi
je 0x76b24c37
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
mov dword [ebp - 0x234], esi
je 0x76b24cfd
lea eax, [ebp - 0x22c]
push eax
push 0
push esi
call fcn.76b249ed
add esi, eax
cmp dword [ebp - 0x22c], 0
jne 0x76b24cea
inc dword [ebp - 0x238]
jmp 0x76b24cc8
cmp dword [ebp - 0x22c], 6
jne 0x76b24cc8
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x76b24d09
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x76b24c37
lea eax, [eax*4 + 4]
push eax
call fcn.76b2b29d
mov ebx, eax
test ebx, ebx
jne 0x76b24d3c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 0x230], ebx
je 0x76b24d37
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x76b24d90
mov edi, dword [ebp - 0x234]
mov esi, ebx
lea eax, [ebp - 0x22c]
push eax
push 0
push edi
call fcn.76b249ed
cmp dword [ebp - 0x22c], 0
jne 0x76b24d6b
mov ecx, edi
sub ecx, dword [ebp - 0x234]
mov dword [esi], ecx
add esi, 4
jmp 0x76b24d74
cmp dword [ebp - 0x22c], 6
je 0x76b24d78
add edi, eax
jmp 0x76b24d44
push dword [ebp - 0x230]
or dword [esi], 0xffffffff
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x23c]
call fcn.76b24a76
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 0xc