Function at 0x10065310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 8], 8
jne 0x10065338
push 1
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x10065544
cmp dword [ebp + 8], 0x201
je 0x1006534e
cmp dword [ebp + 8], 0x203
jne 0x10065463
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x74c], 0
je 0x1006543a
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x750], 0
je 0x1006543a
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x74c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x74c]
mov edx, dword [eax + 0x58]
call edx
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x750]
mov edx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x750]
mov edx, dword [eax + 0x58]
call edx
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x14]
jl 0x1006540e
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xc]
jg 0x1006540e
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x10]
jl 0x1006540e
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 8]
jle 0x10065438
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x24]
jl 0x1006542e
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x1c]
jg 0x1006542e
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x20]
jl 0x1006542e
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x18]
jle 0x10065438
push 1
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x1006545e
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x780], 0
je 0x10065454
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x784], 0
je 0x10065454
jmp 0x1006545e
push 1
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x10065544
cmp dword [ebp + 8], 0x2e0
jne 0x10065544
cmp dword [0x1019e98c], 0xffffffff
je 0x100654b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [0x1019e98c]
cmp ecx, 0x64
jae 0x100654a9
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
jmp 0x10065558
mov edx, dword [ebp - 0x3c]
mov dword [0x1019e98c], edx
jmp 0x100654bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1019e98c], eax
mov eax, dword [ebp + 0xc]
and eax, 0xffff
mov word [ebp - 0x38], ax
movzx ecx, word [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
push 0x14
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x10065544
mov ecx, dword [ebp - 0x28]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
mov ecx, eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CControlUI::NeedUpdate_void_
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret 0xc