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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x58], eax
movups xmm0, xmmword [esp + 0x60]
push ebx
push ebp
push esi
push edi
sub esp, 0x10
mov ebp, ecx
mov eax, esp
mov dword [esp + 0x44], ebp
movups xmmword [eax], xmm0
call sym.ClientofCSP.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT_
movups xmm0, xmmword [ebp + 0x154]
mov ecx, dword [ebp + 0x1090]
movups xmmword [esp + 0x70], xmm0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
sub esi, dword [ebp + 0x107c]
sub edi, dword [ebp + 0x1080]
movd eax, xmm0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
add eax, dword [ebp + 0x1074]
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
add eax, dword [ebp + 0x1078]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x4d597f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d597f
mov ecx, dword [ebp + 0x1090]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub esi, eax
mov dword [esp + 0x78], esi
mov ecx, dword [ebp + 0x1094]
test ecx, ecx
je 0x4d59a8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d59a8
mov ecx, dword [ebp + 0x1094]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub edi, eax
mov dword [esp + 0x7c], edi
lea ebx, [ebp + 0x1068]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jne 0x4d59c3
push eax
jmp 0x4d5d4d
sub esi, dword [esp + 0x24]
sub edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1094]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x4d59fc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d59fc
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetDisabledTextColor_void_const
add esi, eax
mov dword [esp + 0x2c], esi
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4d5af6
xor ebp, ebp
push ebp
mov ecx, ebx
call sym.ClientofCSP.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov ebx, eax
mov ecx, ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x4d5ade
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x4d5ade
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
push edi
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x114]
cmp dword [esp + 0x3c], 0
jne 0x4d5a75
inc dword [esp + 0x10]
jmp 0x4d5aab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
cmp dword [esp + 0x3c], eax
jge 0x4d5a8d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
cmp dword [esp + 0x3c], eax
jle 0x4d5aab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [eax + 0x48]
lea eax, [esp + 0x48]
push eax
call edi
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x58]
push eax
call edi
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add ecx, dword [eax + 4]
add ecx, dword [esp + 0x3c]
add dword [esp + 0x20], ecx
inc dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
inc ebp
mov ecx, ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebp, eax
jl 0x4d5a25
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
dec eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
test esi, esi
jle 0x4d5b36
mov ecx, dword [ebp + 0x1084]
imul ecx, eax
mov eax, edi
sub eax, ecx
xor ecx, ecx
sub eax, dword [esp + 0x20]
cdq
idiv esi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x1090]
test ecx, ecx
je 0x4d5b5d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d5b5d
mov ecx, dword [ebp + 0x1090]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
sub dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x1094]
test ecx, ecx
je 0x4d5b84
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d5b84
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
sub dword [esp + 0x24], eax
lea esi, [ebp + 0x1068]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x20], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4d5d3d
nop
push ebx
mov ecx, esi
call sym.ClientofCSP.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov esi, eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d5d23
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4d5bdf
mov eax, dword [ebp]
mov ecx, ebp
push ebx
call dword [eax + 0x1b0]
jmp 0x4d5d23
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call dword [eax + 0x48]
sub edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esi]
push edi
push ebx
push ecx
mov ecx, esi
mov dword [esp + 0x3c], edi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
mov ecx, esi
jne 0x4d5c19
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4d5c2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jle 0x4d5c4d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
test eax, eax
jne 0x4d5c62
mov eax, ebx
sub eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4d5c85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ebx, dword [esp + 0x10]
cmp ebx, eax
jle 0x4d5ca1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov ebx, eax
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov ecx, dword [esp + 0x34]
add ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
lea eax, [edx + ebx]
add eax, dword [esp + 0x34]
add ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x4c]
add eax, ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
mov ecx, esi
movups xmm0, xmmword [esp + 0x58]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov edi, dword [ebp + 0x1084]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
lea eax, [edi + esi]
add eax, edx
add eax, dword [esp + 0x3c]
add ebx, eax
lea eax, [esi + edx]
add eax, dword [esp + 0x3c]
add dword [esp + 0x18], eax
lea eax, [edi + esi]
mov edi, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x1c], ebx
sub edi, eax
mov ebx, dword [esp + 0x20]
lea esi, [ebp + 0x1068]
inc ebx
mov ecx, esi
mov dword [esp + 0x20], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x4d5ba0
mov eax, dword [ebp + 0x1084]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x18]
push eax
movups xmm0, xmmword [esp + 0x74]
mov edx, dword [ebp]
mov ecx, ebp
push 0
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x1b4]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x5c
ret 0x10