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

Disassembly:
push 0x20
mov eax, 0x56f7ae
call fcn.00542d54
mov edi, ecx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, 0xffffff
xor ebx, ebx
cmp eax, esi
jne 0x439dc3
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x439dc3
inc eax
jmp 0x439dc5
mov eax, ebx
push 0x15
mov dword [edi + 0x184], eax
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x439de8
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, esi
jne 0x439de8
xor eax, eax
inc eax
jmp 0x439dea
mov eax, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x188], eax
call fcn.0040f196
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 0x439f2c
mov esi, dword [edi + 0x70]
mov ebx, esi
mov eax, esi
jmp 0x439f3e
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 0x43a1ba
push 0x14
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x10], eax
test eax, eax
je 0x43a1ba
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x18], eax
test eax, eax
je 0x43a1ba
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xd0]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x54]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x7c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xc0]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x80]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x3c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xb0]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x30]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xc8]
mov ecx, esi
call fcn.0040fd42
push dword [edi + 0x6c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xd8]
mov ecx, esi
call fcn.0040fd42
push dword [0x61f8cc]
xor ebx, ebx
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xe0]
mov ecx, esi
call fcn.0040fd42
push dword [0x61f8e4]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.0040fc03
lea esi, [edi + 0xe8]
mov ecx, esi
call fcn.0040fd42
push dword [0x61f8e8]
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, esi
call fcn.0040fc03
lea ebx, [edi + 0xa8]
test ebx, ebx
je 0x43a0da
cmp dword [ebx + 4], 0
je 0x43a0da
mov ecx, ebx
call fcn.0040fd42
cmp dword [edi + 0x1ac], 8
jle 0x43a156
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.0040fc03
jmp 0x43a19d
push dword [ebp - 0x28]
mov ecx, edi
call fcn.00438e2b
test eax, eax
je 0x43a1ba
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.0040fc03
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, ebx
call fcn.0040fc03
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
call fcn.0040f29b
call fcn.0046e1d6
lea ecx, [ebp - 0x2c]
mov dword [0x621484], 1
call fcn.0040f41a
call fcn.00542d1d
ret
call fcn.004096f9
int3