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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121748
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1019842c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0x4d2
jne 0x10031ad0
push 0x4d2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x464
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [ebp + 0xc], 1
jne 0x10031aaf
lea ecx, [ebp - 0x28]
call fcn.100237f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 0x2c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10023b10
jmp 0x10031acb
cmp dword [ebp + 0xc], 2
jne 0x10031ac1
push 1
mov ecx, dword [ebp - 0x2c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x10031acb
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x10031bd2
cmp dword [ebp + 8], 0x461
jne 0x10031af0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x9c0]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CProgressUI::SetValue_int_
jmp 0x10031bd2
cmp dword [ebp + 8], 0x2e0
jne 0x10031bd2
cmp dword [0x1019e958], 0xffffffff
je 0x10031b41
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [0x1019e958]
cmp eax, 0x64
jae 0x10031b36
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
jmp 0x10031be6
mov ecx, dword [ebp - 0x38]
mov dword [0x1019e958], ecx
jmp 0x10031b4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1019e958], eax
mov edx, dword [ebp + 0xc]
and edx, 0xffff
mov word [ebp - 0x34], dx
movzx eax, word [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::SetDPI_int_
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CPaintManagerUI::ResetDPIAssets_void_
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
push 0x14
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 8]
sub ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CControlUI____thiscall_xx_DuiLib::CPaintManagerUI::GetRoot_void_const
test eax, eax
je 0x10031bd2
mov ecx, dword [ebp - 0x2c]
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 edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call sym.UserAndPayClient.dll_public_virtual:_long_int___thiscall_xx_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e3849
mov esp, ebp
pop ebp
ret 0xc