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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x1011a204]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
mov ecx, edi
push eax
mov dword [esp + 0x18], edi
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QPalette::constructor_class_QPalette_const__]
cmp byte [esp + 0x78], 0
mov ebx, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QColor::constructor_enum_Qt::GlobalColor_]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
je 0x1002e917
push 0x18
call esi
mov ecx, eax
shr eax, 0x10
movzx eax, al
push 0xff
push eax
movzx eax, cx
shr eax, 8
push eax
movzx eax, cl
lea ecx, [esp + 0x34]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QColor::constructor_int__int__int__int_]
lea ecx, [esp + 0x28]
jmp 0x1002e921
push 2
lea ecx, [esp + 0x5c]
call ebx
mov ecx, eax
cmp byte [esp + 0x78], 0
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
movq xmm0, qword [ecx + 4]
movq qword [esp + 0x3c], xmm0
mov ax, word [ecx + 0xc]
mov word [esp + 0x44], ax
je 0x1002e96f
push 0x17
call esi
mov ecx, eax
shr eax, 0x10
movzx eax, al
push 0xff
push eax
movzx eax, cx
shr eax, 8
push eax
movzx eax, cl
lea ecx, [esp + 0x34]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QColor::constructor_int__int__int__int_]
lea ecx, [esp + 0x28]
jmp 0x1002e979
push 3
lea ecx, [esp + 0x5c]
call ebx
mov ecx, eax
mov eax, dword [ecx]
mov esi, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QBrush::constructor_class_QColor_const___enum_Qt::BrushStyle_]
mov dword [esp + 0x18], eax
movq xmm0, qword [ecx + 4]
movq qword [esp + 0x1c], xmm0
mov ax, word [ecx + 0xc]
lea ecx, [esp + 0x10]
mov word [esp + 0x24], ax
lea eax, [esp + 0x38]
push 1
push eax
call esi
mov ebp, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QPalette::setBrush_enum_QPalette::ColorGroup__enum_QPalette::ColorRole__class_QBrush_const__]
mov ecx, edi
push eax
push 1
push 5
call ebp
mov ebx, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QBrush::destructor_void_]
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0xa
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 6
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 8
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 1
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0xa
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 6
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 8
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0x12
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0x13
push 5
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
mov esi, dword [sym.imp.Qt5Gui.dll_public:_class_QBrush_const____thiscall_QPalette::brush_enum_QPalette::ColorGroup__enum_QPalette::ColorRole_const]
mov ecx, edi
push 1
push 4
call esi
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QColor_const____thiscall_QBrush::color_void_const]
mov edi, eax
push 0
mov ecx, dword [esp + 0x18]
push 4
call esi
mov ecx, eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QColor_const____thiscall_QBrush::color_void_const]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1002c380
mov esi, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QBrush::constructor_class_QColor_const___enum_Qt::BrushStyle_]
lea eax, [esp + 0x54]
add esp, 0xc
lea ecx, [esp + 0x10]
push 1
push eax
call esi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push 0
push 1
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 6
push 1
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
push 1
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call esi
push eax
push 0x13
push 1
mov ecx, edi
call ebp
lea ecx, [esp + 0x10]
call ebx
mov edi, dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QColor::constructor_enum_Qt::GlobalColor_]
lea ecx, [esp + 0x28]
push 3
call edi
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call esi
mov ecx, dword [esp + 0x14]
push eax
push 9
push 1
call ebp
lea ecx, [esp + 0x10]
call ebx
push 3
lea ecx, [esp + 0x2c]
call edi
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call esi
mov ecx, dword [esp + 0x14]
push eax
push 7
push 1
call ebp
lea ecx, [esp + 0x10]
call ebx
push 3
lea ecx, [esp + 0x2c]
call edi
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call esi
mov ecx, dword [esp + 0x14]
push eax
push 0x12
push 1
call ebp
lea ecx, [esp + 0x10]
call ebx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d4904
add esp, 0x5c
ret