Function at 0x1002df80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ae2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0x4c]
call fcn.1002e600
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esi, dword [edi + 0xf2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x8b88]
push ecx
push 1
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.1005dd32
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], vtable.CBrush.0
mov byte [esp + 0x68], 1
mov eax, dword [edi + 0x8b88]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x20]
call fcn.1005db99
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.1005dc84
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.1005dc84
mov ecx, dword [edi + 0x8b98]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x8b9c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push esi
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add eax, edx
sub ecx, edx
cdq
sub eax, edx
mov edx, dword [edi + 0x8b88]
sar eax, 1
mov dword [esp + 0xc], eax
mov eax, ecx
push edx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.10074e87
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub eax, 0xa
add esi, 0xa
cmp dword [edi + 0x8ba4], 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
je 0x1002e125
mov ecx, dword [edi + 0x8bb0]
mov esi, dword [ebx + 4]
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0xc]
sar edx, 1
sub eax, edx
push ecx
lea edx, [ecx + eax]
mov ecx, dword [edi + 0x8bac]
push ecx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x50]
push eax
push esi
lea esi, [edi + 0x8ba0]
or al, 0xff
call fcn.10006ee0
mov edx, dword [edi + 0x8bd8]
cmp dword [edx - 0xc], 0
lea ecx, [edi + 0x8bd8]
jne 0x1002e143
push 0
push 0x100bec10
call fcn.10002a80
lea esi, [edi + 0x9ee0]
mov ecx, ebx
call fcn.1003d3e0
lea esi, [edi + 0x8e48]
mov ecx, ebx
call fcn.10039200
lea esi, [edi + 0x9fd8]
mov ecx, ebx
call fcn.10039200
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.10002760
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.10002760
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret