Function at 0x6eb540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 4], eax
lea esi, [ebp - 0x10]
call sym.StartupControl.exe__Acpopupcontroller_GetIntController_qqrv
mov edx, dword [ebp - 4]
call sym.StartupControl.exe__Acpopupcontroller_TsPopupController_ClosingForbide_qqrp11Forms_TForm
mov dl, 1
mov eax, dword [0x4fb01c]
call fcn.00502454
mov dword [0x7bf7c0], eax
mov eax, dword [ebp - 4]
call fcn.0050d554
call fcn.0051223c
mov edx, eax
mov eax, dword [0x7bf7c0]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
call fcn.0050d554
call fcn.00512208
mov edx, eax
mov eax, dword [0x7bf7c0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_SaveDC
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x6eb86c
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xcc0020
mov eax, dword [ebp - 4]
call fcn.0050d554
call fcn.00512224
push eax
mov eax, dword [ebp - 4]
call fcn.0050d554
call fcn.005121f0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x7bf7c0]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [0x7bf7c0]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [0x7bf7c0]
call fcn.00502d6c
call fcn.004fdd24
push eax
call sub.GDI32.DLL_BitBlt
mov ecx, dword [0x7b9688]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x507fa8]
call fcn.0050b310
mov dword [esi], eax
xor edx, edx
mov eax, dword [esi]
call fcn.0050c340
xor edx, edx
mov eax, dword [esi]
call fcn.0050d218
mov eax, dword [sym.StartupControl.exe__Sconst_ExceptTag]
mov eax, dword [eax]
mov edx, dword [esi]
mov dword [edx + 0xc], eax
mov dl, 1
mov eax, dword [esi]
call fcn.00531e98
lea ecx, [ebp - 0x20]
xor edx, edx
xor eax, eax
call sym.StartupControl.exe__Acntutils_MkPoint_qqrxixi
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.0052a450
mov ecx, dword [esi]
mov dl, 1
mov eax, dword [sym.StartupControl.exe__Spanel_TsPanel_]
call sym.StartupControl.exe__Spanel_TsCustomPanel__bctr_qqrp18Classes_TComponent
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x41c], ebx
mov eax, dword [ebx + 0x284]
mov cl, 1
xor edx, edx
call sym.StartupControl.exe__Scommondata_TsCommonData_SetBoolean_qqrxixo
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
mov eax, dword [eax + 0x284]
mov edx, 0x6eb894
call sym.StartupControl.exe__Scommondata_TsCommonData_SetSkinSection_qqrx20System_UnicodeString
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
xor edx, edx
call fcn.0051a284
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
xor edx, edx
call fcn.0051a230
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
xor edx, edx
call fcn.00533610
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
xor edx, edx
call fcn.005335d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
call fcn.0052a094
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
call fcn.0052a0c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
call fcn.0052abe4
mov eax, dword [ebp - 4]
call fcn.0050d554
call fcn.005121f0
mov edx, dword [ebp - 0x18]
sub edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
call fcn.0052a02c
mov eax, dword [ebp - 4]
call fcn.0050d554
call fcn.00512224
mov edx, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
call fcn.0052a060
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
mov edx, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41c]
mov dl, 1
call fcn.0052a974
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov dword [eax + 0xcc], edx
mov dword [eax + 0xc8], sym.StartupControl.exe__Scolordialog_TsColorDialogForm_PickFormMouseMove_qqrp14System_TObject46System__Set_t18Classes_Classes__1_i
mov dx, 0xffeb
mov eax, dword [esi]
call fcn.0052ac80
mov dx, 0xffce
mov eax, dword [esi]
call fcn.0052ac80
mov dl, 2
mov eax, dword [esi]
call fcn.0050dd00
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov dword [eax + 0x30c], edx
mov dword [eax + 0x308], sym.StartupControl.exe__Scolordialog_TsColorDialogForm_PickFormPaint_qqrp14System_TObject
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc4], edx
mov dword [eax + 0xc0], sym.StartupControl.exe__Scolordialog_TsColorDialogForm_PickFormMouseDown_qqrp14System_TObject21Controls_TMouseButton46System__Set_
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov dword [eax + 0x214], edx
mov dword [eax + 0x210], sym.StartupControl.exe__Scolordialog_TsColorDialogForm_PickFormKeyDown_qqrp14System_TObjectrus46System__Set_t18Classes_Classes__1_
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x100]
mov eax, dword [ebp - 4]
add eax, 0x41c
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
mov eax, dword [esi]
xor edx, edx
mov dword [esi], edx
call fcn.004c09bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eb873
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_RestoreDC
mov eax, dword [0x7bf7c0]
xor edx, edx
mov dword [0x7bf7c0], edx
call fcn.004c09bc
ret