Function at 0x41af5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x46dca4]
push edi
push 0xf1
push eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
cmp eax, edi
jne 0x41af8a
xor eax, eax
jmp 0x41b197
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x41af83
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x41af83
movzx esi, word [ebx + 6]
mov eax, esi
imul eax, eax, 0x14
mov dword [ebp - 0x20], esi
call fcn.0042ff20
mov eax, esp
xor ecx, ecx
cmp esi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], edi
jle 0x41b009
add eax, 8
cmp word [ebx + ecx*2 + 8], di
je 0x41afe6
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov dword [eax - 8], edx
movzx edx, word [ebx + ecx*2 + 8]
mov dword [eax - 4], edx
mov byte [eax], 4
mov byte [eax + 1], 0
jmp 0x41aff7
mov dword [eax - 8], 8
mov dword [eax - 4], edi
mov byte [eax], 0
mov byte [eax + 1], 1
mov dword [eax + 8], edi
mov dword [eax + 4], edi
movzx edx, word [ebx + 6]
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x41afc5
push edi
push dword [0x46dca0]
push 0xe800
push dword [ebp + 8]
push 0x64
push 0x64
push edi
push edi
push 0x560018cd
push edi
push str.ToolbarWindow32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x41af83
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x14
push 0x41e
push eax
call esi
push edi
push edi
push 0x31
push dword [ebp - 4]
call esi
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x41b067
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
push 0x58
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.00428c40
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x5c
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0x7c]
call fcn.004284e3
pop ecx
movzx ecx, word [ebp + 0xc]
movzx eax, ax
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [0x46dca4]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
movzx eax, word [eax + 0xe]
cmp ax, 4
jbe 0x41b103
cmp ax, 0x20
mov ecx, 0xff000000
jne 0x41b0d6
or ecx, 0xffffffff
movzx eax, word [ebx + 2]
push 0x2040
push edi
push ecx
push 1
push eax
movzx eax, word [ebp + 0xc]
push eax
push dword [0x46dca4]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push edi
push 0x430
push dword [ebp - 4]
call esi
jmp 0x41b128
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push 0x413
push dword [ebp - 4]
call esi
xor edi, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x444
push dword [ebp - 4]
call esi
movzx eax, word [ebx + 4]
cmp ax, word [ebp - 0xc]
movzx eax, ax
ja 0x41b149
movzx eax, word [ebp - 0xc]
movzx ecx, word [ebx + 2]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push edi
push 0x420
push dword [ebp - 4]
call esi
movzx eax, word [ebx + 4]
cmp ax, word [ebp - 0xc]
movzx eax, ax
ja 0x41b172
movzx eax, word [ebp - 0xc]
mov cx, word [ebx + 2]
add eax, 7
movzx eax, ax
add cx, 7
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push eax
push edi
push 0x41f
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 4]
lea esp, [ebp - 0x88]
pop edi
pop esi
pop ebx
leave
ret