Function at 0x23a16720
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x23a45fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23a7ca94]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x7c]
call dword [sym.imp.XTToolkitPro.dll_public:_class_CXTPPaintManager____thiscall_CXTPControl::GetPaintManager_void_const]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push 5
push 2
push 0
push 0
push ebx
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push ebp
push ecx
mov ecx, esi
call edx
mov edi, dword [esp + 0x78]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
mov ecx, esi
call dword [sym.imp.XTToolkitPro.dll_public:_class_CFont____thiscall_CXTPPaintManager::GetRegularFont_void_]
push eax
push edi
lea ecx, [esp + 0x60]
call dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPFontDC::constructor_class_CDC___class_CFont__]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
push 5
mov edx, dword [esi]
push 2
mov edx, dword [edx + 0x84]
push 0
push 0
push ebx
push ebp
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
mov dword [esp + 0xa0], 0
call edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
lea ecx, [eax + 2]
add eax, 0x6e
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
add edx, 2
add eax, 0xfffffffe
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
je 0x23a16879
test ebx, ebx
je 0x23a16879
push 5
push 1
push 0
push 1
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi]
mov eax, dword [eax + 0x84]
push edi
mov ecx, esi
call eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffffe
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
push 0xfffffffffffffffe
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
call dword [sym.imp.XTToolkitPro.dll_public:_int___thiscall_CXTPControlGalleryItem::GetID_void_const]
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x23a52cc0
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], 7
mov dword [esp + 0x40], 8
mov dword [esp + 0x44], 9
xor ebx, ebx
mov edi, edi
mov edx, dword [esp + ebx*4 + 0x28]
mov eax, dword [esi + edx*8]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call sub.mfc90u.dll_CDC::FillSolidRect_1
push 0x868686
push 0x868686
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call sub.mfc90u.dll_CDC::Draw3dRect
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 0
inc eax
push eax
lea eax, [esp + 0x20]
push eax
call ebp
inc ebx
cmp ebx, 8
jb 0x23a16910
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x14]
mov esi, dword [edi]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
push 0x8024
lea edx, [esp + 0x4c]
mov dword [esp + 0x58], ecx
add eax, 0x78
add ebx, 0x2c
push edx
mov ecx, ebx
mov dword [esp + 0x50], eax
add esi, 0x70
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
push eax
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_]
push eax
mov eax, dword [esi]
mov ecx, edi
call eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.XTToolkitPro.dll_public_virtual:_void___thiscall_CXTPFontDC::destructor_void_]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x28