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

Disassembly:
sub esp, 0x70
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x6c], eax
movups xmm0, xmmword [esp + 0x74]
push ebx
push ebp
push esi
push edi
sub esp, 0x10
mov ebp, ecx
mov eax, esp
movups xmmword [eax], xmm0
call sym.ClientofCSP.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT_
movups xmm0, xmmword [ebp + 0x154]
lea ecx, [ebp + 0x1068]
movups xmmword [esp + 0x84], xmm0
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x90]
add eax, dword [ebp + 0x1078]
sub esi, dword [ebp + 0x107c]
sub ebx, dword [ebp + 0x1080]
movd edi, xmm0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
add edi, dword [ebp + 0x1074]
mov dword [esp + 0x84], edi
mov dword [esp + 0x90], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jne 0x4d9277
push eax
jmp 0x4d97a5
mov ecx, dword [ebp + 0x1090]
test ecx, ecx
je 0x4d92a3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d92a3
mov ecx, dword [ebp + 0x1090]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub esi, eax
mov dword [esp + 0x8c], esi
mov ecx, dword [ebp + 0x1094]
test ecx, ecx
je 0x4d92cf
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d92cf
mov ecx, dword [ebp + 0x1094]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub ebx, eax
mov dword [esp + 0x90], ebx
mov ecx, dword [ebp + 0x1098]
test ecx, ecx
jle 0x4d92e6
mov eax, esi
sub eax, edi
cdq
idiv ecx
mov dword [ebp + 0x10a0], eax
mov ecx, dword [ebp + 0x10a0]
test ecx, ecx
jne 0x4d92ff
mov dword [ebp + 0x10a0], 1
mov ecx, 1
sub esi, edi
xor ebx, ebx
mov eax, esi
cdq
idiv ecx
mov ecx, dword [ebp + 0x1094]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4d933c
mov edx, dword [ecx]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x4d933c
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_unsigned_long_int___thiscall_DuiLib::CLabelUI::GetDisabledTextColor_void_const
add eax, esi
cdq
idiv dword [ebp + 0x10a0]
mov dword [esp + 0x44], eax
mov ecx, dword [ebp + 0x1090]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], esi
test ecx, ecx
je 0x4d9378
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d9378
mov ecx, dword [ebp + 0x1090]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
sub esi, eax
mov dword [esp + 0x38], esi
mov ecx, dword [ebp + 0x1094]
mov dword [esp + 0x34], edi
test ecx, ecx
je 0x4d93ab
mov eax, dword [ecx]
mov dword [esp + 0x34], edi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d93ab
mov ecx, dword [ebp + 0x1094]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x34], ecx
xor esi, esi
lea ecx, [ebp + 0x1068]
mov dword [esp + 0x20], esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4d97a4
mov eax, dword [esp + 0x34]
lea edi, [ebp + 0x1068]
mov dword [esp + 0x1c], eax
push esi
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 0x4d978d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x4d9414
mov eax, dword [ebp]
mov ecx, ebp
push dword [esp + 0x20]
call dword [eax + 0x1b0]
jmp 0x4d978d
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, ecx
cdq
idiv dword [ebp + 0x10a0]
test edx, edx
jne 0x4d95bb
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, edi
mov dword [esp + 0x30], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jge 0x4d95bb
push ebx
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 0x4d95a3
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x4d95a3
mov eax, dword [ebx]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call dword [eax + 0x48]
mov edi, dword [esp + 0x24]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
je 0x4d94bc
inc eax
cdq
idiv dword [ebp + 0x10a0]
test edx, edx
je 0x4d94bc
sub edi, dword [ebp + 0x1084]
jmp 0x4d94c9
mov eax, dword [ebp + 0x1084]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp edi, eax
jge 0x4d94dd
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 0x4d94f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edi, eax
mov eax, dword [ebx]
lea ecx, [esp + 0x3c]
push 0x270f
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x114]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0x3c], eax
jge 0x4d951e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x3c], eax
jle 0x4d9536
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x40], eax
jge 0x4d954e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov edi, dword [esp + 0x40]
cmp edi, eax
jle 0x4d9570
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov edi, eax
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
add eax, edi
mov edi, dword [esp + 0x2c]
cmp ecx, eax
cmovle ecx, eax
inc edi
mov eax, edi
mov dword [esp + 0x28], ecx
cdq
idiv dword [ebp + 0x10a0]
mov dword [esp + 0x2c], edi
test edx, edx
je 0x4d95bb
lea edi, [ebp + 0x1068]
mov ebx, dword [esp + 0x30]
mov ecx, edi
inc ebx
mov dword [esp + 0x30], ebx
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x4d9450
mov eax, dword [esi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ebx, dword [ebp + 0x1084]
test ebx, ebx
jns 0x4d95d4
add ebx, 1
sar ebx, 1
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
add eax, ebx
mov edi, dword [ebp + 0x10a0]
add ecx, eax
mov eax, dword [esp + 0x24]
sub eax, ebx
sub eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
cdq
idiv edi
mov eax, ecx
sub eax, ebx
test edx, edx
cmovne eax, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
inc eax
cdq
idiv edi
mov eax, dword [esp + 0x24]
test edx, edx
lea edi, [ebx + eax]
mov ebx, dword [esp + 0x28]
cmovne edi, eax
add ecx, dword [esp + 0x38]
add ebx, dword [esp + 0x38]
mov eax, dword [esi]
mov dword [esp + 0x48], ebx
sub ebx, ecx
push ebx
mov dword [esp + 0x30], edi
sub edi, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, esi
call dword [eax + 0x114]
mov eax, dword [esp + 0x10]
mov ecx, esi
test eax, eax
cmove eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
test eax, eax
cmove eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4d9683
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 0x4d969b
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 + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4d96b3
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 0x4d96d1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
sub esp, 0x10
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x58]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x24]
add eax, ebx
sar ecx, 1
cdq
sub eax, edx
mov dword [esp + 0x5c], ecx
add ecx, dword [esp + 0x20]
mov edx, dword [esi]
sar eax, 1
mov dword [esp + 0x60], eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, esp
mov dword [esp + 0x64], ecx
mov ecx, esi
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cdq
idiv dword [ebp + 0x10a0]
test edx, edx
jne 0x4d9753
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1084]
add eax, dword [esp + 0x28]
add dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
jmp 0x4d975b
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], eax
sub ebx, dword [esp + 0x88]
mov ecx, dword [ebp + 0x1090]
test ecx, ecx
je 0x4d9787
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4d9787
mov ecx, dword [ebp + 0x1090]
call sym.ClientofCSP.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
add ebx, eax
lea edi, [ebp + 0x1068]
inc dword [esp + 0x20]
mov ecx, edi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov esi, dword [esp + 0x20]
cmp esi, eax
jl 0x4d93d2
push ebx
movups xmm0, xmmword [esp + 0x88]
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 + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x70
ret 0x10