Function at 0x5179e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x517b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00517bb0
call sub.AIMP.Runtime.dll__Acl_Ui_Compoundcontrol_Subclass_TACLCompoundControlSubClass_BeginLongOperation_qqrv
xor eax, eax
push ebp
push 0x517b70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00517bb0
mov eax, dword [eax + 0x50]
mov edx, dword [eax]
call dword [edx + 0x1c]
call sub.AIMP.Runtime.dll__Vcl_Controls_TWinControl_GetHandle_qqrv
mov esi, eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x517a62
mov eax, ebx
call fcn.00517e14
cmp eax, dword [edi + 0x424]
jne 0x517a62
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
cmp esi, dword [eax + 0x3e4]
je 0x517abf
mov eax, dword [ebp - 4]
add eax, 0x30
call sub.AIMP.Runtime.dll__System_Sysutils_FreeAndNil_qqrpv
mov eax, dword [ebp - 4]
call fcn.00517b9c
push eax
mov eax, ebx
call fcn.00517e14
push eax
mov eax, ebx
call fcn.00517e1c
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x503ef0]
call fcn.00504b28
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], edi
mov eax, dword [ebp - 4]
call fcn.00517bb0
mov edx, dword [eax + 0x6c]
mov eax, dword [edi + 0x430]
call sub.AIMP.Runtime.dll__Acl_Ui_Treelist_TACLCustomTreeList_SetStyleHint_qqrxp31Acl_Ui_Hintwindow_TACLStyleHint
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
xor edx, edx
call sub.AIMP.Runtime.dll__Vcl_Forms_TCustomForm_SetScaled_qqro
mov eax, dword [ebp - 4]
call sub.AIMP.Runtime.dll__Acl_Ui_Compoundcontrol_Subclass_TACLCompoundControlSubClassPersistent_GetScaleFactor_qqrv
mov edx, 0x60
call sub.AIMP.Runtime.dll__Acl_Geometry_TACLScaleFactor_Apply_qqrxi
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call sub.AIMP.Runtime.dll__Acl_Ui_Forms_TACLBasicScalableForm_ScaleForPPI_qqri
mov eax, dword [ebp - 4]
call fcn.00517bb0
call sub.AIMP.Runtime.dll__Acl_Ui_Compoundcontrol_Subclass_TACLCompoundControlSubClass_GetFont_qqrv
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call sub.AIMP.Runtime.dll__Vcl_Controls_TControl_SetFont_qqrp18Vcl_Graphics_TFont
mov eax, dword [ebp - 4]
call fcn.00517bb0
lea edx, [ebp - 8]
call sub.AIMP.Runtime.dll__Acl_Ui_Compoundcontrol_Subclass_TACLCompoundControlSubClass_GetLangSection_qqrv
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00504c38
mov eax, dword [ebp - 4]
call fcn.00517bb0
mov edx, dword [eax + 0x220]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005053b0
push 0
mov eax, dword [ebp - 4]
call fcn.00517bb0
lea ecx, [ebp - 0x10]
lea edx, [ebx + 0xc]
call sub.AIMP.Runtime.dll__Acl_Ui_Compoundcontrol_Subclass_TACLCompoundControlSubClass_ClientToScreen_qqrrx19System_Types_TPoint
lea ecx, [ebp - 0x10]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call sub.AIMP.Runtime.dll__Acl_Ui_Forms_TACLCustomPopupForm_PopupUnderControl_qqrrx18System_Types_TRectrx19System_Types_TPoint25Sys
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517b77
mov eax, dword [ebp - 4]
call fcn.00517bb0
call sub.AIMP.Runtime.dll__Acl_Ui_Compoundcontrol_Subclass_TACLCompoundControlSubClass_EndLongOperation_qqrv
ret