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

Disassembly:
sub esp, 0x68
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x64], eax
movups xmm0, xmmword [esp + 0x6c]
push ebx
push ebp
push esi
push edi
sub esp, 0x10
mov ebx, ecx
mov eax, esp
mov dword [esp + 0x34], ebx
movups xmmword [eax], xmm0
call sym.ClientofCSP.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT_
movups xmm0, xmmword [ebx + 0x154]
mov ebp, dword [ebx + 0x1078]
movd eax, xmm0
movups xmmword [esp + 0x7c], xmm0
mov esi, dword [esp + 0x88]
add eax, dword [ebx + 0x1074]
sub esi, dword [ebx + 0x1080]
add ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
sub edi, dword [ebx + 0x107c]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x1068]
mov ecx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], eax
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
je 0x4c9e89
sub edi, dword [esp + 0x14]
sub esi, ebp
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x38], esi
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4c9c07
mov ecx, dword [esp + 0x18]
push ebp
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 0x4c9bf1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x4c9bf1
push dword [esp + 0x38]
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x114]
cmp dword [esp + 0x2c], 0
jne 0x4c9b86
inc dword [esp + 0x20]
jmp 0x4c9bb6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp dword [esp + 0x2c], eax
jge 0x4c9b9e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
cmp dword [esp + 0x2c], eax
jle 0x4c9bb6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [eax + 0x48]
lea eax, [esp + 0x64]
push eax
call edi
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x54]
push eax
call edi
mov ecx, dword [esi + 8]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
add ecx, dword [eax]
add ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add ebx, ecx
inc esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
jmp 0x4c9bf5
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ebp
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebp, eax
jl 0x4c9b31
mov ecx, dword [esp + 0x20]
lea eax, [esi - 1]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x2c], 0
imul eax, dword [esi + 0x1084]
add ebx, eax
mov dword [esp + 0x10], ebx
test ecx, ecx
jle 0x4c9c3f
mov eax, edi
sub eax, ebx
cdq
idiv ecx
mov ebp, eax
xor eax, eax
test ebp, ebp
cmovs ebp, eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x3c], 0
call dword [eax + 0x38]
mov edx, dword [esi]
mov ebx, eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [edx + 0x24]
test eax, eax
je 0x4c9c7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1a8]
test eax, eax
je 0x4c9c7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x38]
sub ebx, eax
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x18]
xor ebp, ebp
mov ecx, ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4c9e89
nop
push ebp
mov ecx, ebx
call sym.ClientofCSP.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x4c9e79
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4c9cd0
mov ecx, dword [esp + 0x24]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x1b0]
jmp 0x4c9e79
mov eax, dword [esi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [esp + 0x24]
sub edi, dword [esp + 0x54]
mov dword [esp + 0x28], edi
cmp byte [eax + 0x10bc], 0
je 0x4c9d17
movd xmm1, dword [esi + 0x12a0]
movd xmm0, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
divss xmm1, dword [0x727ebc]
cvttss2si edi, xmm1
jmp 0x4c9d2d
push dword [esp + 0x38]
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push edi
push ecx
mov ecx, esi
call dword [eax + 0x114]
mov edi, dword [eax]
mov ebx, edi
test ebx, ebx
jne 0x4c9d81
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x20]
jne 0x4c9d57
mov edi, dword [esp + 0x28]
mov eax, ebx
sub edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x10]
cmovs edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp edi, eax
jge 0x4c9d6b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x70]
cmp edi, eax
jle 0x4c9db1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edi, eax
jmp 0x4c9db1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp ebx, eax
jge 0x4c9d97
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov edi, eax
mov ebx, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp ebx, eax
jle 0x4c9dad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edi, eax
mov ebx, edi
sub dword [esp + 0x10], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jne 0x4c9dcc
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
sub eax, dword [esp + 0x34]
xor ebx, ebx
mov ecx, esi
test eax, eax
cmovns ebx, eax
mov eax, dword [esi]
call dword [eax + 0x78]
cmp ebx, eax
jge 0x4c9de7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov ebx, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
cmp ebx, eax
jle 0x4c9e01
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ebx, eax
mov eax, dword [esp + 0x14]
sub esp, 0x10
add eax, dword [esp + 0x64]
mov ecx, esi
mov edx, dword [esp + 0x68]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x6c]
add eax, edi
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
lea eax, [edx + ebx]
add eax, dword [esp + 0x44]
mov edx, dword [esi]
mov dword [esp + 0x80], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x74]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
mov edx, dword [eax + 0x1084]
lea eax, [edx + ecx]
add eax, edi
add eax, dword [esp + 0x54]
add dword [esp + 0x14], eax
lea eax, [edx + ecx]
add eax, edi
mov edi, dword [esp + 0x28]
sub edi, eax
mov ecx, ebx
inc ebp
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebp, eax
jl 0x4c9c90
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x68
ret 0x10