Function at 0x140003b90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1400f6180]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov edx, dword [0x14010ca24]
add rdx, qword [rcx + 0x38]
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x1400043dd
cmp dword [0x14010cac8], r15d
je 0x1400043dd
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400043dd
mov eax, dword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x1400043dd
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r15d
lea ecx, [r15 + 8]
call fcn.1400bfb80
mov qword [rsp + 0x38], rax
lea rdx, [rax + 8]
mov qword [rsp + 0x48], rdx
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x38]
mov rdx, qword [0x14011d898]
call fcn.140003860
test rax, rax
je 0x1400043dd
mov qword [rsp + 0x60], r15
mov ecx, dword [rsp + 0x50]
and ecx, 0x1ff
imul edx, ecx, 0x78
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x1400043dd
cmp dword [0x14010cac8], r15d
je 0x1400043dd
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400043dd
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], r15b
mov qword [rbp - 0x48], r15
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
mov qword [rbp], r15
movups xmmword [rbp + 8], xmm1
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], r15b
mov qword [rbp + 0x2c], r15
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140004396
mov qword [rbp - 0x48], rax
mov edx, dword [0x14010ca60]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0xc]
lea r8, [rbp - 4]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca48]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0xc]
lea r8, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca5c]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
lea rcx, [rbp - 0x48]
call fcn.14000ab30
test al, al
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca6c]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp + 0x2c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca68]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca50]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca78]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [rbp + 0x4c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov qword [rsp + 0x68], r15
mov edx, dword [0x14010ca7c]
add rdx, qword [rbp - 0x48]
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca84]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca8c]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca88]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 4]
lea r8, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140004396
mov edx, dword [0x14010ca70]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0x10]
lea r8, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140004396
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x58], r15
mov edx, dword [0x14010c9b4]
add rdx, rax
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
mov edx, dword [0x14010c9b8]
add rdx, qword [rsp + 0x70]
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
xor edx, edx
mov r8d, 0x3c0
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x70]
call fcn.140003150
mov rcx, qword [0x14010cac0]
test rcx, rcx
je 0x140004396
cmp dword [0x14010cac8], r15d
je 0x140004396
mov qword [rsp + 0x20], r15
mov r9d, 0x3c0
lea r8, [rbp + 0x70]
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004396
lea rbx, [rbp + 0x70]
lea rdi, [rbp + 0x70]
lea esi, [r15 + 0x1e]
mov r9, qword [rbp - 0x30]
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [0x14011d8e0]
call fcn.1400028e0
movsd xmm0, qword [rbx]
movsd qword [rsp + 0x38], xmm0
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x40], ecx
movsd xmm0, qword [rsp + 0x30]
movsd qword [rsp + 0x44], xmm0
mov byte [rsp + 0x4c], al
cmp r9, qword [rbp - 0x28]
je 0x140004267
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r9], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [r9 + 0x10], xmm1
mov r9, qword [rbp - 0x30]
add r9, 0x18
mov qword [rbp - 0x30], r9
jmp 0x14000427c
lea r8, [rsp + 0x38]
mov rdx, r9
lea rcx, [rbp - 0x38]
call fcn.1400035a0
mov r9, qword [rbp - 0x30]
add rdi, 0x20
add rbx, 0x20
sub rsi, 1
jne 0x140004200
sub r9, qword [rbp - 0x38]
movabs rax, 0x2aaaaaaaaaaaaaab
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140004396
cmp byte [0x1400f6212], sil
je 0x1400042cc
mov eax, dword [rbp + 0x4c]
cmp dword [r14 + 0xcc], eax
je 0x140004396
cmp dword [rbp + 0x48], 0
jle 0x140004396
call fcn.14000a4e0
mov ebx, eax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140114d78], ecx
jle 0x140004326
lea rcx, [0x140114d78]
call fcn.1400bfb08
cmp dword [0x140114d78], 0xffffffff
jne 0x140004326
lea rcx, [0x1401149a8]
call fcn.140003ab0
lea rcx, [0x140114d78]
call fcn.1400bfa9c
lea rcx, [rsp + 0x58]
call fcn.140003ab0
imul rcx, rbx, 0xf4240
mov rbx, qword [rsp + 0x58]
mov rax, rbx
sub rax, qword [0x1401149a8]
cmp rax, rcx
jl 0x140004396
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x14000438a
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.14000a4e0
mov qword [0x1401149a8], rbx
lea rcx, [rbp - 0x48]
call fcn.140004410
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400043dd
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400043d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bfecc
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400bfa40
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret