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

Disassembly:
sub esp, 0x54
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x50], eax
movups xmm0, xmmword [esp + 0x58]
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]
lea edi, [ebp + 0x1068]
mov ecx, edi
mov dword [esp + 0x28], edi
movups xmmword [esp + 0x68], xmm0
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
sub esi, dword [ebp + 0x107c]
sub ebx, dword [ebp + 0x1080]
movd eax, xmm0
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], esi
add eax, dword [ebp + 0x1074]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
add eax, dword [ebp + 0x1078]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jne 0x4d8b02
push eax
push eax
jmp 0x4d8f7b
mov ecx, dword [ebp + 0x1090]
test ecx, ecx
je 0x4d8b2f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d8b2f
mov ecx, dword [ebp + 0x1090]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub esi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], esi
mov ecx, dword [ebp + 0x1094]
test ecx, ecx
je 0x4d8b58
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d8b58
mov ecx, dword [ebp + 0x1094]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub ebx, eax
mov dword [esp + 0x74], ebx
sub esi, dword [esp + 0x2c]
sub ebx, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x1094]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ebx
test ecx, ecx
je 0x4d8b95
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d8b95
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetDisabledTextColor_void_const
add eax, esi
mov dword [esp + 0x1c], eax
xor esi, esi
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4d8c8e
xor ebp, ebp
push ebp
mov ecx, edi
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 0x4d8c76
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x4d8c76
push dword [esp + 0x38]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push dword [esp + 0x20]
push ecx
mov ecx, ebx
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4d8c0d
inc esi
mov dword [esp + 0x24], esi
jmp 0x4d8c3d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4d8c25
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jle 0x4d8c3d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [eax + 0x48]
lea eax, [esp + 0x50]
push eax
call edi
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x40]
push eax
call edi
mov ecx, dword [esi + 8]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add ecx, dword [eax]
add ecx, dword [esp + 0x10]
add dword [esp + 0x20], ecx
inc ebx
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
jmp 0x4d8c7a
mov ebx, dword [esp + 0x18]
mov ecx, edi
inc ebp
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebp, eax
jl 0x4d8bb6
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x28], 0
lea eax, [ebx - 1]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0
test esi, esi
jle 0x4d8cca
mov ecx, dword [ebp + 0x1084]
imul ecx, eax
mov eax, dword [esp + 0x1c]
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 esi, dword [esp + 0x2c]
mov ebx, esi
mov ecx, dword [ebp + 0x1094]
mov dword [esp + 0x18], ebx
test ecx, ecx
je 0x4d8cfd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d8cfd
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
sub ebx, eax
mov dword [esp + 0x18], ebx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4d8eb6
push ebx
mov ecx, edi
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 0x4d8e9e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4d8d51
mov eax, dword [ebp]
mov ecx, ebp
push ebx
call dword [eax + 0x1b0]
jmp 0x4d8e9e
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x40]
push dword [esp + 0x38]
mov eax, dword [esi]
push ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
mov ecx, esi
jne 0x4d8d8e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4d8da4
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]
cmp dword [esp + 0x10], eax
jle 0x4d8dbc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jne 0x4d8dd7
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
sub eax, dword [esp + 0x6c]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi]
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4d8dfa
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]
mov ebx, dword [esp + 0x14]
cmp ebx, eax
jle 0x4d8e1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
sub esp, 0x10
add eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x50]
mov edx, dword [esi]
mov dword [esp + 0x68], eax
lea eax, [edi + ebx]
add eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x7c]
add ecx, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov eax, esp
movups xmm0, xmmword [esp + 0x60]
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov edi, dword [ebp + 0x1084]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
lea eax, [edi + esi]
add eax, edx
add eax, dword [esp + 0x40]
add dword [esp + 0x18], eax
lea eax, [esi + edx]
add eax, dword [esp + 0x40]
add dword [esp + 0x24], eax
lea eax, [edi + esi]
add eax, edx
lea edi, [ebp + 0x1068]
sub dword [esp + 0x1c], eax
inc ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x4d8d12
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x1084]
imul eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x1094]
add ebx, eax
test ecx, ecx
je 0x4d8f78
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
cmp ebx, dword [esp + 0x3c]
jle 0x4d8f3b
mov ecx, dword [ebp + 0x1094]
test al, al
je 0x4d8eff
mov eax, ebx
sub eax, dword [esp + 0x30]
add eax, esi
push eax
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollRange_int_
jmp 0x4d8f78
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov ecx, dword [ebp + 0x1094]
mov eax, ebx
sub eax, dword [esp + 0x30]
add eax, esi
push eax
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollRange_int_
mov ecx, dword [ebp + 0x1094]
push 0
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollPos_int_
mov ecx, dword [ebp + 0x1094]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x74], eax
jmp 0x4d8f78
test al, al
je 0x4d8f78
mov ecx, dword [ebp + 0x1094]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebp + 0x1094]
push 0
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollRange_int_
mov ecx, dword [ebp + 0x1094]
push 0
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollPos_int_
mov ecx, dword [ebp + 0x1094]
mov eax, dword [ecx]
call dword [eax + 0x60]
add dword [esp + 0x74], eax
push 0
push ebx
movups xmm0, xmmword [esp + 0x70]
mov edx, dword [ebp]
sub esp, 0x10
mov eax, esp
mov ecx, ebp
movups xmmword [eax], xmm0
call dword [edx + 0x1b4]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x54
ret 0x10