Function at 0x140010640
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, qword [rbp + 0xf8]
mov qword [rbp - 0x68], rsi
mov rdi, qword [rbp + 0x100]
mov qword [rsp + 0x70], rdi
mov r12, qword [rbp + 0x108]
movsxd rax, dword [r12]
lea r14, [rdi + 8]
mov qword [rsp + 0x68], r14
xor r13d, r13d
test eax, eax
jns 0x1400106b4
mov dword [r12], r13d
jmp 0x1400106d4
mov rcx, qword [r14]
sub rcx, qword [rdi]
sar rcx, 5
mov qword [rsp + 0x68], r14
cmp rax, rcx
jb 0x1400106d4
lea eax, [rcx - 1]
mov dword [r12], eax
mov qword [rsp + 0x68], r14
movdqa xmm0, xmmword [0x1400b72d0]
movdqa xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r15d, dword [rbp + 0xf0]
mov dword [rsp + 0x20], r15d
mov edx, 0x14
lea r9d, [rdx + 0x5a]
lea r8d, [rdx + 0x32]
call fcn.14000d8c0
movdqa xmm0, xmmword [0x1400b7330]
movdqa xmmword [rsp + 0x50], xmm0
lea eax, [r15 - 2]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov edx, 0x15
lea r9d, [rdx + 0x57]
lea r8d, [rdx + 0x32]
call fcn.14000d8c0
mov dword [rbp + 0x30], 0xa
mov dword [rbp + 0x34], 0xa
mov eax, 0x66666667
imul dword [0x1400bf0b4]
mov ecx, edx
sar ecx, 2
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov dword [rbp + 0x40], ecx
mov eax, 0x66666667
imul dword [0x1400bf0b8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0x44], edx
mov word [rbp + 0x5e], r13w
mov word [rbp + 0x6e], r13w
mov dword [rbp + 0x20], r13d
mov dword [rbp + 0x24], 1
mov rax, qword [rbp + 0x40]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400bf0bc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, cl
or r8d, eax
mov rax, qword [rbp + 0x30]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xa000a
mov dword [rbp + 0x50], 0x16
mov dword [rbp + 0x54], 0x48
mov dword [rbp + 0x60], 0x80
lea eax, [r15 + 0x44]
mov dword [rbp + 0x64], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x58], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x5a], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x5c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x68], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x6a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x6c], cx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x20]
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400b72d0]
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140010885
mov rdx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rdx + r8], r13b
jne 0x1400108a0
lea rcx, [rsp + 0x78]
call fcn.1400af760
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov r8d, inet_ntoa
lea rdx, str.Small_Fonts
lea rcx, [rbp + 0x50]
call fcn.1400af760
mov eax, 0x2bc
mov ecx, 0xe
mov word [rsp + 0x38], ax
mov word [rsp + 0x30], cx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea edx, [rcx + 0x16]
lea r8d, [rcx + 0x32]
call fcn.14000d9b0
movdqa xmm0, xmmword [0x1400b7380]
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001092b
mov rdx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], r13b
jne 0x140010940
mov r8, rbx
lea rcx, [rsp + 0x78]
call fcn.1400af760
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov r8d, inet_ntoa
lea rdx, str.Small_Fonts
lea rcx, [rbp + 0x50]
call fcn.1400af760
mov eax, 0x2bc
mov word [rsp + 0x38], ax
mov eax, 0xe
mov word [rsp + 0x30], ax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
mov edx, 0x23
lea r8d, [rdx + 0x1c]
call fcn.14000d9b0
mov rax, qword [r14]
sub rax, qword [rdi]
sar rax, 5
test rax, rax
je 0x140010f0b
movdqa xmm6, xmmword [0x1400b72d0]
xor esi, esi
mov r15d, esi
movsx eax, word [rbp + 0x110]
add eax, 0x14
mov dword [rbp + 0x20], eax
inc eax
mov dword [rsp + 0x60], eax
movdqa xmm7, xmmword [0x1400b7390]
movsx ebx, r13w
imul r14d, ebx, 0x1e
lea r9d, [r14 + 0x54]
mov eax, dword [0x1400bf0e8]
mov r8d, dword [0x1400bf0f0]
cmp eax, r8d
jl 0x140010a4d
cmp eax, dword [0x1400bf0f8]
jg 0x140010a4d
mov ecx, dword [0x1400bf0ec]
mov edx, dword [0x1400bf0f4]
cmp ecx, edx
jl 0x140010a4d
cmp ecx, dword [0x1400bf0fc]
jg 0x140010a4d
sub eax, r8d
sub eax, 0x14
cmp eax, 0x6e
ja 0x140010a4d
sub ecx, edx
cmp ecx, r9d
jl 0x140010a4d
lea eax, [r9 + 0x17]
cmp ecx, eax
mov eax, 1
jle 0x140010a4f
mov eax, esi
cmp dword [r12], ebx
jne 0x140010c93
mov eax, dword [0x1400bf0b4]
cdq
and edx, 3
lea r9d, [rdx + rax]
sar r9d, 2
mov dword [rbp - 0x50], r9d
mov eax, dword [0x1400bf0b8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x4c], eax
mov dword [rbp - 0x60], 0x14
mov dword [rbp - 0x5c], 0x14
lea r8d, [r14 + 0x55]
mov word [rbp + 0x5e], si
mov word [rbp + 0x6e], si
mov dword [rbp + 0x28], esi
mov dword [rbp + 0x2c], 1
mov rax, qword [rbp - 0x60]
shr rax, 0x20
movzx r10d, al
shl r10d, 8
or r10d, 0x140014
mov rax, qword [rbp - 0x50]
shr rax, 0x20
movzx r11d, al
shl r11d, 8
mov eax, dword [0x1400bf0bc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
shl ecx, 0x10
or r11d, ecx
movzx eax, r9b
or r11d, eax
mov dword [rbp + 0x50], 0x16
mov dword [rbp + 0x54], r8d
mov dword [rbp + 0x60], 0x80
lea eax, [r8 + 0x19]
mov dword [rbp + 0x64], eax
movzx eax, r10b
shl ax, 8
mov word [rbp + 0x58], ax
movzx eax, r10w
mov ebx, 0xff00
and ax, bx
mov word [rbp + 0x5a], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp + 0x5c], r10w
movzx eax, r11b
shl ax, 8
mov word [rbp + 0x68], ax
movzx eax, r11w
and ax, bx
mov word [rbp + 0x6a], ax
shr r11d, 0x10
shl r11w, 8
mov word [rbp + 0x6c], r11w
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x28]
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rbp - 0x30], 0x14
mov dword [rbp - 0x2c], 0x14
mov eax, dword [0x1400bf0b4]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 0x40], r8d
mov eax, dword [0x1400bf0b8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x3c], eax
lea r9d, [r14 + 0x56]
mov word [rbp + 0x5e], si
mov word [rbp + 0x6e], si
mov dword [rbp + 0x30], esi
mov dword [rbp + 0x34], 1
mov rax, qword [rbp - 0x40]
shr rax, 0x20
movzx r10d, al
shl r10d, 8
mov eax, dword [0x1400bf0bc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
shl ecx, 0x10
or r10d, ecx
movzx eax, r8b
or r10d, eax
mov rax, qword [rbp - 0x30]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0x140014
mov dword [rbp + 0x50], 0x16
mov dword [rbp + 0x54], r9d
mov dword [rbp + 0x60], 0x80
lea eax, [r9 + 0x17]
mov dword [rbp + 0x64], eax
movzx eax, r10b
shl ax, 8
mov word [rbp + 0x58], ax
movzx eax, r10w
and ax, bx
mov word [rbp + 0x5a], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp + 0x5c], r10w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x68], ax
movzx eax, cx
and ax, bx
mov word [rbp + 0x6a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x6c], cx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x30]
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
jmp 0x140010e0a
test eax, eax
je 0x140010e0a
mov dword [rsp + 0x50], 0x14
mov dword [rsp + 0x54], 0x14
mov eax, 0x66666667
imul dword [0x1400bf0b4]
mov ecx, edx
sar ecx, 1
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov dword [rsp + 0x78], ecx
mov eax, 0x66666667
imul dword [0x1400bf0b8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x7c], edx
lea r8d, [r14 + 0x56]
mov word [rbp + 0x5e], si
mov word [rbp + 0x6e], si
mov dword [rbp + 0x40], esi
mov dword [rbp + 0x44], 1
mov rax, qword [rsp + 0x78]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, 0x66666667
imul dword [0x1400bf0bc]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r9d, eax
movzx eax, cl
or r9d, eax
mov rax, qword [rsp + 0x50]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0x140014
mov dword [rbp + 0x50], 0x16
mov dword [rbp + 0x54], r8d
mov dword [rbp + 0x60], 0x80
lea eax, [r8 + 0x17]
mov dword [rbp + 0x64], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0x58], ax
movzx eax, r9w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x5a], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0x5c], r9w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x68], ax
movzx eax, cx
and ax, dx
mov word [rbp + 0x6a], ax
shr ecx, 0x10
shl cx, 8
mov word [rbp + 0x6c], cx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x40]
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400bf0c8]
jne 0x140010e0a
cmp dword [0x1400bf108], 0
jne 0x140010e0a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140010e0a
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [r12], ebx
movdqa xmmword [rbp + 0x50], xmm6
shl r15, 5
mov rbx, qword [rdi]
add rbx, r15
movzx esi, word [0x1400bf0b0]
add si, 2
lea rdx, [0x1400bf090]
lea rcx, [rbp - 0x20]
call fcn.140040330
mov rdi, rax
mov rdx, rbx
lea rcx, [rbp]
call fcn.140040330
mov r9, rax
lea r8d, [r14 + 0x5b]
mov eax, 0x190
mov word [rsp + 0x38], ax
mov word [rsp + 0x30], si
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x60]
call fcn.14000d9b0
movdqa xmmword [rbp + 0x50], xmm7
mov rax, qword [rsp + 0x70]
mov rbx, qword [rax]
add rbx, r15
movzx esi, word [0x1400bf0b0]
add si, 2
lea rdx, [0x1400bf090]
lea rcx, [rbp]
call fcn.140040330
mov rdi, rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140040330
mov r9, rax
lea r8d, [r14 + 0x5a]
mov eax, 0x190
mov word [rsp + 0x38], ax
mov word [rsp + 0x30], si
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov edx, dword [rbp + 0x20]
call fcn.14000d9b0
inc r13w
movsx r15, r13w
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rdi, qword [rsp + 0x70]
sub rax, qword [rdi]
sar rax, 5
cmp r15, rax
mov esi, 0
jb 0x1400109f0
mov rsi, qword [rbp - 0x68]
mov r15d, dword [rbp + 0xf0]
mov r8d, dword [0x1400bf0e8]
mov r10d, dword [0x1400bf0f0]
mov eax, r8d
sub eax, r10d
sub eax, 0x14
mov r9d, dword [0x1400bf0f4]
mov edx, dword [0x1400bf0ec]
cmp eax, 0x6e
ja 0x140010f46
mov ecx, edx
sub ecx, r9d
cmp ecx, 0x46
jl 0x140010f46
lea eax, [r15 + 0x46]
cmp ecx, eax
jle 0x140010f61
cmp r8d, r10d
jl 0x140010f61
cmp r8d, dword [0x1400bf0f8]
jg 0x140010f61
cmp edx, r9d
jl 0x140010f61
cmp edx, dword [0x1400bf0fc]
jle 0x140010f6b
mov dword [0x1400bf104], 1
mov ebx, dword [r12]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140010fa5
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140010fa0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010ff9
mov rcx, r8
call fcn.1400b0950
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, rdi
call fcn.140040730
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400b0930
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3