Function at 0x45cec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x633634]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [0x634690]
push edi
mov dword [ebp - 0x26c], eax
movzx eax, word [ebp + 0xc]
push 0xf1
push eax
push esi
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x278], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
cmp eax, ebx
je 0x45cf7b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x45cf7b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x45cf7b
mov edi, dword [ebp + 0x10]
movzx eax, word [esi + 6]
xor ecx, ecx
cmp edi, ebx
setne cl
mov dword [ebp - 0x264], ebx
add eax, ecx
mov dword [ebp - 0x268], ecx
push eax
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x284], eax
call fcn.0045cbf0
mov dword [ebp - 0x27c], eax
cmp eax, ebx
jne 0x45cf8e
lea edx, [ebp - 0x260]
cmp dword [ebp - 0x264], edx
je 0x45cf7b
lea ecx, [ebp - 0x264]
call fcn.00459dd0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x45cfa8
mov dword [eax], 4
mov dword [eax + 4], ebx
mov byte [eax + 8], bl
mov byte [eax + 9], 1
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
xor edx, edx
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x274], edx
cmp di, word [esi + 6]
jae 0x45d00a
mov edi, dword [ebp - 0x268]
lea edi, [edi + edi*4]
lea eax, [eax + edi*4 + 8]
cmp word [esi + ecx*2 + 8], bx
je 0x45cfe2
mov dword [eax - 8], edx
movzx edi, word [esi + ecx*2 + 8]
inc edx
mov dword [eax - 4], edi
mov byte [eax], 4
mov byte [eax + 1], bl
jmp 0x45cff2
mov dword [eax - 8], 8
mov dword [eax - 4], ebx
mov byte [eax], bl
mov byte [eax + 1], 1
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
movzx edi, word [esi + 6]
inc ecx
add eax, 0x14
cmp ecx, edi
jl 0x45cfc7
mov dword [ebp - 0x274], edx
mov eax, dword [0x63468c]
mov ecx, dword [ebp - 0x288]
mov edx, dword [ebp - 0x26c]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push 0x64
push 0x64
push ebx
push ebx
push eax
push ebx
push str.ToolbarWindow32
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebx
jne 0x45d04d
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x264], ecx
jmp 0x45cf6e
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x14
push 0x41e
push edi
call ebx
push 0
push 0
push 0x31
push edi
call ebx
mov dword [ebp - 0x268], eax
test eax, eax
jne 0x45d07f
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x268], eax
push 0x5c
lea edx, [ebp - 0x60]
push 0
push edx
call fcn.0046f8b0
mov ecx, dword [ebp - 0x268]
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push 0x5c
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x60]
cdq
xor eax, edx
sub eax, edx
movzx edx, ax
push ecx
mov ecx, dword [ebp - 0x278]
mov eax, esp
mov dword [ebp - 0x268], edx
mov dword [eax], ecx
call fcn.00401b70
movzx eax, ax
add esp, 4
cmp ax, 4
jbe 0x45d10a
mov ecx, 0xff000000
cmp ax, 0x20
jne 0x45d0dd
or ecx, 0xffffffff
movzx edx, word [esi + 2]
mov eax, dword [ebp - 0x278]
push 0x2040
push 0
push ecx
mov ecx, dword [0x634690]
push 1
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push 0
push 0x430
jmp 0x45d140
mov edx, dword [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], edx
mov edx, dword [ebp - 0x274]
push ecx
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0xc]
push edx
mov dword [ebp - 0x26c], eax
push 0x413
push edi
call ebx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x284]
push eax
push ecx
push 0x444
push edi
call ebx
movzx eax, word [esi + 4]
mov ecx, dword [ebp - 0x268]
cmp ax, cx
movzx eax, ax
ja 0x45d16e
movzx eax, cx
movzx edx, ax
movzx eax, word [esi + 2]
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x420
push edi
call ebx
movzx eax, word [esi + 4]
mov ecx, dword [ebp - 0x268]
cmp ax, cx
movzx eax, ax
ja 0x45d19a
movzx eax, cx
mov dx, word [esi + 2]
add eax, 7
movzx ecx, ax
add dx, 7
movzx eax, dx
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x41f
push edi
call ebx
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x264], ecx
je 0x45d1d4
lea ecx, [ebp - 0x264]
call fcn.00459dd0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret