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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff64
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x144]
test al, al
je 0x667327
lea ecx, [esp + 0x54]
xor edx, edx
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_BtnRect_qqro
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_ComboBtn_qqrv
test al, al
je 0x666e5c
mov esi, dword [ebx + 0x2bc]
xor edx, edx
mov eax, esi
call sym.StartupControl.exe__Scommondata_TsCommonData_Skinned_qqrxo
test al, al
je 0x666d3a
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
cmp eax, 2
jl 0x666962
mov eax, 2
mov dword [esp], eax
mov eax, esi
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
mov edi, eax
lea eax, [edi + 0x24c]
mov dword [esp + 8], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x11c]
test al, al
jne 0x666bed
cmp dword [ebx + 0x33c], 0
jne 0x6669b5
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov ebp, dword [eax + 0xa248]
jmp 0x6669da
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
push eax
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov edx, dword [ebx + 0x33c]
pop ecx
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_GetSkinIndex_qqrx20System_UnicodeStringp24Sskinmanager_TacSkinData
mov ebp, eax
test ebp, ebp
jl 0x666a35
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x78]
xor edx, edx
xor eax, eax
call sym.StartupControl.exe__Acntutils_MkPoint_qqrxixi
lea eax, [esp + 0x78]
push eax
mov eax, dword [esi + 0x5c]
push eax
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x94]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Acntutils_MakeCacheInfo_qqrpx16Graphics_TBitmapxixi
lea edx, [esp + 0x94]
mov cl, 1
mov eax, ebp
call fcn.00648c18
mov eax, dword [ebx + 0x2bc]
imul eax, dword [eax + 0xb0], 0x26
mov edx, dword [edi + 0x52c]
cmp byte [edx + eax*8 + 0xbd], 0
jne 0x666b00
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
mov eax, dword [esp + 4]
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_IsValidImgIndex_qqri
test al, al
je 0x666b00
push 1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
lea eax, [eax + eax*8]
mov edx, dword [edi + 0x524]
lea eax, [edx + eax*8]
push eax
lea eax, [esp + 0x80]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Acntutils_MakeCacheInfo_qqrpx16Graphics_TBitmapxixi
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
xor edx, edx
call sym.StartupControl.exe__Acntutils_WidthOf_qqrrx11Types_TRectxo
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + 8]
lea ebp, [ebp + ebp*8]
mov edx, dword [edi + 0x524]
sub eax, dword [edx + ebp*8 + 0x40]
sar eax, 1
jns 0x666ac7
adc eax, 0
add eax, dword [esp + 0x60]
mov edx, dword [edi + 0x524]
push dword [edx + ebp*8 + 0x44]
mov edx, dword [ebx + 0x4c]
pop ecx
sub edx, ecx
sar edx, 1
jns 0x666ae2
adc edx, 0
lea ecx, [esp + 0x7c]
call fcn.004a7b6c
lea edx, [esp + 0x7c]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Salphagraph_DrawSkinGlyph_qqrp16Graphics_TBitmaprx12Types_TPointiirx20Smaskdata_TsMaskDatarx17Sconst_TCach
jmp 0x667327
test ebp, ebp
jl 0x666b6b
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
cmp ebp, dword [eax + 0xa1e4]
jne 0x666b44
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x140]
push eax
push 0
mov edi, dword [ebx + 0x2bc]
mov eax, edi
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov ecx, eax
mov edx, dword [edi + 0xb0]
mov eax, ebx
call sym.StartupControl.exe__Scommondata_GetFontColor_qqrpx17Controls_TControlxipx26Sskinmanager_TsSkinManagerxip24Scommondata_TsCommon
mov edi, eax
jmp 0x666bae
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
mov eax, dword [eax + 0x52c]
imul edx, ebp, 0x26
lea eax, [eax + edx*8]
mov edx, dword [esp]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov edi, dword [eax + edx*4 + 0x2c]
jmp 0x666bae
xor edx, edx
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_Skinned_qqrxo
test al, al
je 0x666ba2
mov eax, dword [ebx + 0x2bc]
imul eax, dword [eax + 0xb0], 0x26
mov edx, dword [edi + 0x52c]
lea eax, [edx + eax*8]
mov edx, dword [esp]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov edi, dword [eax + edx*4 + 0x2c]
jmp 0x666bae
mov eax, 0xff000008
call fcn.004fbf10
mov edi, eax
lea eax, [esp + 0x54]
push eax
push 3
push 0
mov eax, dword [ebx + 0x350]
push eax
push 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x74]
call sym.StartupControl.exe__Sskinmanager_TacOptions_ActualArrowStyle_qqrv
push eax
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_GetPPI_qqrpx24Scommondata_TsCommonData
push eax
mov ecx, 0x1fffffff
mov edx, edi
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Sgraphutils_DrawArrow_qqrpx16Graphics_TBitmapx15Graphics_TColort2rx11Types_TRectx14Sconst_TacSideiii24Acnt
jmp 0x667327
mov eax, dword [ebx + 0x2bc]
imul eax, dword [eax + 0xb0], 0x26
mov edx, dword [edi + 0x52c]
cmp byte [edx + eax*8 + 0xbd], 0
jne 0x666cb8
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
mov eax, dword [esp + 4]
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_IsValidImgIndex_qqri
test al, al
je 0x666cb8
push 1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
lea eax, [eax + eax*8]
mov edx, dword [edi + 0x524]
lea eax, [edx + eax*8]
push eax
lea eax, [esp + 0x80]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Acntutils_MakeCacheInfo_qqrpx16Graphics_TBitmapxixi
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
xor edx, edx
call sym.StartupControl.exe__Acntutils_WidthOf_qqrrx11Types_TRectxo
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + 8]
lea ebp, [ebp + ebp*8]
mov edx, dword [edi + 0x524]
sub eax, dword [edx + ebp*8 + 0x40]
sar eax, 1
jns 0x666c7f
adc eax, 0
add eax, dword [esp + 0x60]
mov edx, dword [edi + 0x524]
push dword [edx + ebp*8 + 0x44]
mov edx, dword [ebx + 0x4c]
pop ecx
sub edx, ecx
sar edx, 1
jns 0x666c9a
adc edx, 0
lea ecx, [esp + 0x7c]
call fcn.004a7b6c
lea edx, [esp + 0x7c]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Salphagraph_DrawSkinGlyph_qqrp16Graphics_TBitmaprx12Types_TPointiirx20Smaskdata_TsMaskDatarx17Sconst_TCach
jmp 0x667327
xor edx, edx
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_Skinned_qqrxo
test al, al
je 0x666cef
mov eax, dword [ebx + 0x2bc]
imul eax, dword [eax + 0xb0], 0x26
mov edx, dword [edi + 0x52c]
lea eax, [edx + eax*8]
mov edx, dword [esp]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov edi, dword [eax + edx*4 + 0x2c]
jmp 0x666cfb
mov eax, 0xff000008
call fcn.004fbf10
mov edi, eax
lea eax, [esp + 0x54]
push eax
push 3
push 0
mov eax, dword [ebx + 0x350]
push eax
push 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x74]
call sym.StartupControl.exe__Sskinmanager_TacOptions_ActualArrowStyle_qqrv
push eax
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_GetPPI_qqrpx24Scommondata_TsCommonData
push eax
mov ecx, 0x1fffffff
mov edx, edi
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Sgraphutils_DrawArrow_qqrpx16Graphics_TBitmapx15Graphics_TColort2rx11Types_TRectx14Sconst_TacSideiii24Acnt
jmp 0x667327
mov dl, 7
mov eax, dword [esi + 0x5c]
call fcn.00503f4c
mov edx, dword [ebx + 0x48]
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebx + 0x4c]
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call sym.StartupControl.exe__Svclutils_acThemesEnabled_qqrv
test al, al
je 0x666dcc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x11c]
test al, al
je 0x666d85
lea ecx, [esp + 0x64]
mov eax, dword [sym.StartupControl.exe__Svclutils_acThemeServices]
mov eax, dword [eax]
mov dl, 2
call fcn.004c5de4
jmp 0x666da3
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
movzx edx, byte [eax + 0x7ac738]
lea ecx, [esp + 0x64]
mov eax, dword [sym.StartupControl.exe__Svclutils_acThemeServices]
mov eax, dword [eax]
call fcn.004c5e68
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 0x5c]
call fcn.00502d6c
call fcn.004fdd24
mov edx, eax
mov eax, dword [sym.StartupControl.exe__Svclutils_acThemeServices]
mov eax, dword [eax]
lea ecx, [esp + 0x68]
call fcn.004c5bb4
jmp 0x667327
cmp byte [ebx + 0x268], 1
jne 0x666e07
cmp byte [ebx + 0x1e1], 0
je 0x666de5
mov edi, 2
jmp 0x666dea
mov edi, 1
add dword [esp + 0x58], edi
sub dword [esp + 0x60], edi
mov eax, ebx
call fcn.0052b1c0
test al, al
je 0x666e03
add dword [esp + 0x54], edi
jmp 0x666e07
sub dword [esp + 0x5c], edi
push 0
mov eax, dword [ebx + 0x6c]
call fcn.004fbf10
push eax
mov eax, dword [esi + 0x5c]
call fcn.00502d6c
call fcn.004fdd24
lea edx, [esp + 0x5c]
pop ecx
call sym.StartupControl.exe__Sgraphutils_FillDC_qqrp5HDC__rx11Types_TRectx15Graphics_TColori
lea eax, [esp + 0x54]
push eax
push 3
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_GetPPI_qqrpx24Scommondata_TsCommonData
push eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x18]
mov ecx, 0x1fffffff
mov eax, dword [esi + 0x5c]
call sym.StartupControl.exe__Sgraphutils_DrawArrow_qqrpx16Graphics_TBitmapx15Graphics_TColort2rx11Types_TRectx14Sconst_TacSideiii24Acnt
jmp 0x667327
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
test eax, eax
jle 0x666fdb
mov eax, dword [sym.StartupControl.exe__Sconst_ac_OldGlyphsMode]
cmp byte [eax], 0
jne 0x666fdb
cmp byte [ebx + 0x338], 0
jne 0x666fdb
xor edx, edx
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_Skinned_qqrxo
test al, al
je 0x666f82
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov ebp, dword [eax + 0xa248]
test ebp, ebp
jge 0x666ed6
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov ebp, dword [eax + 0xa2d8]
test ebp, ebp
jge 0x666ed6
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov ebp, dword [eax + 0xa1dc]
test ebp, ebp
jl 0x666fdb
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x78]
xor edx, edx
xor eax, eax
call sym.StartupControl.exe__Acntutils_MkPoint_qqrxixi
lea eax, [esp + 0x78]
push eax
mov esi, dword [ebx + 0x2bc]
mov eax, dword [esi + 0x5c]
push eax
mov eax, esi
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x94]
push eax
mov eax, dword [ebx + 0x2bc]
mov eax, dword [eax + 0x5c]
xor ecx, ecx
xor edx, edx
call sym.StartupControl.exe__Acntutils_MakeCacheInfo_qqrpx16Graphics_TBitmapxixi
lea edx, [esp + 0x94]
mov cl, 1
mov eax, ebp
call fcn.00648c18
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
mov eax, dword [eax + 0x52c]
imul edx, ebp, 0x26
lea eax, [eax + edx*8]
push eax
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
mov edx, eax
shl eax, 4
sub eax, edx
pop edx
mov eax, dword [edx + eax*4 + 0x2c]
push eax
mov eax, dword [ebx + 0x2bc]
mov eax, dword [eax + 0x5c]
call fcn.00502d6c
mov eax, dword [eax + 0xc]
pop edx
call fcn.004fc5e0
jmp 0x666fdb
call sym.StartupControl.exe__Svclutils_acThemesEnabled_qqrv
test al, al
je 0x666fdb
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
movzx edx, byte [eax + 0x7ac73c]
lea ecx, [esp + 0x64]
mov eax, dword [sym.StartupControl.exe__Svclutils_acThemeServices]
mov eax, dword [eax]
call fcn.004c5ed0
inc dword [esp + 0x58]
lea eax, [esp + 0x54]
push eax
mov eax, dword [ebx + 0x2bc]
mov eax, dword [eax + 0x5c]
call fcn.00502d6c
call fcn.004fdd24
mov edx, eax
mov eax, dword [sym.StartupControl.exe__Svclutils_acThemeServices]
mov eax, dword [eax]
lea ecx, [esp + 0x68]
call fcn.004c5bb4
dec dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x24], eax
mov esi, dword [ebx + 0x32c]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x667095
mov eax, edi
call sym.StartupControl.exe__Sthirdparty_GetImageCount_qqrp24Imglist_TCustomImageList
mov edx, eax
mov eax, dword [esi + 8]
xor ecx, ecx
call sym.StartupControl.exe__Acntutils_IsValidIndex_qqriii
test al, al
je 0x667095
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], 1
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
sub eax, 1
jb 0x66703c
je 0x66704b
dec eax
je 0x66705a
jmp 0x667067
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
jmp 0x667067
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x18], eax
jmp 0x667067
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 0x18]
call sym.StartupControl.exe__Sthirdparty_GetImageCount_qqrp24Imglist_TCustomImageList
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x18]
call sym.StartupControl.exe__Acntutils_IsValidIndex_qqriii
test al, al
jne 0x6670c4
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
jmp 0x6670c4
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
call sym.StartupControl.exe__Sglyphutils_acResImgList_qqrv
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x354]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x34]
cdq
idiv dword [ecx + 0x30]
mov dword [esp + 0x14], eax
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GetBtnState_qqrv
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x4c]
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0
mov esi, dword [ebx + 0x2bc]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x28], eax
mov eax, esi
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_GetPPI_qqrpx24Scommondata_TsCommonData
mov dword [esp + 0x48], eax
lea esi, [esp + 0x54]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1c]
mov edx, ebp
mov esi, dword [esp + 0x48]
mov eax, esi
call sym.StartupControl.exe__Sthirdparty_GetImageWidth_qqrp24Imglist_TCustomImageListiio
cdq
idiv dword [esp + 0x14]
mov edi, eax
push 0
mov ecx, dword [esp + 0x4c]
mov edx, ebp
mov eax, esi
call sym.StartupControl.exe__Sthirdparty_GetImageHeight_qqrp24Imglist_TCustomImageListiio
mov esi, eax
lea eax, [esp + 0x54]
xor edx, edx
call sym.StartupControl.exe__Acntutils_WidthOf_qqrrx11Types_TRectxo
sub eax, edi
sar eax, 1
jns 0x66715a
adc eax, 0
add eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
xor edx, edx
call sym.StartupControl.exe__Acntutils_HeightOf_qqrrx11Types_TRectxo
sub eax, esi
sar eax, 1
jns 0x667177
adc eax, 0
add eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
add edi, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
add esi, dword [esp + 0x30]
mov dword [esp + 0x38], esi
movzx eax, byte [0x667334]
mov byte [esp + 0x50], al
xor edx, edx
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_Skinned_qqrxo
test al, al
je 0x66723c
mov eax, dword [ebx + 0x2bc]
mov eax, dword [eax + 0x5c]
call fcn.00502d6c
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x1c], 0
jne 0x6671eb
mov eax, dword [ebx + 0x32c]
cmp byte [eax + 0xc], 0
jne 0x6671ef
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov eax, dword [eax + 0x80]
cmp byte [eax + 7], 0
jne 0x6671ef
xor eax, eax
jmp 0x6671f1
mov al, 1
mov byte [esp + 0x21], al
cmp byte [esp + 0x21], 0
je 0x667232
mov eax, dword [ebx + 0x2bc]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetCommonSkinData_qqrv
mov eax, dword [eax + 0x52c]
mov edx, dword [ebx + 0x2bc]
imul edx, dword [edx + 0xb0], 0x26
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x1c]
mov ecx, edx
shl edx, 4
sub edx, ecx
mov eax, dword [eax + edx*4 + 0x1c]
mov dword [esp + 0x40], eax
jmp 0x667265
mov dword [esp + 0x40], 0x1fffffff
jmp 0x667265
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x32c]
movzx eax, byte [eax + 0xc]
mov byte [esp + 0x21], al
test al, al
je 0x66725d
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x40], eax
jmp 0x667265
mov dword [esp + 0x40], 0x1fffffff
mov eax, ebx
call sym.StartupControl.exe__Scustomcomboedit_TsCustomComboEdit_GlyphEnabled_qqrv
test al, al
jne 0x667284
mov eax, 0x64
sub eax, dword [esp + 0xc]
sar eax, 1
jns 0x667280
adc eax, 0
add dword [esp + 0xc], eax
mov eax, dword [ebx + 0x32c]
cmp dword [eax + 0x10], 0x1fffffff
je 0x66731e
mov eax, dword [esp + 0x44]
mov edx, dword [0x6a1a4c]
call fcn.004c0b94
test al, al
jne 0x6672d4
mov esi, dword [esp + 0x44]
mov eax, esi
mov edx, dword [sym.StartupControl.exe__Acalphaimagelist_TsVirtualImageList_]
call fcn.004c0b94
test al, al
je 0x66730c
mov eax, dword [esi + 0x84]
mov edx, dword [0x6a1a4c]
call fcn.004c0b94
test al, al
je 0x66730c
mov byte [esp + 0x21], 0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x66731e
mov eax, esi
call fcn.00502d6c
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x32c]
mov edx, dword [edx + 0x10]
call fcn.004fc5e0
mov eax, esi
call fcn.00502d6c
mov eax, dword [eax + 0xc]
xor edx, edx
call fcn.004fc970
jmp 0x66731e
mov byte [esp + 0x21], 1
mov eax, dword [ebx + 0x32c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc]
call sym.StartupControl.exe__Sthirdparty_acDrawGlyphEx_qqrrx28Sthirdparty_TacDrawGlyphData
add esp, 0x9c
pop ebp
pop edi
pop esi
pop ebx
ret