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

Disassembly:
push 0x20
mov eax, 0x578a57
call fcn.0054adde
mov edi, ecx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, 0xffffff
xor ebx, ebx
cmp eax, esi
jne 0x4423e5
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x4423e5
inc eax
jmp 0x4423e7
mov eax, ebx
push 0x15
mov dword [edi + 0x184], eax
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x44240a
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, esi
jne 0x44240a
xor eax, eax
inc eax
jmp 0x44240c
mov eax, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x188], eax
call fcn.00418284
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 0x44254e
mov esi, dword [edi + 0x70]
mov ebx, esi
mov eax, esi
jmp 0x442560
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 0x4427dc
push 0x14
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x10], eax
test eax, eax
je 0x4427dc
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x18], eax
test eax, eax
je 0x4427dc
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xd0]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x54]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x7c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xc0]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x80]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x3c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xb0]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x30]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xc8]
mov ecx, esi
call fcn.00418e30
push dword [edi + 0x6c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xd8]
mov ecx, esi
call fcn.00418e30
push dword [0x62f8c4]
xor ebx, ebx
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xe0]
mov ecx, esi
call fcn.00418e30
push dword [0x62f8dc]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.00418cf1
lea esi, [edi + 0xe8]
mov ecx, esi
call fcn.00418e30
push dword [0x62f8e0]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.00418cf1
lea ebx, [edi + 0xa8]
test ebx, ebx
je 0x4426fc
cmp dword [ebx + 4], 0
je 0x4426fc
mov ecx, ebx
call fcn.00418e30
cmp dword [edi + 0x1ac], 8
jle 0x442778
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.00418cf1
jmp 0x4427bf
push dword [ebp - 0x28]
mov ecx, edi
call fcn.0044144d
test eax, eax
je 0x4427dc
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.00418cf1
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, ebx
call fcn.00418cf1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
call fcn.00418389
call fcn.004767fa
lea ecx, [ebp - 0x2c]
mov dword [0x63147c], 1
call fcn.00418508
call fcn.0054ada7
ret
call fcn.00411749
int3