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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f3c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
mov dword [ebp - 0x10], ecx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, 0xffffff
jne 0x100328e8
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x100328e8
mov dword [ebp - 0x60], 1
jmp 0x100328ec
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x184], ecx
push 0x15
call dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
jne 0x1003291c
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, 0xffffff
jne 0x1003291c
mov dword [ebp - 0x1c], 1
jmp 0x10032920
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x188], ecx
push 0
lea ecx, [ebp - 0xb0]
call fcn.100273a5
and dword [ebp - 4], 0
push 0xc
push dword [ebp - 0xa8]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1ac], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x54], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x58], ecx
push 0x15
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x60], ecx
push 0x16
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x64], ecx
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x5c], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x68], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], eax
push 6
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], eax
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], eax
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x50], ecx
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x70], eax
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
push 7
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
push 2
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x7c], eax
push 3
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x80], eax
push 0x1b
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x88], eax
push 0x1c
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
push 0xa
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
push 0xb
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x94], eax
push 0x13
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x184], 0
je 0x10032b27
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x70]
mov dword [eax + 0x44], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x70]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x70]
mov dword [eax + 0x4c], ecx
jmp 0x10032b49
push 0x1a
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], 0xff0000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0x800080
push 0x10
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
je 0x10032b69
mov dword [ebp - 0x3c], 1
jmp 0x10032b6d
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x10032b84
call fcn.10007648
xor eax, eax
jne 0x10032b57
push 0x14
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x10032ba8
mov dword [ebp - 0x40], 1
jmp 0x10032bac
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x10032bbd
call fcn.10007648
xor eax, eax
jne 0x10032b96
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
je 0x10032be1
mov dword [ebp - 0x44], 1
jmp 0x10032be5
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x10032bf6
call fcn.10007648
xor eax, eax
jne 0x10032bcf
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x78]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x7c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xb0
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x80]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xb0
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xc8
call fcn.1002772c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x84], eax
push dword [ebp - 0x84]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc8
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
call fcn.1002772c
mov eax, dword [0x10066184]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x88]
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.1002772c
mov eax, dword [0x1006619c]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0x8c]
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.10027698
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
call fcn.1002772c
mov eax, dword [0x100661a0]
mov dword [ebp - 0x90], eax
push dword [ebp - 0x90]
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
call fcn.10027698
mov eax, dword [ebp - 0x10]
add eax, 0xa8
mov dword [ebp - 0x48], eax
jne 0x10032e07
and dword [ebp - 0x4c], 0
jmp 0x10032e10
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x10032e24
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.1002772c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1ac], 8
jle 0x10032f1e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
and eax, 0xff
movzx ecx, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0xff
movzx eax, al
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1c]
and edx, 0xff
movzx edx, dl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
movzx ecx, cl
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x1c]
sar eax, 8
and eax, 0xff
movzx ebx, al
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x24]
sar eax, 8
and eax, 0xff
movzx eax, al
mov edx, dword [ebp - 0x10]
movzx edx, word [edx + 0x1c]
sar edx, 8
and edx, 0xff
movzx edx, dl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add ebx, eax
movzx eax, bl
shl eax, 8
or ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
shr eax, 0x10
and eax, 0xff
movzx ebx, al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
shr eax, 0x10
and eax, 0xff
movzx eax, al
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1c]
shr edx, 0x10
and edx, 0xff
movzx edx, dl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add ebx, eax
movzx eax, bl
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x94], ecx
push dword [ebp - 0x94]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.10027698
jmp 0x10032fd2
lea eax, [ebp - 0xb0]
test eax, eax
jne 0x10032f2e
and dword [ebp - 0x50], 0
jmp 0x10032f37
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
call fcn.10033118
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x10032f54
mov dword [ebp - 0x54], 1
jmp 0x10032f58
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x10032f6f
call fcn.10007648
xor eax, eax
jne 0x10032f45
mov dword [ebp - 0x18], vtable.CGdiObject.0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], vtable.CBitmap.0
mov byte [ebp - 4], 1
push dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.10027698
lea eax, [ebp - 0x18]
test eax, eax
jne 0x10032fa1
and dword [ebp - 0x5c], 0
jmp 0x10032fa7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.10027698
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], vtable.CBitmap.0
lea ecx, [ebp - 0x18]
call fcn.100090b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.10027469
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret