Function at 0x41b0bd8a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
or dword [edi], 0xffffffff
jmp 0x41b0bf3f
inc dword [ebp - 0x234]
jmp 0x41b0be7e
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x41b28d84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov eax, edi
xor ecx, ecx
shr eax, 0x10
test ax, ax
sete cl
xor esi, esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x234], esi
lea ebx, [ebp - 0x20]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x23c], ecx
cmp dword [0x41b280c8], esi
je 0x41b0dd99
cmp dword [0x41b280c4], esi
jne 0x41b0be22
cmp dword [ebp - 0x23c], 0
mov dword [0x41b280c4], 1
mov esi, 0xc8
je 0x41b0ddae
mov eax, dword [ebp - 0x238]
cmp eax, dword [0x41b28b64]
jne 0x41b0ddc2
cmp edi, esi
jne 0x41b0ddc2
cmp dword [ebp - 0x23c], 0
je 0x41b0de17
push 0xa
push edi
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
cmp eax, esi
je 0x41b0de97
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x240], edi
cmp edi, esi
je 0x41b0de97
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x23c], ebx
cmp ebx, esi
je 0x41b0df0f
mov esi, ebx
lea eax, [ebp - 0x230]
push eax
push 0
push esi
call fcn.41b0bf85
add esi, eax
cmp dword [ebp - 0x230], 0
je 0x41b0bd7a
cmp dword [ebp - 0x230], 6
jne 0x41b0be7e
mov esi, dword [ebp - 0x234]
test esi, esi
je 0x41b0df48
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0bee1
test dword [eax + 0x1c], 0x400000
je 0x41b0bee1
cmp byte [eax + 0x19], 3
jb 0x41b0bee1
push esi
push 0x41b0c208
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b0298a
lea esi, [esi*4 + 4]
push esi
call fcn.41b0c674
mov dword [ebp - 0x238], eax
test eax, eax
je 0x41b0df88
shr esi, 1
mov edi, eax
test esi, esi
jle 0x41b0bf3f
and dword [ebp - 0x234], 0
lea eax, [ebp - 0x230]
push eax
push 0
push ebx
call fcn.41b0bf85
cmp dword [ebp - 0x230], 0
je 0x41b0bf6a
cmp dword [ebp - 0x230], 6
je 0x41b0bd72
add ebx, eax
mov eax, dword [ebp - 0x234]
sar eax, 2
cmp eax, esi
jl 0x41b0bf0b
push dword [ebp - 0x22c]
push dword [ebp + 0x10]
push dword [ebp - 0x238]
push dword [ebp - 0x240]
call fcn.41b0bcd5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.41b028d6
leave
ret 0xc
mov ecx, ebx
sub ecx, dword [ebp - 0x23c]
mov dword [edi], ecx
add edi, 4
add dword [ebp - 0x234], 4
jmp 0x41b0bf30
call fcn.41b0c6ab
test eax, eax
jne 0x41b0bde4
or eax, 0xffffffff
jmp 0x41b0bf59
push edi
push str.core
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
neg eax
je 0x41b0de17
push 0
push esi
push dword [0x41b28b64]
call sym.WINMM.dll_mciLoadCommandResource
cmp eax, 0xffffffff
jne 0x41b0be22
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0be22
test dword [eax + 0x1c], 0x400000
je 0x41b0be22
cmp byte [eax + 0x19], 1
jb 0x41b0be22
push 0x41b0c208
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b02941
jmp 0x41b0be22
lea ecx, [edi + 0x10]
cmp edi, ecx
jae 0x41b0de4d
xor edx, edx
mov eax, dword [ebp - 0x230]
movzx eax, word [eax]
test ax, ax
je 0x41b0de4d
mov esi, edx
sar esi, 1
cmp esi, 0xd
jae 0x41b0de4d
add dword [ebp - 0x230], 2
mov word [ebx], ax
inc ebx
inc ebx
inc edx
inc edx
cmp dword [ebp - 0x230], ecx
jb 0x41b0de20
push str..mci
lea ecx, [ebp - 0x20]
push 0xd
mov eax, ebx
sub eax, ecx
pop ecx
sar eax, 1
sub ecx, eax
push ecx
push ebx
call fcn.41b050d1
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x104
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x41b0deb4
mov dword [ebp - 0x22c], esi
jmp 0x41b0be2f
cmp dword [ebp - 0x22c], esi
je 0x41b0dda6
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41b0dda6
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
push 1
mov ebx, eax
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebx
mov dword [ebp - 0x22c], eax
call esi
cmp dword [ebp - 0x22c], 0
je 0x41b0be2f
push 0xa
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b0be2f
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], ecx
jmp 0x41b0be3e
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0df3c
test dword [eax + 0x1c], 0x400000
je 0x41b0df3c
cmp byte [eax + 0x19], 1
jb 0x41b0df3c
push 0x41b0c208
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b02941
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41b0de97
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0df75
test dword [eax + 0x1c], 0x400000
je 0x41b0df75
cmp byte [eax + 0x19], 1
jb 0x41b0df75
push 0x41b0c208
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.41b02941
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 0x22c], 0
jmp 0x41b0de9d
mov eax, dword [0x41b28b68]
cmp eax, 0x41b28b68
je 0x41b0df75
test dword [eax + 0x1c], 0x400000
je 0x41b0df75
cmp byte [eax + 0x19], 1
jb 0x41b0df75
push 0x41b0c208
push 0x19
jmp 0x41b0df6a