Function at 0x469fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x420
mov eax, dword [0x4c03a0]
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 + 0x4bf5d8], ecx
je 0x469fec
add eax, 0x38
inc edi
cmp eax, 0x460
jb 0x469fd4
jmp 0x46a281
mov dword [esp + 8], edi
cmp edi, 0xffffffff
je 0x46a281
push ebx
push esi
push 0x18
call fcn.0047edd0
push 0x18
mov dword [esp + 0x18], eax
call fcn.0047ee20
xor ebx, ebx
cmp dword [0x4e2acc], 0xffffffff
mov dword [esp + 0x18], eax
je 0x46a0c2
mov eax, dword [str.Toolbar_]
mov dl, byte [0x4b4354]
mov ecx, dword [0x4b4350]
mov dword [esp + 0x2c], eax
lea eax, [edi*8]
sub eax, edi
mov eax, dword [eax*8 + 0x4bf60c]
mov byte [esp + 0x34], dl
mov dword [esp + 0x30], ecx
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a050
lea edi, [esp + 0x2c]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x46a060
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, 0x4e29b8
call fcn.00467780
mov esi, eax
test esi, esi
je 0x46a0be
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4e2ed8
call fcn.00469190
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
call fcn.0047e260
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x10]
test byte [ebp + 0x10], 1
je 0x46a0f4
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 + 0x4bf5e4]
add edi, edi
push ecx
call fcn.0045be10
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 0x46a150
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 0x46a206
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [edi + 0x4bf5e0]
mov edx, dword [0x4c93a8]
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 [0x4c93a8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46a1c1
movzx eax, word [eax + 0xe]
cmp eax, 8
je 0x46a1c9
mov dword [esp + 0x20], 0x800080
mov edx, dword [0x4c93a8]
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.0047ee70
test al, al
je 0x46a206
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
call fcn.0047e260
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 0x46a281
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.0049e626
add esp, 0x420
ret 4