Function at 0x140014400
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, 0x108
lea rbp, [rsp + 0x60]
mov r13, qword [0x140169c00]
mov r14, r9
mov esi, r8d
mov r12d, edx
mov rdi, rcx
mov qword [rbp + 0x48], r13
test edx, edx
jne 0x140014462
lea r8d, [rdx + 7]
lea rdx, str.Blind
call fcn.140108e4c
test eax, eax
jne 0x140014462
mov byte [0x14016e6a3], 1
add rdi, 0xe
jmp 0x14001446e
mov byte [0x14016e6a3], 0
test r12d, r12d
jne 0x140014498
lea rdx, [0x14012f050]
mov r8d, 6
mov rcx, rdi
call fcn.140108e4c
test eax, eax
jne 0x140014498
mov r12d, 2
add rdi, 0xc
mov dword [rbp + 0xf8], r12d
mov eax, dword [r13 + 0x7c]
xor r15d, r15d
mov dword [rbp + 0x1c], eax
mov eax, dword [r13 + 0x84]
mov dword [rbp + 0x24], eax
cmp esi, 1
je 0x1400144b6
cmp esi, 3
jne 0x140014530
call fcn.14000b090
test al, al
jne 0x1400144ee
test r12d, r12d
jne 0x1400144e1
call fcn.14000b110
test al, al
je 0x1400144e1
lea rdx, str.Click
mov rcx, rdi
call fcn.1400e6540
test rax, rax
jne 0x1400144ee
mov esi, 1
mov dword [rbp + 0x100], esi
jmp 0x140014530
cmp esi, 3
jne 0x140014500
mov esi, 2
mov dword [rbp + 0x100], esi
jmp 0x140014530
mov esi, r15d
mov dword [rbp + 0x100], r15d
cmp dword [r13 + 0x7c], r15d
jge 0x14001451e
cmp dword [r13 + 0x84], r15d
jge 0x14001451e
or eax, 0xffffffff
jmp 0x140014521
mov eax, r15d
mov dword [r13 + 0x84], eax
mov dword [r13 + 0x7c], 0xffffffff
mov byte [rbp + 7], r15b
mov ebx, r15d
test r14, r14
je 0x140014594
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r15d, eax
mov dword [rbp + 0x34], eax
test eax, eax
je 0x1400146b8
cmp eax, dword [0x1401712b8]
je 0x1400146b8
mov rcx, r14
call fcn.1400ecaa0
test al, al
jne 0x1400146b8
mov ecx, dword [0x1401712b8]
mov r8d, 1
mov edx, r15d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, r15d
test eax, eax
setne byte [rbp + 7]
jmp 0x1400146b8
test byte [0x140171e5e], 0xc0
je 0x14001469f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140171e54]
cmp eax, 0x32
jae 0x14001469f
cmp esi, 2
je 0x14001469f
cmp byte [0x14016e6a3], bl
jne 0x14001469f
cmp r12d, 2
je 0x14001469f
cmp byte [0x1401720c3], bl
je 0x14001469f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x1401712b8]
jne 0x14001469f
lea rdx, [0x14012f758]
mov rcx, rdi
call fcn.14000b9d0
test r12d, r12d
je 0x140014662
test rax, rax
setne al
test al, al
je 0x14001469f
mov ebx, 0x8000
nop word [rax + rax]
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
jne 0x140014640
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x14001469f
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140169afc], r15d
call fcn.140001760
mov dword [0x140169afc], 1
jmp 0x140014620
test rax, rax
je 0x14001469f
nop word [rax + rax]
lea rcx, [rax + 2]
lea rdx, [0x14012f760]
call fcn.14000b9d0
test rax, rax
je 0x140014615
cmp word [rax], 0x7b
je 0x140014615
lea rdx, [0x14012f758]
mov rcx, rax
call fcn.14000b9d0
test rax, rax
jne 0x140014670
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
call fcn.140019670
mov ebx, eax
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0x34], eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
mov rcx, rax
mov qword [0x14016e6d0], rax
call fcn.1400198c0
mov cl, 1
mov dword [0x14016e6c8], eax
call fcn.140019140
and byte [0x14017045b], al
cmp qword [0x14016f9b0], 0
movzx ebx, al
je 0x14001470d
movzx eax, byte [0x14016f85d]
movzx edx, byte [0x14016f85f]
movzx ecx, al
not al
and cl, dl
and al, dl
mov byte [rbp + 6], al
jmp 0x140014735
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140171e54]
cmp eax, dword [0x140169a64]
jae 0x14001472c
movzx edx, byte [0x140171e5e]
and dl, bl
jmp 0x14001472e
xor dl, dl
movzx ecx, dl
mov byte [rbp + 6], 0
movzx r15d, byte [0x14017045a]
not cl
mov byte [rbp + 3], dl
and cl, bl
and r15b, cl
cmp byte [0x14016e6a3], 0
mov byte [rbp + 0xf0], r15b
mov byte [0x14017045a], r15b
je 0x140014777
not r15b
mov byte [rbp + 0xf0], bl
mov byte [rbp + 2], bl
and r15b, bl
mov byte [rbp + 4], r15b
movzx r15d, bl
jmp 0x140014780
xor al, al
mov byte [rbp + 2], r15b
mov byte [rbp + 4], al
cmp byte [r13 + 0x133], 0
je 0x1400147a7
cmp byte [0x14016e6a3], 0
jne 0x1400147a7
cmp r12d, 2
je 0x1400147a7
mov edx, 2
mov cl, reloc.OLEAUT32.dll_SafeArrayLock
call fcn.1400187a0
jmp 0x1400147a9
xor eax, eax
mov dword [rbp + 0x28], eax
mov dword [0x140170484], esi
mov eax, 0x1f4
test esi, esi
je 0x140014843
cmp esi, 1
jne 0x1400147d1
mov ecx, 0x4e20
mov dword [0x14016e6b8], eax
jmp 0x1400147e0
mov ecx, 0x2ee0
mov dword [0x14016e6b8], 0x5dc
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400147f3
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401110b0
sub rsp, rax
mov byte [0x14016e6ab], bl
xor ebx, ebx
lea rax, [rsp + 0x60]
mov dword [0x14016e6b0], 0x80000000
mov dword [0x14016e6b4], 0x80000000
mov byte [0x14016e6aa], 0
mov byte [0x14016e6a8], 1
mov qword [0x14016e6c0], rax
mov dword [0x14016e6bc], ebx
mov byte [0x14016e6a9], bl
jmp 0x140014845
xor ebx, ebx
movzx eax, byte [0x1401703ce]
mov byte [rbp + 0x10], al
mov eax, dword [reloc.WSOCK32.dll_inet_ntoa]
cmp eax, 8
je 0x14001485f
cmp eax, 0xa
jne 0x14001487e
test esi, esi
jne 0x14001487e
test r14, r14
jne 0x14001487e
lea ecx, [rsi + 1]
mov byte [rbp + 8], 1
call qword [sym.imp.USER32.dll_BlockInput]
mov byte [0x1401703ce], 1
jmp 0x140014882
mov byte [rbp + 8], 0
xor sil, sil
cmp word [rdi], 0
mov byte [rbp], sil
je 0x14001552e
lea r13, sym.MZ_b_4ix__UH3tlIju_n3bu_bRSDz8e8_6O__LTLn_u_28Wnitpw
jmp 0x1400148a2
xor ebx, ebx
cmp dword [0x140170484], 0
mov byte [rbp + 5], 0
jne 0x14001490d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140169c00]
sub eax, dword [0x140171eac]
cmp eax, dword [rcx + 0x118]
jbe 0x14001490d
lea rcx, [rbp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140014901
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140169afc], ebx
call fcn.140001760
mov dword [0x140169afc], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140171eac], eax
test r12d, r12d
jne 0x140015402
movzx edx, word [rdi]
lea rcx, [0x14012f768]
call fcn.140109434
test rax, rax
je 0x140015466
movzx eax, word [rdi]
add eax, 0xffffffdf
cmp eax, 0x5c
ja case.0x140014953.38
cdqe
movzx eax, byte [r13 + rax + 0x15934]
mov ecx, dword [r13 + rax*4 + 0x15918]
add rcx, r13
jmp rcx
test r15b, 3
jne case.0x140014953.38
or sil, 1
jmp 0x140015500
test r15b, 0x30
jne case.0x140014953.38
or sil, 0x10
jmp 0x140015500
test r15b, 0xc
jne case.0x140014953.38
or sil, 4
jmp 0x140015500
test r15b, 0xc0
jne case.0x140014953.38
or sil, 0x40
jmp 0x140015500
lea rbx, [rdi + 2]
mov edx, 0x7d
mov rcx, rbx
call fcn.140109434
mov r12, rax
mov qword [rbp + 0x40], rax
test rax, rax
je case.0x140014953.38
mov rdi, rbx
movzx ecx, word [rdi]
cmp cx, 0x20
je 0x1400149d4
cmp cx, 9
jne 0x1400149da
add rdi, 2
jmp 0x1400149c5
mov r13, rax
sub r13, rdi
sar r13, 1
jne 0x140014a91
lea rbx, [rax + 2]
movzx eax, word [rax + 2]
cmp ax, 0x7d
jne 0x140014a09
mov r12, rbx
mov qword [rbp + 0x40], rbx
mov r13d, 1
jmp 0x140014a91
cmp ax, 0x20
je 0x140014a20
cmp ax, 9
jne 0x140014e39
nop dword [rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140014a2f
cmp ax, 9
jne 0x140014a35
add rbx, 2
jmp 0x140014a20
lea rdx, str.Down
mov r8d, 4
mov rcx, rbx
call fcn.140108e4c
test eax, eax
je 0x140014a6b
lea rdx, [0x14012ed98]
mov r8d, 2
mov rcx, rbx
call fcn.140108e4c
test eax, eax
jne 0x140014e39
mov edx, 0x7d
mov rcx, rbx
call fcn.140109434
mov r12, rax
mov qword [rbp + 0x40], rax
test rax, rax
je case.0x140014953.38
mov r13, rax
sub r13, rdi
sar r13, 1
lea rdx, [0x14012f6b0]
mov r8d, 5
mov rcx, rdi
call fcn.140108e4c
test eax, eax
jne 0x140014b94
xor ebx, ebx
lea rcx, [rdi + 0xa]
mov word [r12], bx
nop dword [rax]
movzx eax, word [rcx]
cmp ax, 0x20
je 0x140014acf
cmp ax, 9
jne 0x140014ad5
add rcx, 2
jmp 0x140014ac0
lea rax, [rbp + 9]
lea r9, [rbp + 1]
lea r8, [rbp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x14]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc]
mov qword [rsp + 0x20], rax
call fcn.140016b00
mov ecx, dword [rbp + 0x14]
mov eax, 0x7d
mov word [r12], ax
cmp ecx, 1
jge 0x140014b4e
cmp dword [rbp + 0x18], 0x80000000
je 0x140014e39
mov rax, qword [rbp + 0x48]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x2c]
movzx r9d, byte [rax + 0x12f]
movzx eax, byte [rbp + 9]
lea rcx, [rbp + 0x18]
mov byte [rsp + 0x20], al
call fcn.140017a40
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
movzx eax, byte [rbp + 9]
xor edx, edx
movzx r9d, r15b
mov byte [rsp + 0x50], al
mov eax, dword [rbp + 0x2c]
movzx r8d, sil
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xc]
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x30], dl
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
movzx ecx, byte [rbp + 1]
call fcn.1400159a0
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
lea rdx, [0x14012f788]
mov r8d, 3
mov rcx, rdi
call fcn.140108e4c
test eax, eax
jne 0x140014bc1
mov rdi, qword [rbp + 0x40]
mov eax, 1
mov dword [rbp + 0xf8], eax
jmp 0x1400154fd
lea rdx, str.Text
mov r8d, 4
mov rcx, rdi
call fcn.140108e4c
test eax, eax
jne 0x140014c12
lea rcx, [rdi + 8]
nop
movzx eax, word [rcx]
cmp ax, 0x20
je 0x140014bef
cmp ax, 9
jne 0x140014bf5
add rcx, 2
jmp 0x140014be0
cmp rcx, r12
jne 0x140014e39
mov rdi, qword [rbp + 0x40]
mov eax, 2
mov dword [rbp + 0xf8], eax
jmp 0x1400154fd
mov eax, 1
lea rdx, [0x14012ed90]
xor esi, esi
mov rcx, rdi
mov dword [rbp + 0xc], 2
mov r15, r13
mov dword [rbp + 0x14], eax
mov word [r12], si
call fcn.14000b9d0
mov r14, rax
test rax, rax
je 0x140014cff
movzx eax, word [rax]
mov r15, r14
lea rbx, [r14 + 2]
sub r15, rdi
mov word [r14], si
mov word [rbp + 0x20], ax
sar r15, 1
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140014c6f
cmp ax, 9
jne 0x140014c75
add rbx, 2
jmp 0x140014c60
mov rax, r12
sub rax, rbx
sar rax, 1
test eax, eax
je 0x140014cff
lea rdx, str.Down
mov r8d, 4
mov rcx, rbx
call fcn.140108e4c
test eax, eax
jne 0x140014cd8
lea r8d, [rax + 4]
lea rdx, str.Temp
lea rcx, [rbx + 8]
mov dword [rbp + 0xc], esi
call fcn.140108e4c
test eax, eax
jne 0x140014cbb
mov dword [rbp + 0x30], esi
jmp 0x140014cff
cmp word [rbx + 8], 0x52
mov ecx, esi
sete cl
call fcn.14010a054
mov ebx, esi
test eax, eax
setne bl
inc ebx
mov dword [rbp + 0x30], ebx
jmp 0x140014cff
lea rdx, [0x14012ed98]
mov rcx, rbx
call fcn.140108424
test eax, eax
jne 0x140014cf4
mov dword [rbp + 0xc], 1
jmp 0x140014cff
mov rcx, rbx
call fcn.140013ce0
mov dword [rbp + 0x14], eax
mov r9, qword [0x14016e6d0]
lea rdx, [rbp]
mov r8b, 1
mov rcx, rdi
call fcn.140019df0
movzx esi, al
mov byte [rbp + 1], al
test al, al
je 0x140014d2a
xor ebx, ebx
movzx r12d, bx
jmp 0x140014dac
mov rcx, rdi
call fcn.140019cf0
movzx r12d, ax
test ax, ax
jne 0x140014daa
lea rdx, [0x14012ee0c]
mov r8d, 2
mov rcx, rdi
call fcn.140108e4c
test eax, eax
jne 0x140014daa
lea rcx, [rdi + 4]
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0x38]
call fcn.140109ef8
mov rcx, qword [rbp + 0x38]
lea rdx, [0x14012f920]
mov r8d, 2
mov ebx, eax
call fcn.140108e4c
test eax, eax
jne 0x140014daa
mov rcx, qword [rbp + 0x38]
lea r8d, [rax + 0x10]
lea rdx, [rbp + 0x38]
add rcx, 4
call fcn.140109ef8
mov rcx, qword [rbp + 0x38]
cmp word [rcx], r12w
jne 0x140014daa
movzx esi, bl
mov byte [rbp + 1], bl
movzx r12d, ax
xor ebx, ebx
test r14, r14
je 0x140014db9
movzx eax, word [rbp + 0x20]
mov word [r14], ax
mov rax, qword [rbp + 0x40]
mov r14d, dword [rbp + 0x14]
mov ecx, 0x7d
mov word [rax], cx
cmp r14d, 1
jl 0x140014e2a
test sil, sil
jne 0x1400152cb
test r12w, r12w
jne 0x1400152cb
cmp r15, 1
jne 0x140014e6d
cmp dword [rbp + 0xc], r15d
je 0x140014e2a
mov r13, qword [rbp + 0x108]
test r13, r13
je 0x140014e42
test r14d, r14d
jle 0x140014e2a
mov ebx, r14d
nop word [rax + rax]
movzx r8d, word [rdi]
xor r9d, r9d
mov edx, 0x102
mov rcx, r13
call qword [sym.imp.USER32.dll_PostMessageW]
dec rbx
jne 0x140014e10
movzx r15d, byte [rbp + 0xf0]
mov r14, qword [rbp + 0x108]
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
movzx r8d, byte [rbp]
movzx r15d, byte [rbp + 0xf0]
movzx ecx, word [rdi]
or r8b, r15b
mov edx, r14d
call fcn.140015e80
mov r14, qword [rbp + 0x108]
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
cmp qword [rbp + 0x108], 0
lea r9, [rbp + 2]
lea r8, [rbp + 0xc]
sete al
mov rdx, r13
mov rcx, rdi
mov byte [rsp + 0x20], al
call fcn.14001a130
movzx esi, al
mov byte [rbp + 1], al
test al, al
je 0x1400150e9
mov r13, qword [rbp + 0x108]
mov r12d, dword [rbp + 0xc]
test r13, r13
jne 0x140014ec0
test r12d, r12d
jne 0x140014eb7
mov byte [rbp + 5], al
jmp 0x140014ec0
movzx ecx, sil
call fcn.140013f90
cmp dword [0x140170484], 0
je 0x140014ed5
movzx ebx, byte [0x14016e6ab]
jmp 0x140014ffb
cmp qword [0x14016f9b0], 0
je 0x140014eeb
movzx ebx, byte [0x14016f85d]
jmp 0x140014ffb
mov ecx, 0xa0
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
movzx ebx, bl
test di, ax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f1e
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f31
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f44
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f57
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f6a
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f7d
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140014f90
or bl, 0x80
cmp qword [0x14016f9b0], 0
je 0x140014ffb
movzx ecx, byte [0x14016f85d]
movzx edi, bl
not dil
and dil, cl
je 0x140014ffb
movzx edx, byte [0x14016f85f]
movzx eax, dil
not al
and byte [0x14016f85e], al
and cl, al
and dl, al
mov byte [0x14016f85d], cl
lea rcx, [0x14016f8b0]
mov byte [0x14016f85f], dl
call fcn.140019290
mov rcx, qword [0x14016e698]
test rcx, rcx
je 0x140014ffb
test byte [rcx + 0xc], dil
mov eax, 0
cmovne rcx, rax
mov qword [0x14016e698], rcx
movzx r15d, byte [rbp + 2]
xor r9d, r9d
mov r8, r13
movzx edx, bl
movzx ecx, r15b
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 0
mov byte [rbp + 0xf0], r15b
call fcn.1400188f0
test r14d, r14d
jle 0x140014e32
mov rbx, r14
xor r15d, r15d
nop word [rax + rax]
xor r8d, r8d
mov r9, r13
movzx edx, sil
mov ecx, r12d
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 1
call fcn.140016430
cmp dword [0x140170484], r15d
jne 0x1400150c8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140169c00]
sub eax, dword [0x140171eac]
cmp eax, dword [rcx + 0x118]
jbe 0x1400150c8
lea rcx, [rbp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400150bc
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140169afc], r15d
call fcn.140001760
mov dword [0x140169afc], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140171eac], eax
dec rbx
jne 0x140015040
movzx r15d, byte [rbp + 0xf0]
mov r14, qword [rbp + 0x108]
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
cmp r13, 4
jbe 0x140015187
lea rdx, str.ASC
mov r8d, 4
mov rcx, rdi
call fcn.140108e4c
mov r14, qword [rbp + 0x108]
test eax, eax
jne 0x14001518e
test r14, r14
jne 0x14001518e
lea rcx, [rdi + 6]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, 0x20
je 0x14001512f
cmp ax, 9
jne 0x140015135
add rcx, 2
jmp 0x140015120
call fcn.140015fc0
cmp dword [0x140170484], 2
mov rax, qword [0x140169c00]
jne 0x14001516a
mov ecx, dword [rax + 0x80]
call fcn.140018430
movzx r15d, byte [rbp + 2]
mov rdi, qword [rbp + 0x40]
mov byte [rbp + 0xf0], r15b
jmp 0x1400154fd
mov ecx, dword [rax + 0x7c]
call fcn.140018430
movzx r15d, byte [rbp + 2]
mov rdi, qword [rbp + 0x40]
mov byte [rbp + 0xf0], r15b
jmp 0x1400154fd
mov r14, qword [rbp + 0x108]
cmp r13, 2
jbe 0x140015172
lea rdx, [0x14012f7ac]
mov r8d, 2
mov rcx, rdi
call fcn.140108e4c
test eax, eax
jne 0x140015172
lea rcx, [rdi + 4]
lea r8d, [rax + 0x10]
xor edx, edx
call fcn.140109ef0
cmp eax, 0x10000
jb 0x1400151ef
add eax, 0xffff0000
mov edx, 0x3ff
mov r8d, 0x2800
mov ecx, eax
movzx ebx, ax
shr ecx, 0xa
and bx, dx
and cx, dx
mov edx, 0x2400
sub cx, r8w
sub bx, dx
jmp 0x1400151f2
movzx ecx, ax
mov r13, qword [rbp + 0x108]
movzx r15d, byte [rbp + 2]
mov byte [rbp + 0xf0], r15b
test r13, r13
je 0x14001523b
movzx r8d, cx
xor r9d, r9d
mov edx, 0x102
mov rcx, r13
call qword [sym.imp.USER32.dll_PostMessageW]
test bx, bx
je 0x140015288
movzx r8d, bx
xor r9d, r9d
mov edx, 0x102
mov rcx, r13
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140015288
cmp dword [0x140170484], 2
je 0x140015267
movzx edi, byte [rbp]
or dil, r15b
movzx edx, dil
call fcn.140014020
test bx, bx
je 0x140015288
movzx edx, dil
movzx ecx, bx
call fcn.140014020
jmp 0x140015288
mov ecx, gethostbyname
lea rdx, [rbp + 0x5a]
lea r8d, [rcx - 0x26]
mov word [rbp + 0x58], cx
mov ecx, eax
call fcn.140108150
lea rcx, [rbp + 0x58]
call fcn.140015fc0
cmp dword [0x140170484], 2
mov rax, qword [0x140169c00]
jne 0x1400152b3
mov ecx, dword [rax + 0x80]
call fcn.140018430
mov r14, qword [rbp + 0x108]
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
mov ecx, dword [rax + 0x7c]
call fcn.140018430
mov r14, qword [rbp + 0x108]
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
xor r8d, r8d
movzx edx, r12w
movzx ecx, sil
call fcn.140019370
mov rdi, qword [rbp + 0x108]
mov r13d, dword [rbp + 0xc]
movzx ebx, al
test al, al
je 0x1400153ac
test rdi, rdi
jne 0x1400153ac
test r13d, r13d
jne 0x14001534f
mov eax, dword [rbp + 0x30]
mov byte [rbp + 5], sil
cmp eax, 1
jne 0x14001532c
movzx r15d, byte [rbp + 0xf0]
or byte [0x14017045a], bl
or r15b, bl
mov byte [rbp + 0xf0], r15b
mov byte [rbp + 2], r15b
jmp 0x1400153b4
cmp eax, 2
jne 0x140015337
or byte [0x14017045b], bl
movzx r15d, byte [rbp + 0xf0]
or r15b, bl
mov byte [rbp + 0xf0], r15b
mov byte [rbp + 2], r15b
jmp 0x1400153b4
cmp r13d, 1
jne 0x1400153ac
movzx ecx, sil
call fcn.140013f90
movzx r15d, byte [0x14017045a]
movzx eax, byte [rbp + 4]
movzx r11d, bl
not r11b
and byte [0x14017045b], r11b
and r15b, r11b
and al, r11b
mov byte [0x14017045a], r15b
mov byte [rbp + 4], al
cmp sil, 0xa5
jne 0x14001539c
cmp dword [0x14016e6c8], 3
jne 0x14001539c
and al, 0xfe
mov byte [rbp + 4], al
or r15b, al
mov byte [rbp + 0xf0], r15b
mov byte [rbp + 2], r15b
jmp 0x1400153b4
movzx r15d, byte [rbp + 0xf0]
movzx r8d, byte [rbp]
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x48], 0x80000000
mov dword [rsp + 0x40], 0x80000000
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x30], bl
movzx r9d, r15b
movzx edx, r12w
movzx ecx, sil
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r14d
call fcn.1400159a0
mov r14, qword [rbp + 0x108]
mov rdi, qword [rbp + 0x40]
jmp 0x1400154fd
cmp r12d, 2
jne 0x140015466
movzx ecx, word [rdi]
sub ecx, 8
je 0x14001545f
dec ecx
je 0x140015458
dec ecx
je 0x140015451
sub ecx, 3
je 0x140015444
mov byte [rbp + 1], 0
test r14, r14
je 0x1400154e9
movzx r8d, word [rdi]
xor r9d, r9d
mov edx, 0x102
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400154fd
cmp word [rdi + 2], 0xa
lea rax, [rdi + 2]
cmove rdi, rax
mov al, 0xd
mov byte [rbp + 1], al
jmp 0x1400154a8
mov al, 9
mov byte [rbp + 1], al
jmp 0x1400154a8
mov al, 8
mov byte [rbp + 1], al
jmp 0x1400154a8
movzx eax, sil
or al, r15b
je 0x140015479
test r12d, r12d
jne 0x140015479
mov r9b, 1
jmp 0x14001547c
xor r9b, r9b
movzx ecx, word [rdi]
cmp cx, 0xa
jne 0x140015489
mov al, 0xd
jmp 0x14001549d
mov r8, qword [0x14016e6d0]
lea rdx, [rbp]
call fcn.140019f60
movzx esi, byte [rbp]
mov byte [rbp + 1], al
test al, al
je 0x140015421
xor edx, edx
movzx r9d, r15b
movzx r8d, sil
mov byte [rsp + 0x50], dl
mov dword [rsp + 0x48], 0x80000000
mov dword [rsp + 0x40], 0x80000000
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x30], dl
movzx ecx, al
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 1
call fcn.1400159a0
jmp 0x1400154fd
movzx ecx, word [rdi]
or sil, r15b
mov edx, 1
movzx r8d, sil
call fcn.140015e80
xor sil, sil
mov byte [rbp], sil
movzx eax, byte [rbp + 5]
mov r12d, dword [rbp + 0xf8]
add rdi, 2
cmp word [rdi], 0
lea r13, sym.MZ_b_4ix__UH3tlIju_n3bu_bRSDz8e8_6O__LTLn_u_28Wnitpw
mov byte [0x140170443], al
jne 0x1400148a0
mov r13, qword [rbp + 0x48]
cmp dword [0x140170484], 0
je 0x1400155ed
or ebx, 0xffffffff
cmp byte [0x14016e6a9], 0
mov dword [rbp + 0xf8], ebx
jne 0x1400155b1
cmp dword [0x14016e6bc], 0
jbe 0x1400155b1
cmp byte [0x14016e6a3], 0
je 0x140015565
xor eax, eax
mov ebx, eax
jmp 0x140015571
movzx ebx, byte [rbp + 6]
movzx edx, byte [rbp + 3]
not ebx
and ebx, edx
or bl, byte [0x14017045b]
movzx edx, byte [0x14016e6ab]
mov r9b, 1
or bl, r15b
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
movzx ecx, bl
mov byte [rsp + 0x20], 1
call fcn.1400188f0
lea rcx, [rbp + 0xf8]
movzx edx, bl
call fcn.1400180c0
mov ebx, dword [rbp + 0xf8]
cmp dword [0x140170484], 1
mov eax, 0x5dc
mov ecx, 0x1f4
cmove eax, ecx
cmp dword [0x14016e6b8], eax
jbe 0x1400155d9
mov rcx, qword [0x14016e6c0]
call fcn.140108f48
xor edi, edi
mov ecx, ebx
mov dword [0x140170484], edi
call fcn.140018430
jmp 0x1400157b4
cmp qword [0x14016f9b0], 0
je 0x140015604
movzx ecx, byte [0x14016f85f]
movzx edx, byte [rbp + 3]
jmp 0x140015630
cmp dword [0x140169a64], 0
jl 0x140015629
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140171e54]
cmp eax, dword [0x140169a64]
jb 0x140015629
movzx edx, byte [rbp + 3]
xor cl, cl
jmp 0x140015630
movzx edx, byte [rbp + 3]
movzx ecx, dl
or cl, byte [0x14017045b]
cmp byte [0x14016e6a3], 0
je 0x140015657
movzx eax, cl
xor al, dl
movzx esi, al
and al, cl
and sil, dl
not sil
and sil, r15b
or sil, al
jmp 0x140015664
movzx esi, byte [rbp + 6]
not sil
and sil, cl
or sil, r15b
cmp qword [0x14016f9b0], 0
je 0x14001567a
movzx ebx, byte [0x14016f85d]
jmp 0x14001578d
mov ecx, 0xa0
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
movzx ebx, bl
test di, ax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x1400156ad
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x1400156c0
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x1400156d3
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x1400156e6
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x1400156f9
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x14001570c
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x14001571f
or bl, 0x80
cmp qword [0x14016f9b0], 0
je 0x14001578d
movzx r8d, byte [0x14016f85d]
movzx edi, bl
not dil
and dil, r8b
je 0x14001578d
movzx edx, byte [0x14016f85f]
movzx eax, dil
lea rcx, [0x14016f8b0]
not al
and byte [0x14016f85e], al
and dl, al
and r8b, al
mov byte [0x14016f85f], dl
mov byte [0x14016f85d], r8b
call fcn.140019290
mov r11, qword [0x14016e698]
test r11, r11
je 0x14001578d
test byte [r11 + 0xc], dil
mov eax, 0
cmovne r11, rax
mov qword [0x14016e698], r11
or bl, byte [0x14016f8a0]
mov r9b, 1
mov r8, r14
movzx ecx, sil
movzx edx, bl
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 1
call fcn.1400188f0
xor edi, edi
cmp qword [0x14016f9b0], 0
je 0x1400157da
movzx ecx, byte [0x14016f85e]
movzx eax, cl
xor al, byte [0x14016f85d]
and al, cl
not al
and cl, al
mov byte [0x14016f85e], cl
cmp dword [rbp + 0x28], 1
jne 0x14001587e
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
jne 0x14001587e
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001582a
xor r8d, r8d
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayLock
lea ecx, [r8 + 1]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140016430
xor r8d, r8d
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayLock
lea ecx, [r8 + 2]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140016430
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401712b8]
jne 0x14001587e
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140169afc], edi
call fcn.140001760
mov dword [0x140169afc], 1
cmp byte [rbp + 7], 0
je 0x140015896
mov edx, dword [rbp + 0x34]
mov ecx, dword [0x1401712b8]
xor r8d, r8d
call qword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [rbp + 8], 0
je 0x1400158b1
cmp byte [rbp + 0x10], 0
jne 0x1400158b1
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
mov byte [0x1401703ce], 0
cmp dword [rbp + 0x100], 1
jne 0x1400158f0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401712b8]
jne 0x1400158f0
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140169afc], edi
call fcn.140001760
mov dword [0x140169afc], 1
mov eax, dword [rbp + 0x1c]
mov dword [r13 + 0x7c], eax
mov eax, dword [rbp + 0x24]
mov dword [r13 + 0x84], eax
lea rsp, [rbp + 0xa8]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret