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

Disassembly:
push rbx
push rbp
push rdi
push r12
push r15
sub rsp, 0x20
mov r15d, dword [rsp + 0x78]
mov r12d, r9d
mov rdi, rdx
mov rbx, rcx
test r15d, r15d
jne 0x140010114
lea r8, [0x1400cef3c]
lea rdx, str.Invalid_usage.
lea rcx, [0x1401072b0]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rbp
pop rbx
jmp fcn.1400395c0
mov qword [rsp + 0x50], rsi
lea rbp, [0x1400cef3c]
mov qword [rsp + 0x58], r13
mov r13, qword [rsp + 0x70]
mov rsi, qword [r13]
mov ecx, dword [rsi + 0x10]
test ecx, ecx
je 0x140010162
sub ecx, 1
je 0x140010149
sub ecx, 1
je 0x140010149
sub ecx, 2
je 0x14001014e
cmp ecx, 1
je 0x140010162
mov rsi, rbp
jmp 0x140010165
mov rcx, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001450
mov rsi, rax
jmp 0x140010165
mov rsi, qword [rsi]
mov qword [rsp + 0x60], r14
test r12b, 2
je 0x1400102d7
lea rdx, str.Start
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400101ab
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
je 0x1400107f0
mov rax, qword [rbx + 0x28]
xor edx, edx
mov dword [rbx + 0x30], edx
mov word [rax], dx
call fcn.14003fb30
jmp 0x1400107fc
lea rdx, str.Wait
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x14001025b
cmp r15d, 1
jle 0x1400101ec
mov rcx, qword [r13 + 8]
cmp dword [rcx + 0x10], 3
je 0x1400101ec
xor r8d, r8d
lea edx, [rax + 1]
call fcn.14005f1a0
mulsd xmm0, qword [0x1400edbe8]
cvttsd2si rsi, xmm0
jmp 0x1400101ef
or esi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rbx + 0x10], 1
mov r14d, eax
jne 0x140010222
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, esi
jae 0x140010222
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016f0
cmp dword [rbx + 0x10], 1
je 0x140010200
xor edx, edx
mov dword [rdi + 0x10], edx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x14001039f.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x10818]
add rax, rcx
jmp rax
lea rdx, str.Match
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, str.Stop
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400102ab
cmp dword [rbx + 0x10], 1
lea r8, [rbx + 0x10]
jne 0x1400107f0
movzx eax, byte [0x140105b59]
xor edx, edx
mov rcx, qword [0x140104d70]
xor r9d, r9d
mov dword [r8], edx
mov edx, 0x41b
mov byte [r8 + 0x6c], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x1400107fc
lea rdx, str.KeyOpt
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400107f7
lea r9d, [r15 - 1]
mov rcx, rbx
lea r8, [r13 + 8]
call fcn.140010850
jmp 0x1400107fc
mov r14d, r12d
and r14d, 1
lea eax, [r14 + 1]
cmp r15d, eax
je 0x140010302
mov r8, rbp
lea rdx, str.Invalid_usage.
lea rcx, [0x1401072b0]
call fcn.1400395c0
jmp 0x1400107fc
test r12b, 3
jne 0x140010573
lea rdx, str.Input
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010339
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x10], edx
movsxd r8, dword [rbx + 0x30]
mov rdx, qword [rbx + 0x28]
call fcn.14005f710
jmp 0x1400107fc
lea rdx, str.InProgress
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010369
xor edx, edx
mov dword [rdi + 0x10], 1
cmp dword [rbx + 0x10], 1
mov eax, 1
sete dl
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, str.EndReason
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010415
xor edx, edx
mov dword [rdi + 0x10], edx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x14001039f.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x10834]
add rax, rcx
jmp rax
lea rdx, str.Timeout
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, str.EndKey
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, [0x1400e6d70]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, str.NewInput
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, str.Stopped
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
mov rdx, rbp
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400107fc
lea rdx, str.EndKey
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010459
xor edx, edx
lea rcx, [rbx + 0x10]
mov dword [rdi + 0x10], edx
cmp dword [rcx], 4
jne 0x140010566
mov rdx, qword [rdi + 8]
xor r9d, r9d
mov r8d, 0x100
mov qword [rdi], rdx
call fcn.1400404b0
mov eax, 1
jmp 0x1400107fc
lea rdx, str.EndMods
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010528
mov rcx, qword [rdi + 8]
xor edx, edx
mov r8d, 1
mov dword [rdi + 0x10], edx
rol r8d, 0
mov qword [rdi], rcx
test byte [rbx + 0x7c], r8b
je 0x140010496
mov dword [rcx], 0x5e003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400104a9
mov dword [rcx], 0x5e003e
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400104bc
mov dword [rcx], 0x21003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400104cf
mov dword [rcx], 0x21003e
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400104e2
mov dword [rcx], 0x2b003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400104f5
mov dword [rcx], 0x2b003e
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x140010508
mov dword [rcx], 0x23003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x14001051b
mov dword [rcx], 0x23003e
add rcx, 4
mov word [rcx], dx
mov eax, 1
jmp 0x1400107fc
lea rdx, str.Match
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010573
xor edx, edx
mov dword [rdi + 0x10], edx
cmp dword [rbx + 0x10], 3
jne 0x140010566
mov eax, dword [rbx + 0x80]
cmp eax, dword [rbx + 0x50]
jae 0x140010566
mov ecx, eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + rcx*8]
lea eax, [rdx + 1]
mov qword [rdi], rcx
jmp 0x1400107fc
mov qword [rdi], rbp
mov eax, 1
jmp 0x1400107fc
mov r8d, 2
lea rdx, [0x1400e25d4]
mov rcx, rsi
call fcn.1400ab940
test eax, eax
jne 0x140010683
add rsi, 4
lea rdx, [0x1400d12f8]
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400105ae
mov esi, 0x388
jmp 0x1400105fe
lea rdx, str.KeyDown
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400105c8
mov esi, 0x390
jmp 0x1400105fe
lea rdx, str.KeyUp
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400105e2
mov esi, 0x3a0
jmp 0x1400105fe
lea rdx, str.Char
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400107f7
mov esi, 0x398
test r14d, r14d
je 0x140010630
mov rcx, qword [r13 + 8]
call fcn.14005f5b0
mov r14, rax
test rax, rax
je 0x14001065b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + VariantCopy]
mov rcx, qword [rsi + rbx]
test rcx, rcx
je 0x14001062c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsi + rbx], r14
mov rcx, qword [rsi + rbx]
test rcx, rcx
je 0x1400107f0
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rsi + rbx]
mov qword [rdi], rax
mov eax, 1
mov dword [rdi + 0x10], 6
jmp 0x1400107fc
mov rcx, qword [r13 + 8]
call fcn.14005f040
test eax, eax
jne 0x14001061d
mov r8, rbp
lea rdx, str.Invalid_value.
lea rcx, [0x1401072b0]
call fcn.1400395c0
jmp 0x1400107fc
lea rdx, str.MinSendLevel
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400106c1
test r14d, r14d
je 0x1400106a9
mov rcx, qword [r13 + 8]
xor edx, edx
call fcn.14005f100
mov byte [rbx + 0x6c], al
movzx eax, byte [rbx + 0x6c]
mov qword [rdi], rax
mov eax, 1
mov dword [rdi + 0x10], 1
jmp 0x1400107fc
lea rdx, str.Timeout
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010730
test r14d, r14d
je 0x14001070a
mov rcx, qword [r13 + 8]
lea edx, [rax + 1]
xor r8d, r8d
call fcn.14005f1a0
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
mulsd xmm0, qword [0x1400edbe8]
cvttsd2si eax, xmm0
mov dword [rbx + 0x64], eax
jne 0x14001070a
test eax, eax
jle 0x14001070a
call fcn.14003fde0
movd xmm0, dword [rbx + 0x64]
mov eax, 1
cvtdq2pd xmm0, xmm0
mov dword [rdi + 0x10], 2
divsd xmm0, qword [0x1400edbe8]
movsd qword [rdi], xmm0
jmp 0x1400107fc
lea rdx, str.BackspaceIsUndo
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010749
add rbx, 0x6d
jmp 0x1400107c4
lea rdx, str.CaseSensitive
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010762
add rbx, 0x6e
jmp 0x1400107c4
lea rdx, str.FindAnywhere
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x14001077b
add rbx, 0x73
jmp 0x1400107c4
lea rdx, str.VisibleText
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x140010794
add rbx, 0x70
jmp 0x1400107c4
lea rdx, str.VisibleNonText
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400107ad
add rbx, 0x71
jmp 0x1400107c4
lea rdx, str.NotifyNonText
mov rcx, rsi
call fcn.1400ab7c0
test eax, eax
jne 0x1400107f7
add rbx, 0x72
test rbx, rbx
je 0x1400107f7
test r14d, r14d
je 0x1400107e3
mov rcx, qword [r13 + 8]
mov edx, 0x41
call fcn.14005ecd0
test eax, eax
setne al
mov byte [rbx], al
movzx eax, byte [rbx]
mov qword [rdi], rax
mov dword [rdi + 0x10], 1
mov eax, 1
jmp 0x1400107fc
mov eax, 4
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rbp
pop rbx
ret