Function at 0x445322
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x20
mov eax, 0x582b95
call fcn.0054dd5d
mov edi, ecx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, 0xffffff
xor ebx, ebx
cmp eax, esi
jne 0x445352
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x445352
inc eax
jmp 0x445354
mov eax, ebx
push 0x15
mov dword [edi + 0x184], eax
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x445377
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, esi
jne 0x445377
xor eax, eax
inc eax
jmp 0x445379
mov eax, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x188], eax
call fcn.0041b1f7
push 0xc
push dword [ebp - 0x24]
mov dword [ebp - 4], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xf
mov dword [edi + 0x1ac], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
mov dword [edi + 0x1c], eax
mov dword [edi + 0x54], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x15
mov dword [edi + 0x20], eax
mov dword [edi + 0x58], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x16
mov dword [edi + 0x30], eax
mov dword [edi + 0x60], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
mov dword [edi + 0x34], eax
mov dword [edi + 0x64], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x12
mov dword [edi + 0x24], eax
mov dword [edi + 0x5c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x11
mov dword [edi + 0x28], eax
mov dword [edi + 0x68], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 6
mov dword [edi + 0x38], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
mov dword [edi + 0x2c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
mov dword [edi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 5
mov dword [edi + 0x40], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [edi + 0x6c], eax
mov dword [edi + 0x50], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 9
mov dword [edi + 0x70], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov dword [edi + 0x74], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 2
mov dword [edi + 0x78], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 3
mov dword [edi + 0x7c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x1b
mov dword [edi + 0x80], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x1c
mov dword [edi + 0x88], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xa
mov dword [edi + 0x8c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xb
mov dword [edi + 0x90], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x13
mov dword [edi + 0x94], eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [edi + 0x184], ebx
mov dword [edi + 0x84], eax
je 0x4454bb
mov esi, dword [edi + 0x70]
mov ebx, esi
mov eax, esi
jmp 0x4454cd
push 0x1a
mov esi, 0x800080
mov ebx, 0xff0000
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ebx
push 0x10
mov dword [edi + 0x4c], esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x14], eax
test eax, eax
je 0x445749
push 0x14
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x10], eax
test eax, eax
je 0x445749
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x18], eax
test eax, eax
je 0x445749
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xd0]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x54]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x7c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xc0]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x80]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x3c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xb0]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x30]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xc8]
mov ecx, esi
call fcn.0041bda3
push dword [edi + 0x6c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xd8]
mov ecx, esi
call fcn.0041bda3
push dword [0x63dc94]
xor ebx, ebx
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xe0]
mov ecx, esi
call fcn.0041bda3
push dword [0x63dcac]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.0041bc64
lea esi, [edi + 0xe8]
mov ecx, esi
call fcn.0041bda3
push dword [0x63dcb0]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.0041bc64
lea ebx, [edi + 0xa8]
test ebx, ebx
je 0x445669
cmp dword [ebx + 4], 0
je 0x445669
mov ecx, ebx
call fcn.0041bda3
cmp dword [edi + 0x1ac], 8
jle 0x4456e5
mov al, byte [edi + 0x1e]
movzx ecx, word [edi + 0x24]
movzx ebx, word [edi + 0x1c]
mov byte [ebp - 0xd], al
mov eax, ecx
shr eax, 8
shr ebx, 8
movzx ecx, bl
sub eax, ecx
movzx ecx, byte [ebp - 0xd]
cdq
sub eax, edx
sar eax, 1
add al, bl
movzx ebx, word [edi + 0x1c]
movzx esi, al
movzx eax, byte [edi + 0x26]
sub eax, ecx
movzx ecx, bl
cdq
sub eax, edx
sar eax, 1
add al, byte [ebp - 0xd]
movzx eax, al
shl eax, 8
or esi, eax
movzx eax, word [edi + 0x24]
movzx eax, al
sub eax, ecx
shl esi, 8
cdq
sub eax, edx
sar eax, 1
add al, bl
movzx eax, al
or esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [edi + 0xa8]
call fcn.0041bc64
jmp 0x44572c
push dword [ebp - 0x28]
mov ecx, edi
call fcn.004443ba
test eax, eax
je 0x445749
and dword [ebp - 0x14], 0
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x18], esi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041bc64
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, ebx
call fcn.0041bc64
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
call fcn.0041b2fc
call fcn.0047976f
lea ecx, [ebp - 0x2c]
mov dword [0x63f84c], 1
call fcn.0041b47b
call fcn.0054dd26
ret
call fcn.004146d9
int3