Function at 0x41cd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4e4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [0x4e78e8]
push 0xf1
push 0x7f
push ebx
mov dword [ebp - 0x280], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x41cd85
xor eax, eax
jmp 0x41cfed
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41cd7e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x41cd7e
movzx eax, word [edi + 6]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x270], 0
push eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
call fcn.00420fd0
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x41cfd0
xor ecx, ecx
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x274], ecx
cmp bx, word [edi + 6]
jae 0x41ce2f
add eax, 8
cmp word [edi + edx*2 + 8], bx
je 0x41ce08
mov dword [eax - 8], ecx
inc ecx
mov dword [ebp - 0x274], ecx
movzx ecx, word [edi + edx*2 + 8]
mov dword [eax - 4], ecx
mov word [eax], 4
jmp 0x41ce17
mov dword [eax - 8], 8
mov dword [eax - 4], ebx
mov word [eax], 0x100
mov dword [eax + 8], ebx
inc edx
mov dword [eax + 4], ebx
add eax, 0x14
movzx ecx, word [edi + 6]
cmp edx, ecx
mov ecx, dword [ebp - 0x274]
jl 0x41cde8
push 0
push dword [0x4e78e4]
push 0xe800
push esi
push 0x64
push 0x64
push 0
push 0
push 0x5600094c
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x41cfd0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push ebx
call esi
push 0
push 0
push 0x31
push ebx
call esi
mov esi, eax
test esi, esi
jne 0x41ce8e
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
push 0x5c
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.004aaf60
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x6c]
mov esi, dword [0x4e78e8]
cdq
xor eax, edx
push 2
sub eax, edx
push 0x7f
movzx eax, ax
push esi
mov dword [ebp - 0x278], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
movzx ecx, word [eax + 0xe]
cmp ecx, 4
jbe 0x41cf1a
push 0x2040
or edx, 0xffffffff
mov eax, 0xff000000
push 0
cmp ecx, 0x20
cmove eax, edx
push eax
movzx eax, word [edi + 2]
push 1
push eax
push 0x7f
push dword [0x4e78e8]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push 0
push 0x430
jmp 0x41cf4d
mov eax, dword [ebp - 0x280]
xorps xmm0, xmm0
movq qword [ebp - 0x288], xmm0
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x274]
mov dword [ebp - 0x284], 0x7f
push 0x413
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call esi
push dword [ebp - 0x27c]
push dword [ebp - 0x28c]
push 0x444
push ebx
call esi
movzx ecx, word [edi + 4]
mov eax, dword [ebp - 0x278]
cmp cx, ax
jbe 0x41cf7d
mov eax, ecx
jmp 0x41cf80
movzx eax, ax
movzx ecx, ax
movzx eax, word [edi + 2]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x420
push ebx
call esi
movzx ecx, word [edi + 4]
mov eax, dword [ebp - 0x278]
cmp cx, ax
jbe 0x41cfaa
mov eax, ecx
jmp 0x41cfad
movzx eax, ax
add eax, 7
movzx ecx, ax
mov ax, word [edi + 2]
add ax, 7
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x41f
push ebx
call esi
jmp 0x41cfd2
xor ebx, ebx
lea eax, [ebp - 0x26c]
cmp dword [ebp - 0x270], eax
je 0x41cfeb
lea ecx, [ebp - 0x270]
call fcn.0041a940
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a83d2
mov esp, ebp
pop ebp
ret