Function at 0x41172ec0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, rdx
mov r13, rcx
lea rcx, [r11 - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor edx, edx
lea rcx, str.CPinyinQuery::QueryIPCCandidate
nop
movzx eax, word [rdx + rcx]
mov word [rsp + rdx + 0x30], ax
add rdx, 2
test ax, ax
jne 0x41172f10
lea rcx, [rsp + 0x238]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
mov rax, qword [0x41360928]
test rax, rax
jne 0x41172f64
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41172f5b
mov rcx, rax
call fcn.41143320
jmp 0x41172f5d
xor eax, eax
mov qword [0x41360928], rax
mov rcx, rax
call fcn.410a42b0
mov r12, rax
mov rax, qword [0x41360928]
test rax, rax
jne 0x41172fa2
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41172f99
mov rcx, rax
call fcn.41143320
jmp 0x41172f9b
xor eax, eax
mov qword [0x41360928], rax
mov rcx, rax
call fcn.412413d0
mov rbx, rax
mov rax, qword [0x41360928]
test rax, rax
jne 0x41172fe0
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41172fd7
mov rcx, rax
call fcn.41143320
jmp 0x41172fd9
xor eax, eax
mov qword [0x41360928], rax
mov rcx, rax
call fcn.41186160
mov rsi, rax
mov rax, qword [0x41360928]
test rax, rax
jne 0x4117301e
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41173015
mov rcx, rax
call fcn.41143320
jmp 0x41173017
xor eax, eax
mov qword [0x41360928], rax
mov rcx, rax
call fcn.410ea170
mov rdi, rax
mov rdx, qword [r12 + 8]
test rdx, rdx
jne 0x41173037
xor ecx, ecx
jmp 0x41173043
mov rcx, qword [r12 + 0x10]
sub rcx, rdx
sar rcx, 3
mov dword [r13 + 0x3674], ecx
mov rax, qword [0x41360928]
test rax, rax
jne 0x4117307d
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41173074
mov rcx, rax
call fcn.41143320
jmp 0x41173076
xor eax, eax
mov qword [0x41360928], rax
mov rdx, r12
mov rcx, rax
call fcn.41143eb0
test eax, eax
jne 0x41173218
mov rax, qword [0x41360928]
test rax, rax
jne 0x411730c3
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x411730ba
mov rcx, rax
call fcn.41143320
jmp 0x411730bc
xor eax, eax
mov qword [0x41360928], rax
mov rdx, rbx
mov rcx, rax
call fcn.41143eb0
test eax, eax
jne 0x41173218
mov rax, qword [0x41360928]
test rax, rax
jne 0x41173109
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41173100
mov rcx, rax
call fcn.41143320
jmp 0x41173102
xor eax, eax
mov qword [0x41360928], rax
mov rdx, rsi
mov rcx, rax
call fcn.41143eb0
test eax, eax
jne 0x41173218
mov rax, qword [0x41360928]
test rax, rax
jne 0x4117314f
mov ecx, 0x118
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41173146
mov rcx, rax
call fcn.41143320
jmp 0x41173148
xor eax, eax
mov qword [0x41360928], rax
mov rdx, rdi
mov rcx, rax
call fcn.41143eb0
test eax, eax
jne 0x41173218
or esi, 0xffffffff
mov rbx, qword [rbp + 8]
cmp rbx, qword [rbp + 0x10]
jbe 0x41173174
call fcn.41211d60
movabs r14, 0x6bca1af286bca1b
nop
mov rdi, qword [rbp + 0x10]
cmp qword [rbp + 8], rdi
jbe 0x4117318f
call fcn.41211d60
cmp rbx, rdi
je 0x411731dd
cmp rbx, qword [rbp + 0x10]
jb 0x4117319f
call fcn.41211d60
mov rax, qword [rbx + 0x40]
test rax, rax
jne 0x411731ac
xor edx, edx
jmp 0x411731c7
mov rcx, qword [rbx + 0x48]
sub rcx, rax
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, esi
cmovg esi, edx
cmp rbx, qword [rbp + 0x10]
jb 0x411731d7
call fcn.41211d60
add rbx, 0x58
jmp 0x41173180
cmp esi, 1
jle 0x41173208
mov rdx, rbp
lea rcx, [r13 + 0x35d0]
call fcn.41150260
lea rcx, [r13 + 0x1a78]
lea r8, [r13 + 0x35d0]
mov rdx, r12
call fcn.411cb880
nop
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x41173226
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret