Function at 0x1400596b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4d8]
sub rsp, 0x5b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140100040]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov dword [rsp + 0x44], r9d
mov r13b, r8b
mov dword [rsp + 0x40], edx
mov r12, rcx
lea rcx, [rsp + 0x48]
call fcn.140005394
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov edx, dword [0x1401003b8]
add rdx, qword [r12 + 0x38]
lea r8, [rsp + 0x30]
call fcn.14001213c
test al, al
je 0x140059fc3
mov ebx, dword [rsp + 0x30]
cmp ebx, 0xffffffff
jne 0x14005974b
mov rax, qword [rsp + 0x48]
mov qword [0x1401017c0], rax
lea eax, [r15 + 1]
jmp 0x140059fc5
mov eax, ebx
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r15d
lea rax, [rsp + 0x30]
mov qword [rbp + 0x460], rax
lea rax, [rsp + 0x38]
mov qword [rbp + 0x468], rax
lea rdx, [rbp + 0x460]
lea rcx, [rsp + 0x58]
call fcn.14005a060
mov r8, rax
mov rdx, qword [0x1401016b8]
call fcn.1400594fc
test rax, rax
je 0x140059fc3
mov qword [rsp + 0x30], r15
mov ecx, ebx
and ecx, 0x1ff
imul rdx, rcx, 0x78
add rdx, rax
lea r8, [rsp + 0x30]
call fcn.140004504
test al, al
je 0x140059fc3
xor edx, edx
mov r8d, 0x130
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
call fcn.14000fac4
nop
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x140059f23
mov qword [rbp - 0x58], rdi
mov edx, dword [0x1401002dc]
add rdx, rdi
lea r8, [rbp + 0x2c]
call fcn.14001213c
test al, al
je 0x140059f23
cmp dword [rbp + 0x2c], r15d
je 0x140059f23
mov qword [rsp + 0x30], r15
mov edx, dword [0x1401002e0]
add rdx, qword [rbp - 0x58]
lea r8, [rsp + 0x30]
call fcn.140004504
test al, al
je 0x140059f23
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140059f23
sub rdx, 0xffffffffffffff80
lea r8, [rbp - 0x28]
call fcn.140014720
test al, al
je 0x140059f23
mov edx, dword [0x140100338]
add rdx, qword [rbp - 0x58]
lea r8, [rbp + 0x1c]
call fcn.140014720
mov bl, al
movss xmm1, dword [0x1400eecb8]
movss xmm0, dword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movaps xmm6, xmm0
movss xmm1, dword [0x1400eecb8]
movss xmm0, dword [rbp + 0x1c]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movaps xmm7, xmm0
addss xmm7, xmm6
movss xmm1, dword [0x1400eecb8]
movss xmm0, dword [rbp + 0x24]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
addss xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss dword [rbp + 0x18], xmm0
test bl, bl
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x1401002f4]
add rdx, rax
lea r8, [rbp + 0x6f]
call fcn.1400120b8
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x1401002e8]
add rdx, rax
lea r8, [rbp - 0x30]
call fcn.140011f04
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x140100300]
add rdx, rax
lea r8, [rbp - 4]
call fcn.140011f04
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x1401002f8]
add rdx, rax
lea r8, [rbp - 8]
call fcn.14001213c
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x14010030c]
add rdx, rax
lea r8, [rbp + 0x30]
call fcn.14001213c
test al, al
je 0x140059f23
mov qword [rsp + 0x30], r15
mov edx, dword [0x140100310]
add rdx, qword [rbp - 0x58]
lea r8, [rsp + 0x30]
call fcn.140004504
test al, al
je 0x140059f23
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140059f23
mov edx, dword [0x140100314]
add rdx, rax
lea r8, [rbp + 0x34]
call fcn.14001213c
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x14010031c]
add rdx, rax
lea r8, [rbp + 0x38]
call fcn.140004504
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x140100318]
add rdx, rax
lea r8, [rbp + 0x40]
call fcn.14001213c
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x140100304]
add rdx, rax
lea r8, [rbp + 8]
call fcn.1400149c8
test al, al
je 0x140059f23
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov edx, dword [0x140100150]
add rdx, rdi
lea r8, [rsp + 0x30]
call fcn.140004504
test al, al
je 0x140059f23
mov edx, dword [0x140100154]
add rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
call fcn.140004504
test al, al
je 0x140059f23
xor edx, edx
mov r8d, 0x3c0
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0xa8]
mov r14d, 0x1e
mov ecx, r14d
lea edi, [r14 - 0x1d]
mov qword [rax - 8], r15
mov dword [rax], r15d
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax + 4], xmm0
mov dword [rax + 0x14], edx
lea rax, [rax + 0x20]
sub rcx, rdi
jne 0x140059abc
lea r8, [rbp + 0xa0]
mov rdx, qword [rsp + 0x38]
call fcn.140004588
test al, al
je 0x140059f23
lea rbx, [rbp + 0xa0]
lea rsi, [rbp + 0xa0]
mov r9, qword [rbp - 0x40]
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [0x140101700]
call fcn.140003c1c
movsd xmm0, qword [rbx]
movsd qword [rbp + 0x460], xmm0
mov ecx, dword [rbx + 8]
mov dword [rbp + 0x468], ecx
movsd xmm0, qword [rsp + 0x30]
movsd qword [rbp + 0x46c], xmm0
mov byte [rbp + 0x474], al
cmp r9, qword [rbp - 0x38]
je 0x140059b77
movups xmm0, xmmword [rbp + 0x460]
movups xmmword [r9], xmm0
movsd xmm1, qword [rbp + 0x470]
movsd qword [r9 + 0x10], xmm1
mov r9, qword [rbp - 0x40]
add r9, 0x18
mov qword [rbp - 0x40], r9
jmp 0x140059b8e
lea r8, [rbp + 0x460]
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.1400047f8
mov r9, qword [rbp - 0x40]
add rsi, 0x20
add rbx, 0x20
sub r14, rdi
jne 0x140059b03
sub r9, qword [rbp - 0x48]
movabs rax, 0x2aaaaaaaaaaaaaab
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140059f23
mov edx, dword [0x140100324]
add rdx, qword [rbp - 0x58]
lea r8, [rbp + 0x90]
call fcn.140004504
test al, al
je 0x140059f23
mov rdx, qword [rbp + 0x90]
add rdx, 0xb8
lea r8, [rbp + 0x80]
call fcn.140011e78
test al, al
je 0x140059f23
mov edx, dword [0x1401002c4]
add rdx, qword [rbp - 0x58]
lea r8, [rbp + 0x98]
call fcn.140004504
test al, al
je 0x140059f23
lea r8, [0x140101ad0]
mov rdx, qword [0x1401016b8]
call fcn.140004504
mov edx, dword [0x14010035c]
add rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x460]
call fcn.1400147c0
mov rbx, r15
mov r15d, dword [rbp + 0x460]
test r15, r15
je 0x140059cfd
mov rsi, qword [rbp + 0x468]
lea r8, [rsp + 0x38]
mov rdx, rsi
call fcn.140004504
mov r14, qword [rsp + 0x38]
mov rcx, r14
shr rcx, 9
and ecx, 0x3f
mov rax, qword [0x140101ad0]
lea rcx, [rcx + 2]
lea rdx, [rax + rcx*8]
lea r8, [rsp + 0x50]
call fcn.140004504
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140059ce8
and r14d, 0x1ff
imul rdx, r14, 0x78
add rdx, rax
lea r8, [rbp + 0x460]
call fcn.140004504
mov rax, qword [rbp + 0x460]
test rax, rax
je 0x140059ce8
mov edx, dword [0x140100368]
add rdx, rax
lea r8, [rsp + 0x30]
call fcn.140014850
cmp word [rsp + 0x30], 0x31
je 0x140059cfa
add rbx, rdi
add rsi, 4
cmp rbx, r15
jb 0x140059c68
jmp 0x140059cfd
mov dword [rbp + 0x7c], edi
mov edx, dword [0x140100360]
add rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x460]
call fcn.140004504
mov rbx, qword [rbp + 0x460]
mov rcx, rbx
shr rcx, 9
and ecx, 0x3f
mov rax, qword [0x140101ad0]
lea rcx, [rcx + 2]
lea rdx, [rax + rcx*8]
lea r8, [rbp + 0x460]
call fcn.140004504
and ebx, 0x1ff
imul rdx, rbx, 0x78
add rdx, qword [rbp + 0x460]
lea r8, [rbp + 0x460]
call fcn.140004504
mov edx, dword [0x140100368]
add rdx, qword [rbp + 0x460]
lea r8, [rsp + 0x30]
call fcn.140014850
movzx eax, word [rsp + 0x30]
mov dword [rbp + 0x28], eax
mov rax, qword [rbp - 0x58]
xor r15d, r15d
test rax, rax
je 0x140059f23
mov edx, dword [0x140100328]
add rdx, rax
lea r8, [rbp + 0x6e]
call fcn.1400120b8
test al, al
je 0x140059f23
mov edx, dword [0x140100320]
add rdx, qword [rbp - 0x58]
lea r8, [rbp + 0x88]
call fcn.140004504
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x140100350]
add rdx, rax
lea r8, [rbp + 0x68]
call fcn.14001213c
test al, al
je 0x140059f23
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x140059f23
mov edx, dword [0x140100358]
add rdx, rax
lea r8, [rbp + 0x6d]
call fcn.1400120b8
test al, al
je 0x140059f23
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x140059f23
mov edx, dword [str._A_X_D]
add rdx, rax
lea r8, [rbp + 0x6c]
call fcn.1400120b8
test al, al
je 0x140059f23
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140059f23
mov edx, dword [0x1401002ec]
add rdx, rax
lea r8, [rbp - 0x14]
call fcn.140014720
test al, al
je 0x140059f23
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x460], xmm0
mov word [rbp + 0x470], ax
mov edx, dword [0x14010032c]
add rdx, qword [rbp - 0x58]
lea r8, [rbp + 0x460]
call fcn.1400146b0
test al, al
je 0x140059f23
lea rax, [rbp + 0x460]
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r15b
jne 0x140059ea4
cmp rsi, qword [rbp + 0x60]
ja 0x140059ede
lea rbx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rbx, qword [rbp + 0x48]
mov qword [rbp + 0x58], rsi
mov r8, rsi
lea rdx, [rbp + 0x460]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbx + rsi], r15b
jmp 0x140059ef1
lea r9, [rbp + 0x460]
mov rdx, rsi
lea rcx, [rbp + 0x48]
call fcn.140012e38
mov cl, byte [rbp + 0x6e]
mov edx, dword [rbp + 0x2c]
test edx, edx
jle 0x140059f02
test cl, cl
mov al, dil
je 0x140059f05
mov al, r15b
cmp byte [0x14010010c], r15b
je 0x140059f38
mov eax, dword [rbp + 0x30]
cmp dword [r12 + 0xc0], eax
je 0x140059f23
test edx, edx
jle 0x140059f23
test cl, cl
je 0x140059f3c
mov dil, r15b
lea rcx, [rsp + 0x70]
call fcn.14000fba8
mov al, dil
jmp 0x140059fc5
test al, al
je 0x140059f23
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
sub rcx, qword [0x1401017c0]
movsxd rax, dword [rsp + 0x40]
imul rdx, rax, 0xf4240
cmp rcx, rdx
je 0x140059f5e
jl 0x140059f26
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x140059fb7
test r13b, r13b
je 0x140059f8b
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [r12 + 0xa8]
comiss xmm0, xmm1
ja 0x140059f23
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]
mov qword [0x1401017c0], rbx
jmp 0x140059f26
xor al, al
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140062d20
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret