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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1019142c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 8], 8
jne 0x1005f918
push 1
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x1005fb24
cmp dword [ebp + 8], 0x201
je 0x1005f92e
cmp dword [ebp + 8], 0x203
jne 0x1005fa43
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 0x1005fa1a
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x750], 0
je 0x1005fa1a
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 0x1005f9ee
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xc]
jg 0x1005f9ee
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x10]
jl 0x1005f9ee
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 8]
jle 0x1005fa18
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x24]
jl 0x1005fa0e
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x1c]
jg 0x1005fa0e
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x20]
jl 0x1005fa0e
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x18]
jle 0x1005fa18
push 1
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x1005fa3e
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x780], 0
je 0x1005fa34
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x784], 0
je 0x1005fa34
jmp 0x1005fa3e
push 1
mov ecx, dword [ebp - 0x28]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x1005fb24
cmp dword [ebp + 8], 0x2e0
jne 0x1005fb24
cmp dword [0x10197984], 0xffffffff
je 0x1005fa94
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [0x10197984]
cmp ecx, 0x64
jae 0x1005fa89
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 0x1005fb38
mov edx, dword [ebp - 0x3c]
mov dword [0x10197984], edx
jmp 0x1005fa9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10197984], 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 0x1005fb24
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.100ddfee
mov esp, ebp
pop ebp
ret 0xc