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

Disassembly:
sub esp, 0x58
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x54], eax
movups xmm0, xmmword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
sub esp, 0x10
mov ebp, ecx
mov eax, esp
mov dword [esp + 0x4c], 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]
mov byte [esp + 0x1b], 0
movups xmmword [esp + 0x6c], xmm0
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
sub edi, dword [ebp + 0x107c]
sub esi, dword [ebp + 0x1080]
add ebx, dword [ebp + 0x1078]
movd eax, xmm0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x2c], edi
add eax, dword [ebp + 0x1074]
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], esi
test ecx, ecx
je 0x494dd1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x494dd1
mov ecx, dword [ebp + 0x1090]
mov byte [esp + 0x1b], 1
mov eax, dword [ecx]
call dword [eax + 0x58]
sub edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], edi
mov ecx, dword [ebp + 0x1094]
test ecx, ecx
je 0x494dfe
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x494dfe
mov ecx, dword [ebp + 0x1094]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], esi
mov ecx, dword [ebp + 0x109c]
test ecx, ecx
je 0x494f40
movups xmm0, xmmword [esp + 0x6c]
mov edi, dword [ebp + 0x10c4]
lea eax, [esp + 0x44]
add edi, dword [esp + 0x34]
mov edx, dword [ebp + 0x10c8]
movups xmmword [esp + 0x44], xmm0
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
sub esi, dword [ebp + 0x10cc]
sub ebx, dword [ebp + 0x10d0]
add dword [esp + 0x48], edx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
call fcn.00494830
cmp byte [esp + 0x1b], 0
je 0x494f34
mov ecx, dword [ebp + 0x1090]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x494e80
cmp byte [ebp + 0x10a0], 0
je 0x494f34
mov ecx, dword [ebp + 0x1090]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub esi, edi
mov dword [esp + 0x20], 0
add eax, esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x30], eax
mov ecx, ebp
mov eax, dword [ebp + 0x109c]
mov dword [esp + 0x14], 0xffffffff
mov edi, dword [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x44]
mov eax, dword [ebp]
call dword [eax + 0x1c]
mov ecx, eax
call sym.ClientofCSP.exe_public_virtual:_int___thiscall_DuiLib::CComboUI::GetCurSel_void_const
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push 0
push 0
push eax
push 1
mov ecx, edi
call esi
sub ebx, dword [esp + 0x48]
cmp dword [esp + 0x20], ebx
jle 0x494f14
mov ecx, dword [ebp + 0x1090]
push 1
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebp + 0x1090]
push 0
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollPos_int_
mov byte [ebp + 0x10a0], 1
jmp 0x494f34
cmp byte [ebp + 0x10a0], 0
je 0x494f34
mov ecx, dword [ebp + 0x1090]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov byte [ebp + 0x10a0], 0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebp + 0x1090]
test ecx, ecx
je 0x494f8d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x494f8d
mov ecx, dword [ebp + 0x1090]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [ebp + 0x1090]
add eax, edi
mov dword [esp + 0x4c], eax
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esi
movups xmm0, xmmword [esp + 0x54]
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov ecx, dword [ebp + 0x1094]
test ecx, ecx
je 0x494fde
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x494fde
mov ecx, dword [ebp + 0x1094]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov eax, dword [ecx]
mov dword [esp + 0x4c], edi
call dword [eax + 0x60]
mov ecx, dword [ebp + 0x1094]
add eax, esi
mov dword [esp + 0x50], eax
sub esp, 0x10
movups xmm0, xmmword [esp + 0x54]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
lea ebx, [ebp + 0x1068]
mov ecx, ebx
mov dword [esp + 0x30], ebx
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::IsEmpty_void_const
test al, al
jne 0x4953fe
sub edi, dword [esp + 0x34]
mov eax, esi
sub eax, dword [esp + 0x70]
mov ecx, dword [ebp + 0x1094]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x495032
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x495032
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetDisabledTextColor_void_const
add edi, eax
mov dword [esp + 0x28], edi
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x49511f
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 0x495107
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x495107
push dword [esp + 0x40]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4950a5
inc esi
mov dword [esp + 0x20], esi
jmp 0x4950d5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4950bd
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 0x4950d5
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 + 0x54]
push eax
call edi
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x44]
push eax
call edi
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
add ecx, dword [eax]
add ecx, dword [esp + 0x10]
add dword [esp + 0x1c], ecx
inc dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
inc ebp
mov ecx, ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebp, eax
jl 0x495051
mov ebp, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], edi
test esi, esi
jle 0x495155
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
dec ecx
imul ecx, dword [ebp + 0x1084]
sub eax, ecx
xor ecx, ecx
sub eax, dword [esp + 0x1c]
cdq
idiv esi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [ebp + 0x1094]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x495186
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x495186
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
sub ebx, eax
mov dword [esp + 0x1c], ebx
xor ebx, ebx
lea ecx, [ebp + 0x1068]
mov dword [esp + 0x30], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x495353
lea eax, [ebp + 0x1068]
push ebx
mov ecx, eax
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 0x495331
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4951e4
mov eax, dword [ebp]
mov ecx, ebp
push ebx
call dword [eax + 0x1b0]
jmp 0x495331
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x44]
push dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
mov ecx, esi
jne 0x495221
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x495237
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 0x49524f
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 0x49526a
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x70]
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 0x49528d
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 0x4952af
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 + 0x54]
mov edi, dword [esp + 0x58]
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x54]
mov edx, dword [esi]
mov dword [esp + 0x6c], eax
lea eax, [edi + ebx]
add eax, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x80]
add ecx, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], ecx
mov eax, esp
movups xmm0, xmmword [esp + 0x64]
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 0x1084]
mov ebx, dword [esp + 0x30]
lea eax, [esi + edx]
add eax, dword [esp + 0x44]
add eax, edi
add dword [esp + 0x1c], eax
lea eax, [esi + edx]
add eax, dword [esp + 0x44]
add dword [esp + 0x20], eax
lea eax, [esi + edx]
add eax, edi
sub dword [esp + 0x28], eax
inc ebx
lea ecx, [ebp + 0x1068]
mov dword [esp + 0x30], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
lea eax, [ebp + 0x1068]
jl 0x4951a5
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x1094]
dec eax
imul eax, dword [ebp + 0x1084]
add edi, eax
test ecx, ecx
je 0x4953fe
mov eax, dword [ecx]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov edx, dword [eax + 0xc8]
mov eax, esi
sub eax, ebx
cmp edi, eax
jle 0x4953c3
call edx
mov ecx, dword [ebp + 0x1094]
test al, al
je 0x4953b2
sub edi, esi
add edi, ebx
push edi
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CScrollBarUI::SetScrollRange_int_
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004b847a
add esp, 0x58
ret 0x10
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
sub edi, esi
add edi, ebx
push edi
jmp 0x4953db
call edx
test al, al
je 0x4953fe
mov ecx, dword [ebp + 0x1094]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
push 0
mov ecx, dword [ebp + 0x1094]
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]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b847a
add esp, 0x58
ret 0x10