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

Disassembly:
push 0x20
mov eax, 0x569c86
call fcn.005463bf
mov edi, ecx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, 0xffffff
xor ebx, ebx
cmp eax, esi
jne 0x43d8eb
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x43d8eb
inc eax
jmp 0x43d8ed
mov eax, ebx
push 0x15
mov dword [edi + 0x184], eax
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x43d910
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, esi
jne 0x43d910
xor eax, eax
inc eax
jmp 0x43d912
mov eax, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x188], eax
call fcn.00412968
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 0x43da54
mov esi, dword [edi + 0x70]
mov ebx, esi
mov eax, esi
jmp 0x43da66
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 0x43dce2
push 0x14
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x10], eax
test eax, eax
je 0x43dce2
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x18], eax
test eax, eax
je 0x43dce2
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xd0]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x54]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x7c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xc0]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x80]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x3c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xb0]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x30]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xc8]
mov ecx, esi
call fcn.00413514
push dword [edi + 0x6c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xd8]
mov ecx, esi
call fcn.00413514
push dword [0x5cb764]
xor ebx, ebx
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xe0]
mov ecx, esi
call fcn.00413514
push dword [0x5cb77c]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.004133d5
lea esi, [edi + 0xe8]
mov ecx, esi
call fcn.00413514
push dword [0x5cb780]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.004133d5
lea ebx, [edi + 0xa8]
test ebx, ebx
je 0x43dc02
cmp dword [ebx + 4], 0
je 0x43dc02
mov ecx, ebx
call fcn.00413514
cmp dword [edi + 0x1ac], 8
jle 0x43dc7e
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.004133d5
jmp 0x43dcc5
push dword [ebp - 0x28]
mov ecx, edi
call fcn.0043c953
test eax, eax
je 0x43dce2
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.004133d5
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, ebx
call fcn.004133d5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
call fcn.00412a6d
call fcn.0046f55d
lea ecx, [ebp - 0x2c]
mov dword [0x5cd314], 1
call fcn.00412bec
call fcn.00546388
ret
call fcn.0040718d
int3