Function at 0x14001b480
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 0x14001b4c4
lea r8, [0x1400da7a4]
lea rdx, str.Invalid_usage.
lea rcx, [0x140116fb0]
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
jmp fcn.140057630
mov qword [rsp + 0x50], rbp
lea rdi, [0x1400da7a4]
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
mov rbp, qword [r12]
mov ecx, dword [rbp + 0x10]
test ecx, ecx
je 0x14001b513
sub ecx, 1
je 0x14001b4f9
sub ecx, 1
je 0x14001b4f9
sub ecx, 2
je 0x14001b4fe
cmp ecx, 1
je 0x14001b513
mov rbp, rdi
jmp 0x14001b517
mov rcx, qword [rbp]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400017c0
mov rbp, rax
jmp 0x14001b517
mov rbp, qword [rbp]
mov qword [rsp + 0x60], r15
test r13b, 2
je 0x14001b6ea
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 0x14001b5b9
cmp dword [rbx + 0x10], 1
lea rdi, [rbx + 0x10]
je 0x14001bd2b
cmp byte [rbx + 0x6d], al
jne 0x14001b559
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 0x14001b568
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
cmp dword [rdi + 0x54], 0
jle 0x14001b576
mov rcx, rdi
call fcn.14005c9d0
mov rax, qword [0x140113a38]
or byte [0x1401149c6], 1
cmp qword [0x140113a80], 0
mov qword [rdi + 8], rax
mov dword [rdi], 1
mov qword [0x140113a38], rdi
jne 0x14001bd2b
movzx edx, word [0x140114a8c]
call fcn.140014910
mov eax, 1
jmp 0x14001bd37
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 0x14001b66b
cmp r14d, 1
jle 0x14001b5fc
mov rcx, qword [r12 + 8]
cmp dword [rcx + 0x10], 3
je 0x14001b5fc
xor r8d, r8d
lea edx, [rax + 1]
call fcn.140083c20
mulsd xmm0, qword [0x1400ff4c8]
cvttsd2si rbp, xmm0
jmp 0x14001b601
mov ebp, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rbx + 0x10], 1
mov r14d, eax
jne 0x14001b632
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, ebp
jae 0x14001b632
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b10
cmp dword [rbx + 0x10], 1
je 0x14001b610
xor ecx, ecx
mov dword [rsi + 0x10], ecx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x14001b8d0.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1bd54]
add rax, rcx
jmp rax
lea rdx, str.Match
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
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 0x14001b6bc
cmp dword [rbx + 0x10], 1
lea r8, [rbx + 0x10]
jne 0x14001bd2b
movzx eax, byte [0x1401149c2]
xor ecx, ecx
mov dword [r8], ecx
xor r9d, r9d
mov rcx, qword [0x140113a50]
mov edx, 0x41b
mov byte [r8 + 0x6e], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x14001bd37
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 0x14001bd32
lea r9d, [r14 - 1]
mov rcx, rbx
lea r8, [r12 + 8]
call fcn.14001bd90
jmp 0x14001bd37
mov r15d, r13d
and r15d, 1
lea eax, [r15 + 1]
cmp r14d, eax
je 0x14001b715
mov r8, rdi
lea rdx, str.Invalid_usage.
lea rcx, [0x140116fb0]
call fcn.140057630
jmp 0x14001bd37
test r15d, r15d
je 0x14001b830
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 0x14001ba94
mov r9, qword [r12 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x14001b76d
sub ecx, 1
je 0x14001b757
sub ecx, 1
je 0x14001b757
sub ecx, 2
je 0x14001b75c
cmp ecx, 1
je 0x14001b76d
mov rax, rdi
jmp 0x14001b770
mov rcx, qword [r9]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400017c0
jmp 0x14001b770
mov rax, qword [r9]
mov rbp, 0xffffffffffffffff
mov rcx, rbp
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14001b780
movsxd rax, dword [rbx + 0x34]
cmp rcx, rax
jbe 0x14001b7ae
mov r8, rdi
lea rdx, str.Out_of_memory.
lea rcx, [0x140116fb0]
call fcn.140057630
jmp 0x14001bd37
mov r9, qword [r12 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x14001b7cf
sub ecx, 1
je 0x14001b7d2
sub ecx, 1
je 0x14001b7d2
sub ecx, 2
je 0x14001b81c
cmp ecx, 1
jne 0x14001b7d2
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 0x14001b7e0
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 0x14001b800
movsxd r8, ebp
mov rcx, rsi
mov dword [rbx + 0x30], ebp
call fcn.1400841d0
jmp 0x14001bd37
mov rcx, qword [r9]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400017c0
mov rdi, rax
jmp 0x14001b7d2
test r13b, 3
jne 0x14001ba94
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 0x14001b868
xor ecx, ecx
mov dword [rsi + 0x10], ecx
mov rcx, rsi
movsxd r8, dword [rbx + 0x30]
mov rdx, qword [rbx + 0x28]
call fcn.1400841d0
jmp 0x14001bd37
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 0x14001b899
xor ecx, ecx
mov dword [rsi + 0x10], 1
cmp dword [rbx + 0x10], 1
mov eax, 1
sete cl
mov qword [rsi], rcx
jmp 0x14001bd37
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 0x14001b946
xor ecx, ecx
mov dword [rsi + 0x10], ecx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x14001b8d0.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1bd70]
add rax, rcx
jmp rax
lea rdx, str.Timeout
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
lea rdx, str.EndKey
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
lea rdx, [0x1400f42b8]
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
lea rdx, str.NewInput
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
lea rdx, str.Stopped
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
mov rdx, rdi
mov eax, 1
mov qword [rsi], rdx
jmp 0x14001bd37
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 0x14001b98b
xor ecx, ecx
mov dword [rsi + 0x10], ecx
lea rcx, [rbx + 0x10]
cmp dword [rcx], 4
jne 0x14001ba87
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov r8d, 0x100
mov qword [rsi], rdx
call fcn.14005d0f0
mov eax, 1
jmp 0x14001bd37
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 0x14001ba53
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 0x14001b9c6
mov dword [rax], 0x5e003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 2
je 0x14001b9d9
mov dword [rax], 0x5e003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 4
je 0x14001b9ec
mov dword [rax], 0x21003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 8
je 0x14001b9ff
mov dword [rax], 0x21003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x10
je 0x14001ba12
mov dword [rax], 0x2b003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x20
je 0x14001ba25
mov dword [rax], 0x2b003e
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, 0x40
je 0x14001ba38
mov dword [rax], 0x23003c
add rax, 4
movzx edx, byte [rbx + 0x7e]
test dl, dl
jns 0x14001ba46
mov dword [rax], 0x23003e
add rax, 4
mov word [rax], cx
mov eax, 1
jmp 0x14001bd37
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 0x14001ba94
xor ecx, ecx
mov dword [rsi + 0x10], ecx
cmp dword [rbx + 0x10], 3
jne 0x14001ba87
mov eax, dword [rbx + 0x80]
cmp eax, dword [rbx + 0x50]
jae 0x14001ba87
mov ecx, eax
mov rax, qword [rbx + 0x48]
mov rdi, qword [rax + rcx*8]
mov qword [rsi], rdi
mov eax, 1
jmp 0x14001bd37
mov r8d, 2
lea rdx, [0x1400f11d4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14001bbaf
add rbp, 4
lea rdx, [0x1400f0860]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14001bad2
mov r14d, 0x388
jmp 0x14001bb28
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 0x14001baee
mov r14d, 0x390
jmp 0x14001bb28
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 0x14001bb0a
mov r14d, 0x3a0
jmp 0x14001bb28
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 0x14001bd32
mov r14d, 0x398
test r15d, r15d
je 0x14001bb5b
mov rcx, qword [r12 + 8]
call fcn.1400840c0
mov r15, rax
test rax, rax
je 0x14001bb86
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.WSOCK32.dll_htonl]
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x14001bb57
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov qword [r14 + rbx], r15
mov rcx, qword [r14 + rbx]
test rcx, rcx
je 0x14001bd2b
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rax, qword [r14 + rbx]
mov qword [rsi], rax
mov eax, 1
mov dword [rsi + 0x10], 6
jmp 0x14001bd37
mov rcx, qword [r12 + 8]
call fcn.140083ab0
test eax, eax
jne 0x14001bb48
mov r8, rdi
lea rdx, str.Invalid_value.
lea rcx, [0x140116fb0]
call fcn.140057630
jmp 0x14001bd37
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 0x14001bbe5
test r15d, r15d
je 0x14001bbdc
mov rcx, qword [r12 + 8]
xor edx, edx
call fcn.140083b80
mov byte [rbx + 0x6c], al
jmp 0x14001bd1e
movzx eax, byte [rbx + 0x6c]
jmp 0x14001bd1e
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 0x14001bc56
test r15d, r15d
je 0x14001bc30
mov rcx, qword [r12 + 8]
lea edx, [rax + 1]
xor r8d, r8d
call fcn.140083c20
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
mulsd xmm0, qword [0x1400ff4c8]
cvttsd2si eax, xmm0
mov dword [rbx + 0x64], eax
jne 0x14001bc30
test eax, eax
jle 0x14001bc30
call fcn.14005c9d0
movd xmm0, dword [rbx + 0x64]
mov eax, 1
cvtdq2pd xmm0, xmm0
mov dword [rsi + 0x10], 2
divsd xmm0, qword [0x1400ff4c8]
movsd qword [rsi], xmm0
jmp 0x14001bd37
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 0x14001bc74
mov eax, WSAGetLastError
jmp 0x14001bcf9
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 0x14001bc8f
mov eax, reloc.WSOCK32.dll_WSAGetLastError
jmp 0x14001bcf9
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 0x14001bcaa
mov eax, reloc.WSOCK32.dll_WSACleanup
jmp 0x14001bcf9
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 0x14001bcc5
mov eax, WSAStartup
jmp 0x14001bcf9
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 0x14001bce0
mov eax, WSAStartup
jmp 0x14001bcf9
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 0x14001bd32
mov eax, reloc.WSOCK32.dll_WSAStartup
add rbx, rax
je 0x14001bd32
test r15d, r15d
je 0x14001bd1b
mov rcx, qword [r12 + 8]
mov edx, 0x41
call fcn.1400838a0
test eax, eax
setne al
mov byte [rbx], al
jmp 0x14001bd1e
movzx eax, byte [rbx]
movzx eax, al
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
mov eax, 1
jmp 0x14001bd37
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