Function at 0x570d4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov ebx, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x570f9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call sym.StartupControl.exe__Sgraphutils_CreateBmp32_qqrrx11Types_TRect
mov dword [ebp - 0x10], eax
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_RealBorderWidth_qqrv
mov esi, eax
push 0xcc0020
mov eax, dword [ebp - 0x20]
add eax, esi
push eax
add esi, dword [ebp - 0x24]
push esi
mov eax, dword [ebp + 0xc]
call fcn.00502d6c
call fcn.004fdd24
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00502d6c
call fcn.004fdd24
push eax
call sub.GDI32.DLL_BitBlt
mov edx, dword [ebp + 8]
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_ExtraWidth_qqrpx22Sskinmenus_TacMenuInfo
mov esi, eax
mov edx, edi
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_IsRTL_qqrp15Menus_TMenuItem
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
sub ecx, esi
xor edx, edx
xor eax, eax
call fcn.004a7b3c
cmp byte [ebp - 9], 0
jne 0x570e23
test esi, esi
jle 0x570e23
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, esi
call fcn.004a7ca8
mov esi, dword [ebx + 0x44]
mov eax, dword [esi + 0xa2a8]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, esi
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_IsValidSkinIndex_qqri
test al, al
je 0x570e9b
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
call fcn.004a7b6c
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x60
mov eax, dword [ebx + 0x44]
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_CommonSkinData_qqri
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_RealBorderWidth_qqrv
inc eax
push eax
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_RealBorderWidth_qqrv
mov edx, eax
inc edx
mov eax, dword [ebp + 0xc]
pop ecx
call sym.StartupControl.exe__Acntutils_MakeCacheInfo_qqrpx16Graphics_TBitmapxixi
lea edx, [ebp - 0x60]
mov cl, 1
mov eax, dword [ebp - 0x14]
call fcn.00648c18
push 0
push 1
mov eax, dword [ebp - 0x10]
call fcn.00502d6c
mov edx, eax
mov ecx, edi
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_UpdateFont_qqrp16Graphics_TCanvasp15Menus_TMenuItemoo
mov esi, dword [edi + 0x30]
test esi, esi
je 0x570ebe
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
mov ecx, esi
sub ecx, 2
mov eax, dword [edi + 0x30]
mov edx, 2
call fcn.004c31b4
mov esi, 0x100015
mov eax, ebx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_GetMargin_qqrv
neg eax
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x34]
push eax
call sub.USER32.DLL_InflateRect
mov eax, dword [ebp - 0x10]
call fcn.00502d6c
mov eax, dword [eax + 0xc]
call fcn.004fc620
push eax
mov eax, dword [ebp - 0x10]
call fcn.00502d6c
call fcn.004fdd24
push eax
call sub.GDI32.DLL_SelectObject
lea eax, [ebp - 0x34]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00502d6c
push eax
mov eax, dword [ebp - 4]
call fcn.004c2a84
mov edx, eax
mov cl, 1
pop eax
call sym.StartupControl.exe__Sgraphutils_acWriteTextEx_qqrpx16Graphics_TCanvaspxbxor11Types_TRectxuixixopx14System_TObject
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00502d6c
call fcn.004fdd24
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
call fcn.004fdd24
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.004c09bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x570fa6
lea eax, [ebp - 4]
call fcn.004c29e8
ret