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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1e0
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1f0]
cmp qword [rax + 0x20], 0
je 0x1800cbcf4
mov rax, qword [rsp + 0x1f0]
cmp qword [rax + 0x30], 0
je 0x1800cbcf4
mov rax, qword [rsp + 0x1f0]
add rax, 0x48
xor edx, edx
mov rcx, rax
call fcn.180034c80
movzx eax, al
test eax, eax
je 0x1800cbcfb
xor al, al
jmp 0x1800cc5cf
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x30]
call fcn.1800e8f00
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x1800cbd26
xor al, al
jmp 0x1800cc5cf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x1f0]
add rax, 0x48
mov rcx, rax
call fcn.180033b80
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x1f0]
add rax, 0x40
mov rcx, rax
call fcn.180033b80
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx]
mov qword [rsp + 0xf8], rcx
mov rdx, rax
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xf8]
call qword [rax + 0x28]
movzx eax, byte [0x18048ada8]
test eax, eax
jne 0x1800cbfa8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x90]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x1f4
jbe 0x1800cbfa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x98], eax
call fcn.1802a90c0
mov eax, dword [rax]
mov dword [rsp + 0x94], eax
call fcn.180174410
movzx eax, al
test eax, eax
je 0x1800cbfa1
mov dword [rsp + 0xf0], 0x1000
mov dword [rsp + 0xec], 0x179
lea rdx, [0x180488a90]
mov ecx, 0x2000
call fcn.180299938
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x50], rax
lea rdx, [0x180488a90]
mov ecx, 0x2000
call fcn.180299938
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 0
je 0x1800cbeff
cmp qword [rsp + 0x58], 0
je 0x1800cbeff
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
lea rax, str.ProcessKey
mov qword [rsp + 0x30], rax
lea rax, str.RC::RCInputSession::ProcessKey
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x179
lea r9, str.e:zhanlue2345inputprojectlibpinyincore_src_rcinputsession.cpp
lea r8, str._s__d___s:__s_LastError_d_errno_d
mov edx, 0x1000
mov rcx, qword [rsp + 0x50]
call fcn.180034d20
mov rdi, qword [rsp + 0x58]
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0x50]
mov edx, 0x1000
mov rcx, qword [rsp + 0x58]
call fcn.180034d20
mov r8, qword [rsp + 0x58]
lea rdx, [0x1803733e0]
lea rcx, str.PerfErr
call fcn.180174430
cmp qword [rsp + 0x50], 0
je 0x1800cbf50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180299904
cmp qword [rsp + 0xa8], 0
jne 0x1800cbf3a
mov qword [rsp + 0x110], 0
jmp 0x1800cbf50
mov qword [rsp + 0x50], 0x8123
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x58], 0
je 0x1800cbfa1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.180299904
cmp qword [rsp + 0xc0], 0
jne 0x1800cbf8b
mov qword [rsp + 0x118], 0
jmp 0x1800cbfa1
mov qword [rsp + 0x58], 0x8123
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x118], rax
mov byte [0x18048ada8], 1
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x30]
call fcn.1800e8f20
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
jne 0x1800cbfd3
xor al, al
jmp 0x1800cc5cf
cmp dword [rsp + 0x200], 0x100
jae 0x1800cc008
mov eax, dword [rsp + 0x200]
imul rax, rax, 0xc
lea rcx, [0x1803454e0]
cmp dword [rcx + rax + 4], 0
je 0x1800cc008
movzx eax, word [rsp + 0x210]
cmp eax, 0x80
jb 0x1800cc00f
xor al, al
jmp 0x1800cc5cf
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
movzx edx, byte [rsp + 0x218]
mov byte [rsp + 0x28], dl
movzx edx, word [rsp + 0x210]
mov word [rsp + 0x20], dx
movzx r9d, byte [rsp + 0x208]
mov r8d, dword [rsp + 0x200]
mov edx, dword [rsp + 0x1f8]
call qword [rax + 0x18]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 1
jne 0x1800cc5a1
cmp dword [rsp + 0x200], 0x41
jb 0x1800cc0b1
cmp dword [rsp + 0x200], 0x5a
ja 0x1800cc0b1
lea rdx, [0x18037f294]
lea rcx, [rsp + 0x178]
call fcn.180037b30
nop
lea rcx, [rsp + 0x178]
call fcn.180170b40
nop
lea rcx, [rsp + 0x178]
call fcn.180037b10
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x20]
call fcn.1800ef720
mov dl, 1
mov rcx, qword [rsp + 0x1f0]
call fcn.1800d0fa0
mov rcx, qword [rsp + 0x88]
call fcn.1800e1100
movzx eax, al
test eax, eax
jne 0x1800cc559
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rax]
call qword [rax]
test eax, eax
ja 0x1800cc559
mov edx, 8
lea rcx, [rsp + 0x1c0]
call fcn.1800341e0
lea rcx, [rsp + 0x1c0]
call fcn.180039510
nop
call fcn.1800c8060
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.1800d6b60
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1f0]
add rax, 0x48
mov rcx, rax
call fcn.180033b80
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.180034c20
nop
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.180033b70
movzx eax, al
test eax, eax
je 0x1800cc53e
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.1800395b0
movzx eax, al
test eax, eax
je 0x1800cc53e
mov byte [rsp + 0x1b8], 0
mov edx, 8
lea rcx, [rsp + 0x1c8]
call fcn.1800341e0
lea rcx, [rsp + 0x1d0]
call fcn.180033b80
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.180034c20
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa0], eax
call fcn.1802a90c0
mov eax, dword [rax]
mov dword [rsp + 0x9c], eax
call fcn.180174410
movzx eax, al
test eax, eax
je 0x1800cc530
mov dword [rsp + 0xf4], 0x1000
mov dword [rsp + 0xe8], 0x1ab
lea rdx, [0x180488a90]
mov ecx, 0x2000
call fcn.180299938
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x60], rax
lea rdx, [0x180488a90]
mov ecx, 0x2000
call fcn.180299938
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x60], 0
je 0x1800cc48e
cmp qword [rsp + 0x68], 0
je 0x1800cc48e
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
lea rax, [0x18037f3c0]
mov qword [rsp + 0x30], rax
lea rax, str.RC::RCInputSession::ProcessKey
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1ab
lea r9, str.e:zhanlue2345inputprojectlibpinyincore_src_rcinputsession.cpp
lea r8, str._s__d___s:__s_LastError_d_errno_d
mov edx, 0x1000
mov rcx, qword [rsp + 0x60]
call fcn.180034d20
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
lea rcx, [rsp + 0x1c0]
call fcn.180033b80
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x1c8]
call fcn.180033b80
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov qword [rsp + 0x138], rcx
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x138]
call qword [rax + 0x38]
movzx eax, al
test eax, eax
je 0x1800cc39c
mov dword [rsp + 0x78], 1
jmp 0x1800cc3a4
mov dword [rsp + 0x78], 0
xor edx, edx
lea rcx, [rsp + 0x1c8]
call fcn.1800395b0
movzx eax, al
test eax, eax
je 0x1800cc3c4
mov dword [rsp + 0x7c], 1
jmp 0x1800cc3cc
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x198]
call fcn.18018e6d0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call fcn.180037970
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
mov qword [rsp + 0x150], rcx
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x150]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rax
call fcn.180037970
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8, qword [rsp + 0x60]
mov edx, 0x1000
mov rcx, qword [rsp + 0x68]
call fcn.180034d20
nop
lea rcx, [rsp + 0x198]
call fcn.180033840
mov r8, qword [rsp + 0x68]
lea rdx, [0x18037f3a8]
lea rcx, str.FeatErr
call fcn.180174430
cmp qword [rsp + 0x60], 0
je 0x1800cc4df
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.180299904
cmp qword [rsp + 0xd8], 0
jne 0x1800cc4c9
mov qword [rsp + 0x160], 0
jmp 0x1800cc4df
mov qword [rsp + 0x60], 0x8123
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x68], 0
je 0x1800cc530
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.180299904
cmp qword [rsp + 0xe0], 0
jne 0x1800cc51a
mov qword [rsp + 0x168], 0
jmp 0x1800cc530
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0x1c8]
call fcn.180034c50
nop
lea rcx, [rsp + 0x1d0]
call fcn.180034c50
nop
lea rcx, [rsp + 0x1c0]
call fcn.180090820
mov rcx, qword [rsp + 0x1f0]
call fcn.1800cc5f0
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x1f0]
call fcn.1800d28f0
mov rcx, qword [rsp + 0x88]
call fcn.1800e0de0
movzx eax, al
test eax, eax
je 0x1800cc5a1
mov rax, qword [rsp + 0x1f0]
mov dword [rax + 0x88], 0
cmp dword [rsp + 0x70], 2
je 0x1800cc5bc
cmp dword [rsp + 0x70], 3
je 0x1800cc5bc
mov dword [rsp + 0x80], 1
jmp 0x1800cc5c7
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x1e0
pop rdi
ret