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

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x20
mov r14d, dword [rsp + 0x78]
mov r13d, r9d
mov rsi, rdx
mov rbx, rcx
test r14d, r14d
jne 0x140012234
lea r8, [0x1400cb664]
lea rdx, str.Invalid_usage.
lea rcx, [0x140105140]
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
jmp fcn.140046d70
mov qword [rsp + 0x50], rbp
lea rdi, [0x1400cb664]
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
mov rbp, qword [r12]
mov ecx, dword [rbp + 0x10]
test ecx, ecx
je 0x140012283
sub ecx, 1
je 0x140012269
sub ecx, 1
je 0x140012269
sub ecx, 2
je 0x14001226e
cmp ecx, 1
je 0x140012283
mov rbp, rdi
jmp 0x140012287
mov rcx, qword [rbp]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400016b0
mov rbp, rax
jmp 0x140012287
mov rbp, qword [rbp]
mov qword [rsp + 0x60], r15
test r13b, 2
je 0x14001245a
lea rdx, str.Start
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012329
cmp dword [rbx + 0x10], 1
lea rdi, [rbx + 0x10]
je 0x140012a9b
cmp byte [rbx + 0x6d], al
jne 0x1400122c9
mov rax, qword [rbx + 0x28]
xor ecx, ecx
mov dword [rbx + 0x30], ecx
mov word [rax], cx
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400122d8
mov rax, qword [rcx]
call qword [rax + VariantCopy]
cmp dword [rdi + 0x54], 0
jle 0x1400122e6
mov rcx, rdi
call fcn.14004ce10
mov rax, qword [0x140101c38]
or byte [0x140102bc9], 1
cmp qword [0x140101c80], 0
mov qword [rdi + 8], rax
mov dword [rdi], 1
mov qword [0x140101c38], rdi
jne 0x140012a9b
movzx edx, word [0x140102c1c]
call fcn.14000b6d0
mov eax, 1
jmp 0x140012aa7
lea rdx, str.Wait
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400123db
cmp r14d, 1
jle 0x14001236c
mov rcx, qword [r12 + 8]
cmp dword [rcx + 0x10], 3
je 0x14001236c
xor r8d, r8d
lea edx, [rax + 1]
call fcn.140073f20
mulsd xmm0, qword [0x1400ee128]
cvttsd2si rbp, xmm0
jmp 0x140012371
mov ebp, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rbx + 0x10], 1
mov r14d, eax
jne 0x1400123a2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, ebp
jae 0x1400123a2
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400019b0
cmp dword [rbx + 0x10], 1
je 0x140012380
xor ecx, ecx
mov dword [rsi + 0x10], ecx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x140012640.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x12ac4]
add rax, rcx
jmp rax
lea rdx, str.Match
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
lea rdx, str.Stop
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14001242c
cmp dword [rbx + 0x10], 1
lea r8, [rbx + 0x10]
jne 0x140012a9b
movzx eax, byte [0x140102a9e]
xor ecx, ecx
mov dword [r8], ecx
xor r9d, r9d
mov rcx, qword [0x140101c50]
mov edx, 0x41b
mov byte [r8 + 0x6e], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x140012aa7
lea rdx, str.KeyOpt
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012aa2
lea r9d, [r14 - 1]
mov rcx, rbx
lea r8, [r12 + 8]
call fcn.140012b00
jmp 0x140012aa7
mov r15d, r13d
and r15d, 1
lea eax, [r15 + 1]
cmp r14d, eax
je 0x140012485
mov r8, rdi
lea rdx, str.Invalid_usage.
lea rcx, [0x140105140]
call fcn.140046d70
jmp 0x140012aa7
test r15d, r15d
je 0x1400125a0
lea rdx, str.Input
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012804
mov r9, qword [r12 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x1400124dd
sub ecx, 1
je 0x1400124c7
sub ecx, 1
je 0x1400124c7
sub ecx, 2
je 0x1400124cc
cmp ecx, 1
je 0x1400124dd
mov rax, rdi
jmp 0x1400124e0
mov rcx, qword [r9]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400016b0
jmp 0x1400124e0
mov rax, qword [r9]
mov rbp, 0xffffffffffffffff
mov rcx, rbp
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400124f0
movsxd rax, dword [rbx + 0x34]
cmp rcx, rax
jbe 0x14001251e
mov r8, rdi
lea rdx, str.Out_of_memory.
lea rcx, [0x140105140]
call fcn.140046d70
jmp 0x140012aa7
mov r9, qword [r12 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x14001253f
sub ecx, 1
je 0x140012542
sub ecx, 1
je 0x140012542
sub ecx, 2
je 0x14001258c
cmp ecx, 1
jne 0x140012542
mov rdi, qword [r9]
mov rcx, qword [rbx + 0x28]
nop word [rax + rax]
movzx eax, word [rdi]
lea rdi, [rdi + 2]
mov word [rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140012550
xor ecx, ecx
mov dword [rsi + 0x10], ecx
mov rdx, qword [rbx + 0x28]
nop dword [rax]
inc rbp
cmp word [rdx + rbp*2], cx
jne 0x140012570
movsxd r8, ebp
mov rcx, rsi
mov dword [rbx + 0x30], ebp
call fcn.140074520
jmp 0x140012aa7
mov rcx, qword [r9]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400016b0
mov rdi, rax
jmp 0x140012542
test r13b, 3
jne 0x140012804
lea rdx, str.Input
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400125d8
xor ecx, ecx
mov dword [rsi + 0x10], ecx
mov rcx, rsi
movsxd r8, dword [rbx + 0x30]
mov rdx, qword [rbx + 0x28]
call fcn.140074520
jmp 0x140012aa7
lea rdx, str.InProgress
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012609
xor ecx, ecx
mov dword [rsi + 0x10], 1
cmp dword [rbx + 0x10], 1
mov eax, 1
sete cl
mov qword [rsi], rcx
jmp 0x140012aa7
lea rdx, str.EndReason
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400126b6
xor ecx, ecx
mov dword [rsi + 0x10], ecx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x140012640.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x12ae0]
add rax, rcx
jmp rax
lea rdx, str.Timeout
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
lea rdx, str.EndKey
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
lea rdx, [0x1400e55e0]
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
lea rdx, str.NewInput
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
lea rdx, str.Stopped
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
mov rdx, rdi
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012aa7
lea rdx, str.EndKey
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400126fb
xor ecx, ecx
mov dword [rsi + 0x10], ecx
lea rcx, [rbx + 0x10]
cmp dword [rcx], 4
jne 0x1400127f7
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov r8d, 0x100
mov qword [rsi], rdx
call fcn.14004d520
mov eax, 1
jmp 0x140012aa7
lea rdx, str.EndMods
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400127c3
mov rax, qword [rsi + 8]
xor ecx, ecx
mov dword [rsi + 0x10], ecx
mov qword [rsi], rax
movzx edx, byte [rbx + 0x7e]
test dl, 1
je 0x140012736
mov dword [rax], 0x5e003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 2
je 0x140012749
mov dword [rax], 0x5e003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 4
je 0x14001275c
mov dword [rax], 0x21003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 8
je 0x14001276f
mov dword [rax], 0x21003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x10
je 0x140012782
mov dword [rax], 0x2b003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x20
je 0x140012795
mov dword [rax], 0x2b003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x40
je 0x1400127a8
mov dword [rax], 0x23003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, dl
jns 0x1400127b6
mov dword [rax], 0x23003e
add rax, 4
mov word [rax], cx
mov eax, 1
jmp 0x140012aa7
lea rdx, str.Match
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012804
xor ecx, ecx
mov dword [rsi + 0x10], ecx
cmp dword [rbx + 0x10], 3
jne 0x1400127f7
mov eax, dword [rbx + 0x80]
cmp eax, dword [rbx + 0x50]
jae 0x1400127f7
mov ecx, eax
mov rax, qword [rbx + 0x48]
mov rdi, qword [rax + rcx*8]
mov qword [rsi], rdi
mov eax, 1
jmp 0x140012aa7
mov r8d, 2
lea rdx, [0x1400e0c24]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14001291f
add rbp, 4
lea rdx, [0x1400cdb28]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012842
mov r14d, 0x388
jmp 0x140012898
lea rdx, str.KeyDown
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14001285e
mov r14d, 0x390
jmp 0x140012898
lea rdx, str.KeyUp
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14001287a
mov r14d, 0x3a0
jmp 0x140012898
lea rdx, str.Char
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012aa2
mov r14d, 0x398
test r15d, r15d
je 0x1400128cb
mov rcx, qword [r12 + 8]
call fcn.1400743c0
mov r15, rax
test rax, rax
je 0x1400128f6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + VariantCopy]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x1400128c7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [r14 + rbx], r15
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x140012a9b
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [r14 + rbx]
mov qword [rsi], rax
mov eax, 1
mov dword [rsi + 0x10], 6
jmp 0x140012aa7
mov rcx, qword [r12 + 8]
call fcn.140073db0
test eax, eax
jne 0x1400128b8
mov r8, rdi
lea rdx, str.Invalid_value.
lea rcx, [0x140105140]
call fcn.140046d70
jmp 0x140012aa7
lea rdx, str.MinSendLevel
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012955
test r15d, r15d
je 0x14001294c
mov rcx, qword [r12 + 8]
xor edx, edx
call fcn.140073e80
mov byte [rbx + 0x6c], al
jmp 0x140012a8e
movzx eax, byte [rbx + 0x6c]
jmp 0x140012a8e
lea rdx, str.Timeout
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400129c6
test r15d, r15d
je 0x1400129a0
mov rcx, qword [r12 + 8]
lea edx, [rax + 1]
xor r8d, r8d
call fcn.140073f20
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
mulsd xmm0, qword [0x1400ee128]
cvttsd2si eax, xmm0
mov dword [rbx + 0x64], eax
jne 0x1400129a0
test eax, eax
jle 0x1400129a0
call fcn.14004ce10
movd xmm0, dword [rbx + 0x64]
mov eax, 1
cvtdq2pd xmm0, xmm0
mov dword [rsi + 0x10], 2
divsd xmm0, qword [0x1400ee128]
movsd qword [rsi], xmm0
jmp 0x140012aa7
lea rdx, str.BackspaceIsUndo
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400129e4
mov eax, 0x6e
jmp 0x140012a69
lea rdx, str.CaseSensitive
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400129ff
mov eax, WSAStartup
jmp 0x140012a69
lea rdx, str.FindAnywhere
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012a1a
mov eax, reloc.WSOCK32.dll_WSACleanup
jmp 0x140012a69
lea rdx, str.VisibleText
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012a35
mov eax, WSAStartup
jmp 0x140012a69
lea rdx, str.VisibleNonText
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012a50
mov eax, WSAStartup
jmp 0x140012a69
lea rdx, str.NotifyNonText
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012aa2
mov eax, reloc.WSOCK32.dll_WSAStartup
add rbx, rax
je 0x140012aa2
test r15d, r15d
je 0x140012a8b
mov rcx, qword [r12 + 8]
mov edx, 0x41
call fcn.140073be0
test eax, eax
setne al
mov byte [rbx], al
jmp 0x140012a8e
movzx eax, byte [rbx]
movzx eax, al
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
mov eax, 1
jmp 0x140012aa7
mov eax, 4
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret