Function at 0x140012140
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xf0
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rbp - 1], rax
mov r14, r9
mov rbx, rdx
mov rdi, qword [rbp + 0x77]
mov qword [rbp - 0x61], rdi
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x51], rax
test edx, edx
jne 0x1400121dc
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x1400121dc
mov rdx, qword [r9 + 0x18]
cmp rdx, 0xf
jbe 0x1400121d2
inc rdx
mov rcx, qword [r9]
cmp rdx, 0x1000
jb 0x1400121cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400126bc
mov rcx, r8
call fcn.140134770
xor r15d, r15d
xor eax, eax
jmp 0x14001267e
movsx eax, r8w
imul esi, eax, 0x1e
add esi, dword [rbp + 0x63]
mov dword [rsp + 0x50], esi
lea r9d, [rsi - 2]
mov dword [rbp - 0x69], r9d
lea r13d, [rdx + 0x1e]
mov edx, dword [0x140163d08]
mov eax, dword [0x140163d10]
xor r15d, r15d
cmp edx, eax
jl 0x140012253
cmp edx, dword [0x140163d18]
jg 0x140012253
mov ecx, dword [0x140163d0c]
mov r8d, dword [0x140163d14]
cmp ecx, r8d
jl 0x140012253
cmp ecx, dword [0x140163d1c]
jg 0x140012253
sub edx, eax
cmp edx, r13d
jl 0x140012253
lea eax, [r13 + 0x8c]
cmp edx, eax
jg 0x140012253
sub ecx, r8d
cmp ecx, r9d
jl 0x140012253
lea eax, [r9 + 0xc]
cmp ecx, eax
mov r12d, 1
jle 0x140012256
mov r12d, r15d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140163ce8]
jne 0x1400122a8
cmp dword [0x140163d28], r15d
jne 0x1400122a8
test r12d, r12d
je 0x1400122a8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400122a8
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, r15d
cmp dword [rdi], r15d
sete al
mov dword [rdi], eax
mov qword [rbp - 0x79], r15
lea edx, [rsi - 1]
lea ecx, [rbx + 0x1d]
mov dword [rbp - 0x15], r15d
mov dword [rbp - 5], r15d
mov dword [rbp - 0x29], r15d
mov dword [rbp - 0x25], 1
mov rax, r15
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov dword [rbp - 0x21], ecx
mov dword [rbp - 0x1d], edx
lea eax, [rcx + 0xa]
mov dword [rbp - 0x11], eax
lea eax, [rdx + 0xa]
mov dword [rbp - 0xd], eax
movzx eax, r8b
shl ax, 8
mov word [rbp - 0x19], ax
mov word [rbp - 0x17], r8w
mov word [rbp - 9], ax
mov word [rbp - 7], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x29]
mov r8d, 2
lea rdx, [rbp - 0x21]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movzx esi, word [0x140163cd0]
lea rdx, [0x140163cb0]
lea rcx, [rbp - 0x21]
call fcn.140029420
mov rdi, rax
movdqa xmm6, xmmword [0x14014fe40]
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140029420
movdqa xmmword [rbp - 0x79], xmm6
lea edx, [rbx + 0x35]
mov word [rsp + 0x38], 0x190
mov word [rsp + 0x30], si
mov qword [rsp + 0x28], rdi
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, dword [rbp - 0x69]
call fcn.14000ef50
movzx esi, word [0x140163cd0]
lea rdx, [0x140163cb0]
lea rcx, [rbp - 0x49]
call fcn.140029420
mov rdi, rax
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.140029420
mov rcx, qword [rbp - 0x51]
movaps xmm0, xmmword [rcx]
movdqa xmmword [rbp - 0x79], xmm0
mov r8d, dword [rsp + 0x50]
add r8d, 0xfffffffd
lea edx, [rbx + 0x34]
mov word [rsp + 0x38], 0x190
mov word [rsp + 0x30], si
mov qword [rsp + 0x28], rdi
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x20], rcx
mov r9, rax
call fcn.14000ef50
mov rbx, qword [rbp - 0x61]
mov word [rbp - 0x13], r15w
mov dword [rbp - 0x29], r15d
mov dword [rbp - 0x25], 1
cmp dword [rbx], r15d
je 0x1400124e7
mov r8, qword [0x140163cd4]
mov eax, 0x66666667
imul r8d
mov r11d, edx
sar r11d, 1
mov eax, r11d
shr eax, 0x1f
add r11d, eax
mov dword [rbp - 0x79], r11d
mov eax, 0x66666667
imul dword [0x140163cd8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x75], edx
mov word [rbp - 3], r15w
mov rcx, r8
shr rcx, 0x20
movzx r10d, cl
shl r10d, 8
mov rdx, qword [0x140163cdc]
movzx ecx, dl
shl ecx, 0x10
or r10d, ecx
movzx ecx, r8b
or r10d, ecx
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r9d, dl
mov rax, qword [rbp - 0x79]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r9d
shl eax, 0x10
or ecx, eax
movzx eax, r11b
or ecx, eax
mov edx, dword [rsp + 0x50]
mov dword [rbp - 0x1d], edx
lea eax, [r13 + 8]
mov dword [rbp - 0x11], eax
lea eax, [rdx + 8]
mov dword [rbp - 0xd], eax
movzx eax, r10b
shl ax, 8
mov word [rbp - 0x19], ax
movzx eax, r10w
mov r11d, 0xff00
and ax, r11w
mov word [rbp - 0x17], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp - 0x15], r10w
shl r9w, 8
mov word [rbp - 5], r9w
jmp 0x140012602
mov dword [rbp - 0x61], reloc.WLDAP32.dll_Ordinal_30
mov dword [rbp - 0x5d], reloc.WLDAP32.dll_Ordinal_30
mov dword [rbp - 5], 0x1e00
test r12d, r12d
je 0x140012561
mov eax, 0x55555556
imul dword [0x140163cd4]
mov r9d, edx
shr r9d, 0x1f
add r9d, edx
mov dword [rbp - 0x79], r9d
mov eax, 0x55555556
imul dword [0x140163cd8]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [rbp - 0x75], edx
mov eax, 0x55555556
imul dword [0x140163cdc]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x79]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, r9b
jmp 0x1400125b2
mov eax, dword [0x140163cd4]
cdq
and edx, 3
lea ecx, [rdx + rax]
sar ecx, 2
mov dword [rbp - 0x79], ecx
mov eax, dword [0x140163cd8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x75], eax
mov eax, dword [0x140163cdc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx r8d, al
mov rax, qword [rbp - 0x79]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, cl
or edx, eax
mov rax, qword [rbp - 0x61]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
lea eax, [r13 + 8]
mov dword [rbp - 0x11], eax
mov r9d, dword [rsp + 0x50]
lea eax, [r9 + 8]
mov dword [rbp - 0xd], eax
movzx eax, dl
mov r11d, 0xff00
or ecx, 0x1e001e
shl ax, 8
and dx, r11w
shl r8w, 8
mov word [rbp - 0x15], r8w
mov word [rbp - 0x17], dx
mov word [rbp - 0x19], ax
mov dword [rbp - 0x1d], r9d
mov dword [rbp - 0x21], r13d
movzx eax, cl
and cx, r11w
mov dword [rsp + 0x28], 1
shl ax, 8
mov word [rbp - 7], cx
mov dword [rsp + 0x20], 1
mov word [rbp - 9], ax
lea r9, [rbp - 0x29]
mov r8d, 2
lea rdx, [rbp - 0x21]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov ebx, dword [rbx]
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14001267c
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140012677
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400126bc
mov rcx, r8
call fcn.140134770
mov eax, ebx
mov byte [r14], r15b
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r15
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140134750
mov rbx, qword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3