Function at 0x1400125f0
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 0x140012634
lea r8, [0x1400cc644]
lea rdx, str.Invalid_usage.
lea rcx, [0x140105cf0]
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
jmp fcn.1400481c0
mov qword [rsp + 0x50], rbp
lea rdi, [0x1400cc644]
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
mov rbp, qword [r12]
mov ecx, dword [rbp + 0x10]
test ecx, ecx
je 0x140012683
sub ecx, 1
je 0x140012669
sub ecx, 1
je 0x140012669
sub ecx, 2
je 0x14001266e
cmp ecx, 1
je 0x140012683
mov rbp, rdi
jmp 0x140012687
mov rcx, qword [rbp]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400016b0
mov rbp, rax
jmp 0x140012687
mov rbp, qword [rbp]
mov qword [rsp + 0x60], r15
test r13b, 2
je 0x14001285a
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 0x140012729
cmp dword [rbx + 0x10], 1
lea rdi, [rbx + 0x10]
je 0x140012e9b
cmp byte [rbx + 0x6d], al
jne 0x1400126c9
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 0x1400126d8
mov rax, qword [rcx]
call qword [rax + VariantCopy]
cmp dword [rdi + 0x54], 0
jle 0x1400126e6
mov rcx, rdi
call fcn.14004e360
mov rax, qword [0x140102778]
or byte [0x1401028b3], 1
cmp qword [0x1401027c0], 0
mov qword [rdi + 8], rax
mov dword [rdi], 1
mov qword [0x140102778], rdi
jne 0x140012e9b
movzx edx, word [0x1401037cc]
call fcn.14000b980
mov eax, 1
jmp 0x140012ea7
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 0x1400127db
cmp r14d, 1
jle 0x14001276c
mov rcx, qword [r12 + 8]
cmp dword [rcx + 0x10], 3
je 0x14001276c
xor r8d, r8d
lea edx, [rax + 1]
call fcn.140075500
mulsd xmm0, qword [0x1400ef968]
cvttsd2si rbp, xmm0
jmp 0x140012771
mov ebp, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rbx + 0x10], 1
mov r14d, eax
jne 0x1400127a2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, ebp
jae 0x1400127a2
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400019b0
cmp dword [rbx + 0x10], 1
je 0x140012780
xor ecx, ecx
mov dword [rsi + 0x10], ecx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x140012a40.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x12ec4]
add rax, rcx
jmp rax
lea rdx, str.Match
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
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 0x14001282c
cmp dword [rbx + 0x10], 1
lea r8, [rbx + 0x10]
jne 0x140012e9b
movzx eax, byte [0x1401028ae]
xor ecx, ecx
mov dword [r8], ecx
xor r9d, r9d
mov rcx, qword [0x140102790]
mov edx, 0x41b
mov byte [r8 + 0x6e], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x140012ea7
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 0x140012ea2
lea r9d, [r14 - 1]
mov rcx, rbx
lea r8, [r12 + 8]
call fcn.140012f00
jmp 0x140012ea7
mov r15d, r13d
and r15d, 1
lea eax, [r15 + 1]
cmp r14d, eax
je 0x140012885
mov r8, rdi
lea rdx, str.Invalid_usage.
lea rcx, [0x140105cf0]
call fcn.1400481c0
jmp 0x140012ea7
test r15d, r15d
je 0x1400129a0
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 0x140012c04
mov r9, qword [r12 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x1400128dd
sub ecx, 1
je 0x1400128c7
sub ecx, 1
je 0x1400128c7
sub ecx, 2
je 0x1400128cc
cmp ecx, 1
je 0x1400128dd
mov rax, rdi
jmp 0x1400128e0
mov rcx, qword [r9]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400016b0
jmp 0x1400128e0
mov rax, qword [r9]
mov rbp, 0xffffffffffffffff
mov rcx, rbp
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400128f0
movsxd rax, dword [rbx + 0x34]
cmp rcx, rax
jbe 0x14001291e
mov r8, rdi
lea rdx, str.Out_of_memory.
lea rcx, [0x140105cf0]
call fcn.1400481c0
jmp 0x140012ea7
mov r9, qword [r12 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x14001293f
sub ecx, 1
je 0x140012942
sub ecx, 1
je 0x140012942
sub ecx, 2
je 0x14001298c
cmp ecx, 1
jne 0x140012942
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 0x140012950
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 0x140012970
movsxd r8, ebp
mov rcx, rsi
mov dword [rbx + 0x30], ebp
call fcn.140075b00
jmp 0x140012ea7
mov rcx, qword [r9]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400016b0
mov rdi, rax
jmp 0x140012942
test r13b, 3
jne 0x140012c04
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 0x1400129d8
xor ecx, ecx
mov dword [rsi + 0x10], ecx
mov rcx, rsi
movsxd r8, dword [rbx + 0x30]
mov rdx, qword [rbx + 0x28]
call fcn.140075b00
jmp 0x140012ea7
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 0x140012a09
xor ecx, ecx
mov dword [rsi + 0x10], 1
cmp dword [rbx + 0x10], 1
mov eax, 1
sete cl
mov qword [rsi], rcx
jmp 0x140012ea7
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 0x140012ab6
xor ecx, ecx
mov dword [rsi + 0x10], ecx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x140012a40.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x12ee0]
add rax, rcx
jmp rax
lea rdx, str.Timeout
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
lea rdx, str.EndKey
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
lea rdx, [0x1400e6778]
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
lea rdx, str.NewInput
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
lea rdx, str.Stopped
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
mov rdx, rdi
mov eax, 1
mov qword [rsi], rdx
jmp 0x140012ea7
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 0x140012afb
xor ecx, ecx
mov dword [rsi + 0x10], ecx
lea rcx, [rbx + 0x10]
cmp dword [rcx], 4
jne 0x140012bf7
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov r8d, 0x100
mov qword [rsi], rdx
call fcn.14004ea80
mov eax, 1
jmp 0x140012ea7
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 0x140012bc3
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 0x140012b36
mov dword [rax], 0x5e003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 2
je 0x140012b49
mov dword [rax], 0x5e003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 4
je 0x140012b5c
mov dword [rax], 0x21003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 8
je 0x140012b6f
mov dword [rax], 0x21003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x10
je 0x140012b82
mov dword [rax], 0x2b003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x20
je 0x140012b95
mov dword [rax], 0x2b003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x40
je 0x140012ba8
mov dword [rax], 0x23003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, dl
jns 0x140012bb6
mov dword [rax], 0x23003e
add rax, 4
mov word [rax], cx
mov eax, 1
jmp 0x140012ea7
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 0x140012c04
xor ecx, ecx
mov dword [rsi + 0x10], ecx
cmp dword [rbx + 0x10], 3
jne 0x140012bf7
mov eax, dword [rbx + 0x80]
cmp eax, dword [rbx + 0x50]
jae 0x140012bf7
mov ecx, eax
mov rax, qword [rbx + 0x48]
mov rdi, qword [rax + rcx*8]
mov qword [rsi], rdi
mov eax, 1
jmp 0x140012ea7
mov r8d, 2
lea rdx, [0x1400e1d24]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140012d1f
add rbp, 4
lea rdx, [0x1400cec20]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140012c42
mov r14d, 0x388
jmp 0x140012c98
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 0x140012c5e
mov r14d, 0x390
jmp 0x140012c98
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 0x140012c7a
mov r14d, 0x3a0
jmp 0x140012c98
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 0x140012ea2
mov r14d, 0x398
test r15d, r15d
je 0x140012ccb
mov rcx, qword [r12 + 8]
call fcn.1400759a0
mov r15, rax
test rax, rax
je 0x140012cf6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + VariantCopy]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x140012cc7
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 0x140012e9b
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 0x140012ea7
mov rcx, qword [r12 + 8]
call fcn.140075390
test eax, eax
jne 0x140012cb8
mov r8, rdi
lea rdx, str.Invalid_value.
lea rcx, [0x140105cf0]
call fcn.1400481c0
jmp 0x140012ea7
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 0x140012d55
test r15d, r15d
je 0x140012d4c
mov rcx, qword [r12 + 8]
xor edx, edx
call fcn.140075460
mov byte [rbx + 0x6c], al
jmp 0x140012e8e
movzx eax, byte [rbx + 0x6c]
jmp 0x140012e8e
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 0x140012dc6
test r15d, r15d
je 0x140012da0
mov rcx, qword [r12 + 8]
lea edx, [rax + 1]
xor r8d, r8d
call fcn.140075500
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
mulsd xmm0, qword [0x1400ef968]
cvttsd2si eax, xmm0
mov dword [rbx + 0x64], eax
jne 0x140012da0
test eax, eax
jle 0x140012da0
call fcn.14004e360
movd xmm0, dword [rbx + 0x64]
mov eax, 1
cvtdq2pd xmm0, xmm0
mov dword [rsi + 0x10], 2
divsd xmm0, qword [0x1400ef968]
movsd qword [rsi], xmm0
jmp 0x140012ea7
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 0x140012de4
mov eax, 0x6e
jmp 0x140012e69
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 0x140012dff
mov eax, WSAStartup
jmp 0x140012e69
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 0x140012e1a
mov eax, reloc.WSOCK32.dll_WSACleanup
jmp 0x140012e69
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 0x140012e35
mov eax, WSAStartup
jmp 0x140012e69
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 0x140012e50
mov eax, WSAStartup
jmp 0x140012e69
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 0x140012ea2
mov eax, reloc.WSOCK32.dll_WSAStartup
add rbx, rax
je 0x140012ea2
test r15d, r15d
je 0x140012e8b
mov rcx, qword [r12 + 8]
mov edx, 0x41
call fcn.1400751c0
test eax, eax
setne al
mov byte [rbx], al
jmp 0x140012e8e
movzx eax, byte [rbx]
movzx eax, al
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
mov eax, 1
jmp 0x140012ea7
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