Function at 0x14001d910
Capabilities:
Check for time delay via gettickcount
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x958
lea rbp, [rsp + 0x60]
cmp word [rcx], 0
mov r12, r9
mov r13d, r8d
mov r15d, edx
mov r14, rcx
je 0x14001f264
mov rsi, qword [0x1401241d8]
xor dil, dil
mov eax, dword [0x14012ce28]
mov qword [rbp + 0x38], rsi
mov dword [rbp + 0x40], eax
test edx, edx
jne 0x14001d9d9
lea r8d, [rdx + 6]
lea rdx, str.Blind
call fcn.1400c53a8
test eax, eax
jne 0x14001d9d9
movzx eax, word [r14 + 0xc]
add r14, 0xc
mov byte [0x14012d0ac], 1
cmp ax, 0x7d
je 0x14001d9e5
test ax, ax
je 0x14001f264
cmp ax, 0x21
je 0x14001d9c4
cmp ax, 0x23
je 0x14001d9be
cmp ax, 0x2b
je 0x14001d9b8
cmp ax, 0x5e
jne 0x14001d9c8
or dil, 3
jmp 0x14001d9c8
or dil, 0x30
jmp 0x14001d9c8
or dil, 0xc0
jmp 0x14001d9c8
or dil, 0xc
movzx eax, word [r14 + 2]
add r14, 2
cmp ax, 0x7d
jne 0x14001d991
jmp 0x14001d9e5
mov byte [0x14012d0ac], dil
test r15d, r15d
jne 0x14001da0f
mov r8d, 6
lea rdx, [0x140106688]
mov rcx, r14
call fcn.1400c53a8
test eax, eax
jne 0x14001da0f
mov r15d, 2
add r14, 0xc
mov dword [rbp + 0x948], r15d
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0x44], eax
mov eax, dword [rsi + 0xa0]
xor esi, esi
mov dword [rbp + 0x48], eax
lea eax, [r13 - 1]
test eax, 0xfffffffd
jne 0x14001db05
mov rcx, qword [0x14012d068]
test rcx, rcx
je 0x14001da44
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.AHK_Keybd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [0x14012d068], 0
mov esi, eax
je 0x14001da73
mov qword [0x14012d068], rbx
jmp 0x14001da81
test rbx, rbx
je 0x14001da81
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xb7
je 0x14001daba
test r15d, r15d
jne 0x14001daab
call fcn.140016f80
test al, al
je 0x14001daab
lea rdx, [0x140106ae0]
mov rcx, r14
call fcn.1400a14b0
test rax, rax
jne 0x14001daba
mov r13d, 1
mov dword [rbp + 0x950], r13d
jmp 0x14001db03
cmp r13d, 3
jne 0x14001dacf
mov r13d, 2
mov dword [rbp + 0x950], r13d
jmp 0x14001db03
mov rsi, qword [rbp + 0x38]
xor eax, eax
mov r13d, eax
mov dword [rbp + 0x950], eax
cmp dword [rsi + 0x98], eax
jge 0x14001daf3
cmp dword [rsi + 0xa0], eax
jge 0x14001daf3
mov eax, 0xffffffff
mov dword [rsi + 0xa0], eax
mov dword [rsi + 0x98], 0xffffffff
xor esi, esi
mov byte [rbp + 8], 0
mov ebx, esi
test r12, r12
je 0x14001db68
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rbp + 0x24], eax
mov r15d, eax
test eax, eax
je 0x14001dc5a
cmp eax, dword [0x14012c648]
je 0x14001dc5a
mov rcx, r12
call fcn.1400a7f10
test al, al
jne 0x14001dc5a
mov ecx, dword [0x14012c648]
mov r8d, 1
mov edx, r15d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
mov ebx, r15d
setne byte [rbp + 8]
jmp 0x14001dc5a
test byte [0x14012cdce], 0xc0
je 0x14001dc0c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14012cdc4]
cmp eax, 0x32
jae 0x14001dc0c
cmp r13d, 2
je 0x14001dc0c
cmp byte [0x14012d0ac], 0
jne 0x14001dc0c
cmp r15d, 2
je 0x14001dc0c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x14012c648]
jne 0x14001dc0c
test r15d, r15d
je 0x14001dcff
mov r8, r14
test r14, r14
je 0x14001dc00
movzx edx, word [r14]
test dx, dx
je 0x14001dc00
mov r9d, 0x4c
nop dword [rax]
lea rcx, [0x140106af0]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x14001dc03
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14001dbe0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14001dbd0
mov r8, rsi
test r8, r8
jne 0x14001ddc0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14001dc51
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rbp + 0x70]
mov dword [rbp + 0x70], 0x48
mov ecx, eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x14001dc51
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14001dc51
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov eax, dword [rbp + 0x940]
mov dword [rbp + 0x24], eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor r15d, r15d
lea r9, [0x14012d0b0]
mov ecx, r15d
mov qword [0x14012d150], rax
mov rdx, r9
mov rsi, rax
nop dword [rax]
mov r8, qword [rdx]
test r8, r8
je 0x14001dc9c
cmp r8, rsi
je 0x14001de05
inc ecx
add rdx, 0x10
cmp ecx, 0xa
jl 0x14001dc80
cmp ecx, 0xa
mov eax, 9
cmovl eax, ecx
mov rcx, rsi
movsxd rbx, eax
shl rbx, 4
add rbx, r9
call fcn.140022bf0
mov dword [rbx + 8], eax
mov qword [rbx], rsi
mov cl, 1
mov dword [0x14012d158], eax
call fcn.140022620
and byte [0x14012c66f], al
movzx ebx, al
cmp qword [0x14012ae58], r15
je 0x14001de15
movzx ecx, byte [0x14012ad77]
movzx eax, byte [0x14012ad79]
not al
mov byte [rbp + 3], cl
and al, cl
mov byte [rbp + 6], al
jmp 0x14001de3f
mov r9d, 0x4c
mov rdx, r14
lea r10d, [r9 + 0x2f]
nop dword [rax]
test rdx, rdx
je 0x14001dc0c
movzx r8d, word [rdx]
test r8w, r8w
je 0x14001dc0c
nop word [rax + rax]
lea rcx, [0x140106af0]
movzx eax, r9w
nop dword [rax + rax]
cmp r8w, ax
je 0x14001dd67
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14001dd40
movzx r8d, word [rdx + 2]
add rdx, 2
test r8w, r8w
jne 0x14001dd30
jmp 0x14001dc0c
add rdx, 2
je 0x14001ddc0
movzx r8d, word [rdx]
test r8w, r8w
je 0x14001ddc0
nop word [rax + rax]
lea rcx, [0x140106af8]
movzx eax, r10w
nop dword [rax + rax]
cmp r8w, ax
je 0x14001ddb4
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14001dd90
movzx r8d, word [rdx + 2]
add rdx, 2
test r8w, r8w
jne 0x14001dd80
jmp 0x14001ddc0
cmp word [rdx], r10w
jne 0x14001dd10
nop
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001dde4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14001dc0c
mov edx, 1
mov dword [0x1401241d0], esi
mov ecx, 0x8000012f
call fcn.1400016f0
mov dword [0x1401241d0], 1
jmp 0x14001ddc0
movsxd rax, ecx
add rax, rax
mov eax, dword [r9 + rax*8 + 8]
jmp 0x14001dcbf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14012cdc4]
cmp eax, dword [0x140124b90]
jae 0x14001de37
movzx ecx, byte [0x14012cdce]
and cl, bl
mov byte [rbp + 3], cl
jmp 0x14001de3b
mov byte [rbp + 3], r15b
mov byte [rbp + 6], r15b
movzx r13d, byte [0x14012c66e]
and r13b, bl
mov byte [rbp + 5], r15b
cmp byte [0x14012d0ac], r15b
mov byte [rbp + 0x940], r13b
mov byte [0x14012c66e], r13b
je 0x14001de93
mov byte [rbp + 0x940], bl
movzx r13d, bl
mov byte [rbp], bl
test dil, dil
je 0x14001de97
movzx eax, dil
not al
and al, bl
movzx r13d, al
mov byte [rbp + 0x940], al
mov byte [rbp], al
xor al, bl
mov byte [rbp + 5], al
jmp 0x14001de97
mov byte [rbp], r13b
mov rax, qword [rbp + 0x38]
cmp byte [rax + 0xc4], r15b
je 0x14001dec7
cmp byte [0x14012d0ac], r15b
jne 0x14001dec7
cmp dword [rbp + 0x948], 2
je 0x14001dec7
mov edx, 2
mov cl, reloc.OLEAUT32.dll_SafeArrayLock
call fcn.140021c60
mov dword [rbp + 0x20], eax
jmp 0x14001decb
mov dword [rbp + 0x20], r15d
mov ecx, dword [rbp + 0x950]
mov eax, 0x1f4
mov dword [0x14012d170], ecx
mov edi, 0x5dc
test ecx, ecx
je 0x14001df71
cmp ecx, 1
mov edx, 0x2ee0
cmovne eax, edi
mov dword [0x14012d160], eax
mov eax, 0x4e20
cmovne eax, edx
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001df15
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400de970
mov rax, qword [0x1401270e8]
sub rsp, rcx
mov byte [0x14012d064], bl
xor ebx, ebx
mov byte [0x14012d065], r15b
mov dword [0x14012d15c], ebx
lea rcx, [rsp + 0x60]
mov byte [0x14012d066], bl
mov qword [rax], rcx
mov ecx, dword [rbp + 0x950]
mov dword [0x14012d168], 0x80000000
mov dword [0x14012d16c], 0x80000000
mov byte [0x14012d067], 1
jmp 0x14001df73
xor ebx, ebx
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
movzx esi, byte [0x14012ab3e]
add eax, 0xfffffff9
mov byte [rbp + 0xa], sil
test eax, 0xfffffffd
jne 0x14001dfaf
test ecx, ecx
jne 0x14001dfaf
test r12, r12
jne 0x14001dfaf
lea ecx, [r12 + 1]
mov byte [rbp + 9], 1
call qword [sym.imp.USER32.dll_BlockInput]
mov byte [0x14012ab3e], 1
jmp 0x14001dfb3
mov byte [rbp + 9], r15b
cmp word [r14], 0
mov byte [rbp + 1], r15b
je 0x14001ef1a
lea rdi, [0x140000000]
jmp 0x14001dfe1
movzx r13d, byte [rbp + 0x940]
xor ebx, ebx
mov r12, qword [rbp + 0x958]
cmp dword [0x14012d170], 0
mov byte [rbp + 4], 0
jne 0x14001e04f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401241d8]
sub eax, dword [0x14012ce28]
cmp eax, dword [rcx + 0x88]
jbe 0x14001e04f
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, [rbp + 0xc0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001e043
mov edx, 1
mov dword [0x1401241d0], ebx
lea ecx, [rdx - 2]
call fcn.1400016f0
mov dword [0x1401241d0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012ce28], eax
mov esi, dword [rbp + 0x948]
test esi, esi
jne 0x14001ebf0
movzx edx, word [r14]
lea rcx, [0x140106b00]
call fcn.1400c0244
test rax, rax
je 0x14001ec4b
movzx eax, word [r14]
add eax, 0xffffffdf
cmp eax, 0x5c
ja case.0x14001e09a.38
cdqe
movzx eax, byte [rdi + rax + 0x1f294]
mov ecx, dword [rdi + rax*4 + 0x1f278]
add rcx, rdi
jmp rcx
test r13b, 3
jne case.0x14001e09a.38
or r15b, 1
jmp 0x14001eee3
test r13b, 0x30
jne case.0x14001e09a.38
or r15b, 0x10
jmp 0x14001eee3
test r13b, 0xc
jne case.0x14001e09a.38
or r15b, 4
jmp 0x14001eee3
test r13b, 0xc0
jne case.0x14001e09a.38
or r15b, 0x40
jmp 0x14001eee3
mov edx, 0x7d
lea rcx, [r14 + 2]
call fcn.1400c0244
mov qword [rbp + 0x50], rax
mov rdi, rax
test rax, rax
je case.0x14001e09a.38
movzx ecx, word [r14 + 2]
add r14, 2
cmp cx, 0x20
je 0x14001e106
cmp cx, 9
je 0x14001e106
mov r12, rax
sub r12, r14
sar r12, 1
jne 0x14001e1d6
lea rcx, [rax + 2]
movzx eax, word [rax + 2]
cmp ax, 0x7d
jne 0x14001e14a
mov rdi, rcx
mov qword [rbp + 0x50], rcx
mov r12d, 1
jmp 0x14001e1e3
cmp ax, 0x20
je 0x14001e15a
cmp ax, 9
jne 0x14001e32c
mov rbx, rcx
nop dword [rax]
cmp ax, 0x20
je 0x14001e16c
cmp ax, 9
jne 0x14001e176
movzx eax, word [rbx + 2]
add rbx, 2
jmp 0x14001e160
mov r8d, 4
mov qword [rbp + 0x30], rbx
lea rdx, str.Down
mov rcx, rbx
call fcn.1400c53a8
test eax, eax
je 0x14001e1b0
mov r8d, 2
lea rdx, [0x140105848]
mov rcx, rbx
call fcn.1400c53a8
test eax, eax
jne 0x14001e32c
mov edx, 0x7d
mov rcx, rbx
call fcn.1400c0244
mov qword [rbp + 0x50], rax
mov rdi, rax
test rax, rax
je case.0x14001e09a.38
mov r12, rax
sub r12, r14
sar r12, 1
cmp r12, 0x400
jae 0x14001e32c
lea rbx, [r12 + r12]
mov rdx, r14
mov r8, rbx
lea rcx, [rbp + 0xf0]
call fcn.1400e2370
xor esi, esi
lea rdx, str.Click
lea rcx, [rbp + 0xf0]
mov word [rbp + rbx + 0xf0], si
lea r8d, [rsi + 5]
call fcn.1400c53a8
test eax, eax
jne 0x14001e30a
lea rcx, [rbp + 0xfa]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, 0x20
je 0x14001e23f
cmp ax, 9
jne 0x14001e245
add rcx, 2
jmp 0x14001e230
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea r9, [rbp + 2]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x14]
lea rax, [rbp + 0xc]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140020350
mov ecx, dword [rbp + 0x10]
cmp ecx, 1
jge 0x14001e2b2
mov rax, qword [rbp + 0x38]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x14]
lea rcx, [rbp + 0x18]
movzx r9d, byte [rax + 0xc3]
movzx eax, byte [rbp + 7]
mov byte [rsp + 0x20], al
call fcn.140020f60
movzx r12d, byte [rbp + 0x940]
xor r15b, r15b
mov r14, qword [rbp + 0x50]
jmp 0x14001eeeb
movzx eax, byte [rbp + 7]
xor edx, edx
mov byte [rsp + 0x50], al
movzx r9d, r13b
mov eax, dword [rbp + 0x14]
movzx r8d, r15b
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x958]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0xc]
mov byte [rsp + 0x30], dl
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
movzx ecx, byte [rbp + 2]
call fcn.14001f300
movzx r12d, byte [rbp + 0x940]
xor r15b, r15b
mov r14, qword [rbp + 0x50]
jmp 0x14001eeeb
lea rdx, [0x140106b20]
lea rcx, [rbp + 0xf0]
call fcn.1400c51bc
test eax, eax
jne 0x14001e340
mov eax, 1
mov dword [rbp + 0x948], eax
movzx r12d, byte [rbp + 0x940]
mov r14, qword [rbp + 0x50]
xor r15b, r15b
jmp 0x14001eeeb
lea rdx, str.Text
lea rcx, [rbp + 0xf0]
call fcn.1400c51bc
test eax, eax
jne 0x14001e376
movzx r12d, byte [rbp + 0x940]
mov eax, 2
mov r14, qword [rbp + 0x50]
xor r15b, r15b
mov dword [rbp + 0x948], eax
jmp 0x14001eeeb
movzx edx, word [rbp + 0xf0]
lea r8, [rbp + 0xf0]
mov r15d, 2
mov r13d, 1
mov dword [rbp + 0xc], r15d
mov r14, r12
mov dword [rbp + 0x10], r13d
test dx, dx
je 0x14001e4ae
nop dword [rax]
nop dword [rax + rax]
lea rcx, [0x140106b34]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x14001e3e1
add rcx, r15
movzx eax, word [rcx]
test ax, ax
jne 0x14001e3c0
add r8, r15
movzx edx, word [r8]
test dx, dx
jne 0x14001e3b0
jmp 0x14001e4ae
test r8, r8
je 0x14001e4ae
lea rax, [rbp + 0xf0]
mov word [r8], si
mov r14, r8
lea rbx, [r8 + 2]
sub r14, rax
sar r14, 1
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14001e411
cmp ax, 9
jne 0x14001e416
add rbx, r15
jmp 0x14001e402
mov rax, rdi
mov qword [rbp + 0x30], rbx
sub rax, rbx
sar rax, 1
test eax, eax
je 0x14001e4ae
mov r8d, 4
lea rdx, str.Down
mov rcx, rbx
call fcn.1400c53a8
test eax, eax
jne 0x14001e484
lea r8d, [rax + 4]
mov dword [rbp + 0xc], esi
lea rdx, str.Temp
mov r15d, esi
lea rcx, [rbx + 8]
call fcn.1400c53a8
test eax, eax
jne 0x14001e467
mov dword [rbp + 0x1c], esi
jmp 0x14001e4ae
cmp word [rbx + 8], 0x52
mov ecx, esi
sete cl
call fcn.1400d1488
test eax, eax
mov ebx, esi
setne bl
inc ebx
mov dword [rbp + 0x1c], ebx
jmp 0x14001e4ae
lea rdx, [0x140105848]
mov rcx, rbx
call fcn.1400c51bc
test eax, eax
jne 0x14001e4a0
mov r15d, r13d
mov dword [rbp + 0xc], r13d
jmp 0x14001e4ae
mov rcx, rbx
call fcn.1400a19d0
mov r13, rax
mov dword [rbp + 0x10], eax
mov rcx, qword [0x14012d150]
lea rdx, [rbp + 1]
mov qword [rsp + 0x20], rcx
mov r8b, 1
lea rcx, [rbp + 0xf0]
call fcn.140023240
mov byte [rbp + 2], al
movzx edi, al
test al, al
jne 0x14001e565
xor edx, edx
lea rcx, [rbp + 0xf0]
call fcn.140023150
movzx esi, ax
test ax, ax
jne 0x14001e565
mov r8d, 2
lea rdx, [0x1401064d8]
lea rcx, [rbp + 0xf0]
call fcn.1400c53a8
test eax, eax
jne 0x14001e565
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0xf4]
call fcn.1400cbccc
mov rcx, qword [rbp + 0x28]
lea rdx, [0x140106ca8]
mov r8d, 2
mov ebx, eax
call fcn.1400c53a8
test eax, eax
jne 0x14001e565
mov rcx, qword [rbp + 0x28]
lea r8d, [rax + 0x10]
add rcx, 4
lea rdx, [rbp + 0x28]
call fcn.1400cbccc
mov rcx, qword [rbp + 0x28]
cmp word [rcx], si
jne 0x14001e565
movzx edi, bl
mov byte [rbp + 2], bl
movzx esi, ax
cmp r13d, 1
jl 0x14001e32c
test dil, dil
jne 0x14001ea3f
test si, si
jne 0x14001ea3f
cmp r14, 1
jne 0x14001e60e
cmp r15d, r14d
je 0x14001e32c
mov r14, qword [rbp + 0x958]
test r14, r14
je 0x14001e5e3
test r13d, r13d
jle 0x14001e32c
mov ebx, r13d
nop dword [rax]
movzx r8d, word [rbp + 0xf0]
xor r9d, r9d
mov edx, 0x102
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
sub rbx, 1
jne 0x14001e5b0
movzx r12d, byte [rbp + 0x940]
xor r15b, r15b
mov r14, qword [rbp + 0x50]
jmp 0x14001eeeb
movzx r8d, byte [rbp + 1]
mov edx, r13d
movzx r12d, byte [rbp + 0x940]
movzx ecx, word [rbp + 0xf0]
or r8b, r12b
call fcn.14001f560
mov r14, qword [rbp + 0x50]
xor r15b, r15b
jmp 0x14001eeeb
mov r14, qword [rbp + 0x958]
lea r9, [rbp]
test r14, r14
lea r8, [rbp + 0xc]
mov rdx, r12
lea rcx, [rbp + 0xf0]
sete al
mov byte [rsp + 0x20], al
call fcn.1400234a0
mov byte [rbp + 2], al
movzx edi, al
test al, al
je 0x14001e7d8
mov esi, dword [rbp + 0xc]
test r14, r14
jne 0x14001e6d7
test esi, esi
jne 0x14001e659
mov byte [rbp + 4], al
jmp 0x14001e6d7
cmp dword [0x14012d0a8], 0
jne 0x14001e6d7
cmp byte [0x14012c66d], dil
je 0x14001e6d7
cmp byte [0x14012d0ac], 0
jne 0x14001e6d7
movzx ecx, byte [0x14012c66c]
lea eax, [rdi - 0x5b]
cmp al, 1
ja 0x14001e692
lea eax, [rcx - 0x5b]
cmp al, 1
ja 0x14001e692
cmp dword [0x14012d170], 2
jne 0x14001e6af
cmp dil, 0xa4
je 0x14001e6a7
cmp dil, 0xa5
jne 0x14001e6d7
cmp dword [0x14012d158], 3
je 0x14001e6d7
add cl, 0x5c
cmp cl, 1
ja 0x14001e6d7
movzx r8d, word [0x140124b94]
xor r9d, r9d
movzx edx, byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 0
lea ecx, [r9 + 2]
call fcn.14001fa80
cmp dword [0x14012d170], 0
je 0x14001e6e9
movzx eax, byte [0x14012d064]
jmp 0x14001e6f0
xor ecx, ecx
call fcn.140022620
movzx r12d, byte [rbp]
xor r9d, r9d
movzx ecx, r12b
mov dword [rsp + 0x28], 0xffc3d44d
mov r8, r14
mov byte [rsp + 0x20], 0
movzx edx, al
mov byte [rbp + 0x940], r12b
call fcn.140021db0
test r13d, r13d
jle 0x14001e334
mov ebx, r13d
xor r12d, r12d
nop word [rax + rax]
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
mov r9, r14
mov byte [rsp + 0x20], 1
movzx edx, dil
mov ecx, esi
call fcn.14001fa80
cmp dword [0x14012d170], r12d
jne 0x14001e7ba
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401241d8]
sub eax, dword [0x14012ce28]
cmp eax, dword [rcx + 0x88]
jbe 0x14001e7ba
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp + 0xc0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001e7ae
mov edx, 1
mov dword [0x1401241d0], r12d
lea ecx, [rdx - 2]
call fcn.1400016f0
mov dword [0x1401241d0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012ce28], eax
sub rbx, 1
jne 0x14001e730
movzx r12d, byte [rbp + 0x940]
xor r15b, r15b
mov r14, qword [rbp + 0x50]
jmp 0x14001eeeb
cmp r12, 4
jbe 0x14001e859
lea rdx, [0x140106b50]
lea rcx, [rbp + 0xf0]
call fcn.1400c51bc
test eax, eax
jne 0x14001e85f
test r14, r14
jne 0x14001e85f
mov rcx, qword [rbp + 0x30]
call fcn.14001f750
cmp dword [0x14012d170], 2
mov rax, qword [0x1401241d8]
jne 0x14001e836
mov ecx, dword [rax + 0x9c]
call fcn.140021880
movzx r12d, byte [rbp]
xor r15b, r15b
mov r14, qword [rbp + 0x50]
mov byte [rbp + 0x940], r12b
jmp 0x14001eeeb
mov ecx, dword [rax + 0x98]
call fcn.140021880
movzx r12d, byte [rbp]
xor r15b, r15b
mov r14, qword [rbp + 0x50]
mov byte [rbp + 0x940], r12b
jmp 0x14001eeeb
cmp r12, 2
jbe 0x14001e841
mov r8d, 2
lea rdx, [0x140106b58]
lea rcx, [rbp + 0xf0]
call fcn.1400c53a8
test eax, eax
jne 0x14001e841
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [rbp + 0xf4]
call fcn.1400cbc18
cmp eax, 0x10000
jb 0x14001e8c1
add eax, 0xffff0000
mov edx, 0x3ff
mov ecx, eax
movzx ebx, ax
shr ecx, 0xa
and bx, dx
and cx, dx
mov r8d, 0x2800
sub cx, r8w
mov edx, 0x2400
sub bx, dx
jmp 0x14001e8ca
xor r15d, r15d
movzx ecx, ax
mov ebx, r15d
movzx r12d, byte [rbp]
mov byte [rbp + 0x940], r12b
test r14, r14
je 0x14001e913
movzx r8d, cx
xor r9d, r9d
mov rcx, r14
mov edx, 0x102
call qword [sym.imp.USER32.dll_PostMessageW]
test bx, bx
je 0x14001ea01
movzx r8d, bx
xor r9d, r9d
mov edx, 0x102
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001ea01
cmp dword [0x14012d170], 2
je 0x14001e946
movzx edi, byte [rbp + 1]
or dil, r12b
movzx edx, dil
call fcn.14001d670
test bx, bx
je 0x14001ea01
movzx edx, dil
movzx ecx, bx
call fcn.14001d670
jmp 0x14001ea01
mov ecx, gethostbyaddr
lea rdx, [rbp + 0x62]
mov word [rbp + 0x60], cx
lea r8d, [rcx - 0x26]
mov ecx, eax
call fcn.1400ca968
cmp dword [0x14012d170], 0
je 0x14001e970
movzx eax, byte [0x14012d064]
jmp 0x14001e977
xor ecx, ecx
call fcn.140022620
movzx ecx, al
mov dword [rsp + 0x28], 0xffc3d44f
and cl, 0xc4
mov byte [rsp + 0x20], 1
or cl, 4
xor r9d, r9d
xor r8d, r8d
movzx edx, al
call fcn.140021db0
movzx eax, word [rbp + 0x60]
lea rbx, [rbp + 0x60]
cmp ax, 0x30
jb 0x14001e9e3
nop dword [rax]
cmp ax, 0x39
ja 0x14001e9e3
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
lea edx, [rax + 0x30]
mov byte [rsp + 0x20], r8b
xor r9d, r9d
lea ecx, [r8 + 2]
call fcn.14001fa80
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x30
jae 0x14001e9b0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
call fcn.14001fa80
cmp dword [0x14012d170], 2
mov rax, qword [0x1401241d8]
jne 0x14001ea28
mov ecx, dword [rax + 0x9c]
call fcn.140021880
mov r14, qword [rbp + 0x50]
xor r15b, r15b
jmp 0x14001eeeb
mov ecx, dword [rax + 0x98]
call fcn.140021880
mov r14, qword [rbp + 0x50]
xor r15b, r15b
jmp 0x14001eeeb
xor r8d, r8d
movzx edx, si
movzx ecx, dil
call fcn.1400228c0
mov r14, qword [rbp + 0x958]
movzx ebx, al
test al, al
je 0x14001eb92
test r14, r14
jne 0x14001eb92
test r15d, r15d
jne 0x14001eac1
mov eax, dword [rbp + 0x1c]
mov byte [rbp + 4], dil
cmp eax, 1
jne 0x14001ea9b
movzx r12d, byte [rbp + 0x940]
or byte [0x14012c66e], bl
or r12b, bl
mov byte [rbp + 0x940], r12b
mov byte [rbp], r12b
jmp 0x14001eb9a
cmp eax, 2
jne 0x14001eaa6
or byte [0x14012c66f], bl
movzx r12d, byte [rbp + 0x940]
or r12b, bl
mov byte [rbp + 0x940], r12b
mov byte [rbp], r12b
jmp 0x14001eb9a
cmp r15d, 1
jne 0x14001eb92
cmp dword [0x14012d0a8], 0
jne 0x14001eb4b
cmp byte [0x14012c66d], dil
je 0x14001eb4b
cmp byte [0x14012d0ac], 0
jne 0x14001eb4b
movzx ecx, byte [0x14012c66c]
lea eax, [rdi - 0x5b]
cmp al, r15b
ja 0x14001eb06
lea eax, [rcx - 0x5b]
cmp al, r15b
ja 0x14001eb06
cmp dword [0x14012d170], 2
jne 0x14001eb23
cmp dil, 0xa4
je 0x14001eb1b
cmp dil, 0xa5
jne 0x14001eb4b
cmp dword [0x14012d158], 3
je 0x14001eb4b
add cl, 0x5c
cmp cl, 1
ja 0x14001eb4b
movzx r8d, word [0x140124b94]
xor r9d, r9d
movzx edx, byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 0
lea ecx, [r9 + 2]
call fcn.14001fa80
movzx r12d, byte [rbp + 0x940]
movzx eax, bl
not al
and byte [0x14012c66e], al
and r12b, al
and byte [0x14012c66f], al
mov byte [rbp + 0x940], r12b
mov byte [rbp], r12b
cmp dil, 0xa5
jne 0x14001eb9a
cmp dword [0x14012d158], 3
jne 0x14001eb9a
and r12b, 0xfe
mov byte [rbp + 0x940], r12b
mov byte [rbp], r12b
jmp 0x14001eb9a
movzx r12d, byte [rbp + 0x940]
movzx r8d, byte [rbp + 1]
movzx r9d, r12b
mov byte [rsp + 0x50], 0
movzx edx, si
mov dword [rsp + 0x48], 0x80000000
movzx ecx, dil
mov dword [rsp + 0x40], 0x80000000
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
call fcn.14001f300
mov r14, qword [rbp + 0x50]
xor r15b, r15b
jmp 0x14001eeeb
movzx r12d, byte [rbp + 0x940]
jmp 0x14001eeef
cmp esi, 2
jne 0x14001ec4b
movzx ecx, word [r14]
sub ecx, 8
je 0x14001ec3f
sub ecx, 1
je 0x14001ec33
sub ecx, 1
je 0x14001ec27
cmp ecx, 3
je 0x14001ec19
mov byte [rbp + 2], 0
xor dil, dil
jmp 0x14001ed19
cmp word [r14 + 2], 0xa
lea rax, [r14 + 2]
cmove r14, rax
mov byte [rbp + 2], recv
mov dil, ntohs
jmp 0x14001ed19
mov byte [rbp + 2], 9
mov dil, 9
jmp 0x14001ed19
mov byte [rbp + 2], 8
mov dil, 8
jmp 0x14001ed19
movzx eax, r15b
or al, r13b
je 0x14001ec5d
test esi, esi
jne 0x14001ec5d
mov sil, 1
jmp 0x14001ec60
xor sil, sil
movzx ebx, word [r14]
cmp bx, 0xa
jne 0x14001ec72
mov dil, ntohs
jmp 0x14001ed15
mov rdx, qword [0x14012d150]
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdi, ax
mov rcx, rdi
shr rcx, 8
cmp cl, 0xff
jne 0x14001eccf
cmp dil, 0xff
jne 0x14001eccf
test sil, sil
je 0x14001ecd4
cmp bx, 0x5a
ja 0x14001ecbc
cmp bx, 0x41
jb 0x14001ecd4
movzx eax, bl
cmp bx, 0x5a
ja 0x14001ecca
cmp bx, 0x41
jb 0x14001ecca
mov cl, 1
jmp 0x14001eccc
lea eax, [rbx - 0x61]
cmp ax, 0x19
ja 0x14001ecd4
movzx eax, bl
and al, 0xdf
xor cl, cl
movzx edi, al
test cl, 0x38
je 0x14001ecd9
xor dil, dil
jmp 0x14001ed15
movzx eax, cl
and al, 6
cmp al, 6
jne 0x14001ece8
or r15b, 8
jmp 0x14001ed06
test cl, 2
je 0x14001ecf7
test r15b, 3
jne 0x14001ecf7
or r15b, 1
test cl, 4
je 0x14001ed06
test r15b, 0xc
jne 0x14001ed06
or r15b, 4
test cl, 1
je 0x14001ed15
test r15b, 0x30
jne 0x14001ed15
or r15b, 0x10
mov byte [rbp + 2], dil
test dil, dil
je 0x14001eeb0
or r15b, r13b
lea eax, [rdi - 1]
cmp al, 5
ja 0x14001ed32
cmp dil, 3
jne 0x14001ed39
lea eax, [rdi + 0x66]
cmp al, 5
ja 0x14001ed3e
mov sil, 1
jmp 0x14001ed41
xor sil, sil
cmp dword [0x14012d170], 0
jne 0x14001eda8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401241d8]
sub eax, dword [0x14012ce28]
cmp eax, dword [rcx + 0x88]
jbe 0x14001eda8
xor ebx, ebx
lea rcx, [rbp + 0x70]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001ed9c
lea edx, [rbx + 1]
mov dword [0x1401241d0], ebx
lea ecx, [rbx - 1]
call fcn.1400016f0
mov dword [0x1401241d0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012ce28], eax
mov rax, qword [0x1401241d8]
movzx ecx, byte [rax + 0xc5]
test cl, cl
je 0x14001edc3
mov ebx, 0xffc3d44d
sub ebx, ecx
jmp 0x14001edc8
mov ebx, 0xffc3d44f
cmp dword [0x14012d170], 0
je 0x14001edda
movzx eax, byte [0x14012d064]
jmp 0x14001ede1
xor ecx, ecx
call fcn.140022620
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8, r12
mov byte [rsp + 0x20], 1
movzx edx, al
movzx ecx, r15b
call fcn.140021db0
test sil, sil
je 0x14001ee3d
test r12, r12
jne 0x14001ee3d
mov rax, qword [0x1401241d8]
lea r9d, [r12 + 1]
mov byte [rsp + 0x30], r12b
mov edx, 0x80000000
mov dword [rsp + 0x28], 2
mov r8d, edx
movzx ecx, byte [rax + 0xc3]
mov dword [rsp + 0x20], ecx
movzx ecx, dil
call fcn.140020a80
jmp 0x14001ee6e
mov rax, qword [0x1401241d8]
xor r8d, r8d
mov r9, r12
movzx edx, dil
movzx ecx, byte [rax + 0xc5]
mov eax, 0xffc3d44d
sub eax, ecx
lea ecx, [r8 + 2]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], 1
call fcn.14001fa80
cmp dword [0x14012d170], 0
je 0x14001ee80
movzx eax, byte [0x14012d064]
jmp 0x14001ee87
xor ecx, ecx
call fcn.140022620
movzx edx, r13b
not dl
and dl, al
and dl, 0xcc
je 0x14001eee0
mov dword [rsp + 0x28], 0xffc3d44d
mov r9b, 1
mov r8, r12
mov byte [rsp + 0x20], 0
xor ecx, ecx
call fcn.140021db0
jmp 0x14001eee0
movzx ecx, word [r14]
test r12, r12
je 0x14001eecf
mov r8d, ecx
xor r9d, r9d
mov rcx, r12
mov edx, 0x102
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14001eee0
or r15b, r13b
mov edx, 1
movzx r8d, r15b
call fcn.14001f560
xor r15b, r15b
movzx r12d, byte [rbp + 0x940]
mov byte [rbp + 1], r15b
movzx eax, byte [rbp + 4]
lea rdi, [0x140000000]
add r14, 2
mov byte [0x14012c66d], al
cmp word [r14], 0
jne 0x14001dfd0
movzx esi, byte [rbp + 0xa]
mov edi, 0x5dc
jmp 0x14001ef22
movzx r12d, byte [rbp + 0x940]
cmp dword [0x14012d170], 0
je 0x14001efdb
cmp byte [0x14012d066], 0
mov ebx, 0xffffffff
mov dword [rbp + 0x940], ebx
jne 0x14001efa4
cmp dword [0x14012d15c], 0
jbe 0x14001efa4
cmp byte [0x14012d0ac], 0
je 0x14001ef5b
movzx ebx, byte [rbp + 5]
jmp 0x14001ef64
movzx ebx, byte [rbp + 6]
not bl
and bl, byte [rbp + 3]
or bl, byte [0x14012c66f]
mov r9b, 1
movzx edx, byte [0x14012d064]
or bl, r12b
movzx ecx, bl
mov dword [rsp + 0x28], 0xffc3d44d
xor r8d, r8d
mov byte [rsp + 0x20], 1
call fcn.140021db0
movzx edx, bl
lea rcx, [rbp + 0x940]
call fcn.1400216e0
mov ebx, dword [rbp + 0x940]
cmp dword [0x14012d170], 1
mov eax, 0x1f4
cmove edi, eax
cmp dword [0x14012d160], edi
jbe 0x14001efc7
mov rcx, qword [0x14012b008]
call fcn.1400c5338
xor edi, edi
mov ecx, ebx
mov dword [0x14012d170], edi
call fcn.140021880
jmp 0x14001f082
cmp qword [0x14012ae58], 0
je 0x14001eff2
movzx ecx, byte [0x14012ad77]
movzx edx, byte [rbp + 3]
jmp 0x14001f01e
cmp dword [0x140124b90], 0
jl 0x14001f017
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14012cdc4]
cmp eax, dword [0x140124b90]
jb 0x14001f017
movzx edx, byte [rbp + 3]
xor cl, cl
jmp 0x14001f01e
movzx edx, byte [rbp + 3]
movzx ecx, dl
or cl, byte [0x14012c66f]
cmp byte [0x14012d0ac], 0
je 0x14001f046
or r12b, byte [rbp + 5]
movzx eax, cl
xor al, dl
movzx ebx, al
and al, cl
and bl, dl
not bl
and bl, r12b
or bl, al
jmp 0x14001f051
movzx ebx, byte [rbp + 6]
not bl
and bl, cl
or bl, r12b
xor ecx, ecx
call fcn.140022620
or al, byte [0x14012ad76]
mov r9b, 1
mov r8, qword [rbp + 0x958]
movzx edx, al
mov dword [rsp + 0x28], 0xffc3d44d
movzx ecx, bl
mov byte [rsp + 0x20], 1
call fcn.140021db0
xor edi, edi
cmp qword [0x14012ae58], 0
je 0x14001f0a8
movzx ecx, byte [0x14012ad78]
movzx eax, cl
xor al, byte [0x14012ad79]
and al, cl
not al
and cl, al
mov byte [0x14012ad78], cl
cmp dword [rbp + 0x20], 1
jne 0x14001f147
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
jne 0x14001f147
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001f0f3
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayLock
lea ecx, [r8 + 1]
call fcn.14001fa80
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayLock
lea ecx, [r8 + 2]
call fcn.14001fa80
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x14012c648]
jne 0x14001f147
mov edx, 1
mov dword [0x1401241d0], edi
lea ecx, [rdx - 2]
call fcn.1400016f0
mov dword [0x1401241d0], 1
cmp byte [rbp + 8], 0
je 0x14001f15f
mov edx, dword [rbp + 0x24]
xor r8d, r8d
mov ecx, dword [0x14012c648]
call qword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [rbp + 9], 0
je 0x14001f179
test sil, sil
jne 0x14001f179
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
mov byte [0x14012ab3e], sil
mov eax, dword [rbp + 0x950]
test eax, eax
jne 0x14001f213
mov eax, dword [rbp + 0x40]
cmp dword [0x14012ce28], eax
je 0x14001f24e
cmp dword [0x1401241d0], 0
je 0x14001f24e
cmp dword [0x14012ab2c], 0
jne 0x14001f24e
cmp dword [0x14012ab58], 0
je 0x14001f204
mov rcx, qword [0x1401241d8]
cmp byte [rcx + 0x7f], 0
jne 0x14001f204
cmp dword [rcx + 0x70], 0xffffffff
jle 0x14001f1fe
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1401241d8]
sub eax, dword [rcx + 0x74]
cmp eax, dword [rcx + 0x70]
jb 0x14001f1fe
cmp dword [rcx + 0x6c], 0
je 0x14001f1fe
cmp byte [rcx + 0xc2], 0
mov byte [rcx + 0x7f], 1
jne 0x14001f1fe
mov dword [rcx + 0x88], 5
cmp byte [rcx + 0x7f], 0
je 0x14001f24e
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400016f0
jmp 0x14001f24e
cmp eax, 1
jne 0x14001f24e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x14012c648]
jne 0x14001f24e
mov edx, 1
mov dword [0x1401241d0], edi
lea ecx, [rdx - 2]
call fcn.1400016f0
mov dword [0x1401241d0], 1
mov rax, qword [rbp + 0x38]
mov ecx, dword [rbp + 0x44]
mov dword [rax + 0x98], ecx
mov ecx, dword [rbp + 0x48]
mov dword [rax + 0xa0], ecx
lea rsp, [rbp + 0x8f8]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret