Function at 0x469f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x420
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebp
mov ebp, dword [esp + 0x428]
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
xor eax, eax
cmp dword [eax + 0x4bf5c0], ecx
je 0x469f9c
add eax, 0x38
inc edi
cmp eax, 0x460
jb 0x469f84
jmp 0x46a231
mov dword [esp + 8], edi
cmp edi, 0xffffffff
je 0x46a231
push ebx
push esi
push 0x18
call fcn.0047ed60
push 0x18
mov dword [esp + 0x18], eax
call fcn.0047edb0
xor ebx, ebx
cmp dword [0x4e2a74], 0xffffffff
mov dword [esp + 0x18], eax
je 0x46a072
mov eax, dword [str.Toolbar_]
mov dl, byte [0x4b42f0]
mov ecx, dword [0x4b42ec]
mov dword [esp + 0x2c], eax
lea eax, [edi*8]
sub eax, edi
mov eax, dword [eax*8 + 0x4bf5f4]
mov byte [esp + 0x34], dl
mov dword [esp + 0x30], ecx
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a000
lea edi, [esp + 0x2c]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x46a010
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x4e2960
call fcn.00467730
mov esi, eax
test esi, esi
je 0x46a06e
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4e2e80
call fcn.00469140
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
call fcn.0047e1f0
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x10]
test byte [ebp + 0x10], 1
je 0x46a0a4
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push eax
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xe
mov dword [esp + 0x20], eax
call esi
mov ecx, dword [ebp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
push 0
push 0
push 0x4b1914
lea esi, [ebp + 0x1c]
push esi
add edx, 3
add dword [esi], edx
mov eax, dword [esi]
mov edx, dword [ebp + 0x18]
push 2
push ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
add edi, edi
add edi, edi
add edi, edi
sub edi, dword [esp + 0x10]
mov eax, 0xfffffffd
sub eax, dword [esp + 0x14]
add edi, edi
add dword [esi], eax
add edi, edi
mov ecx, dword [edi + edi + 0x4bf5cc]
add edi, edi
push ecx
call fcn.0045bde0
mov ecx, eax
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x46a100
sub ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi]
push eax
mov eax, dword [ebp + 0x20]
add eax, 4
push eax
lea eax, [ecx + edx + 7]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
test ebx, ebx
jne 0x46a1b6
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [edi + 0x4bf5c8]
mov edx, dword [0x4c9360]
push 2
push edi
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x4c9360]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46a171
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x46a179
mov dword [esp + 0x20], 0x800080
mov edx, dword [0x4c9360]
push 1
lea ecx, [esp + 0x24]
push ecx
push 0
push edi
push edx
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
mov ebx, eax
call fcn.0047ee00
test al, al
je 0x46a1b6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
call fcn.0047e1f0
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, edi
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
push 0xcc0020
push 0
push 0
push edi
push edx
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test byte [ebp + 0x10], 1
pop esi
pop ebx
je 0x46a231
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x424]
pop edi
pop ebp
xor ecx, esp
call fcn.0049dea6
add esp, 0x420
ret 4