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

Disassembly:
sub esp, 0x40
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x3c], eax
movups xmm0, xmmword [esp + 0x44]
push ebx
push ebp
push esi
push edi
sub esp, 0x10
mov ebx, ecx
mov eax, esp
mov dword [esp + 0x38], ebx
movups xmmword [eax], xmm0
call sym.ClientofCSP.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT_
movups xmm0, xmmword [ebx + 0x154]
lea esi, [ebx + 0x1068]
xor edi, edi
mov ecx, esi
movups xmmword [esp + 0x54], xmm0
mov eax, dword [esp + 0x58]
add eax, dword [ebx + 0x1078]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [ebx + 0x107c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
sub eax, dword [ebx + 0x1080]
movd ebp, xmm0
mov dword [esp + 0x20], eax
add ebp, dword [ebx + 0x1074]
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4d9dc8
push edi
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 0x4d9db2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4d9c8f
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1b0]
jmp 0x4d9db2
cmp edi, dword [ebx + 0x1098]
jne 0x4d9db2
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x44]
add ebp, dword [esp + 0x3c]
mov ebx, ecx
mov edx, dword [esp + 0x20]
sub ebx, ebp
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x40]
mov dword [esp + 0x24], ebp
mov ebp, edx
sub ebp, eax
mov dword [esp + 0x1c], ecx
push ebp
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push ebx
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edx
call dword [eax + 0x114]
cmp dword [esp + 0x10], 0
jne 0x4d9cfe
xor eax, eax
test ebx, ebx
cmovs ebx, eax
mov dword [esp + 0x10], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4d9d16
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 0x4d9d2e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
jne 0x4d9d40
xor eax, eax
test ebp, ebp
cmovs ebp, eax
mov dword [esp + 0x14], ebp
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4d9d58
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 edx, dword [esp + 0x14]
cmp edx, eax
jle 0x4d9d7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
add ecx, ebp
mov dword [esp + 0x40], eax
add eax, edx
mov edx, dword [esi]
mov dword [esp + 0x48], eax
mov eax, esp
mov dword [esp + 0x44], ecx
mov ecx, esi
mov dword [esp + 0x3c], ebp
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov ebx, dword [esp + 0x28]
lea esi, [ebx + 0x1068]
inc edi
mov ecx, esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x4d9c51
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x40
ret 0x10