Function at 0x140058650
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
sub rsp, 0x48
cmp qword [0x1401945a0], 0xf
lea rcx, [0x140194588]
mov r8, qword [0x140194598]
cmova rcx, qword [0x140194588]
test r8, r8
jne 0x140058690
lea rdx, [0x140070586]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140058690
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [0x1401cacc0]
mov qword [rsp + 0x40], rdi
xor edi, edi
test rax, rax
je 0x1400586ac
mov rcx, qword [rax + 0xa0]
jmp 0x1400586af
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x1400586d0
test rax, rax
je 0x1400586d0
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x1400586d0
cmp qword [rcx], rdi
je 0x1400586d0
call fcn.140006d20
call fcn.1400076f0
xor ecx, ecx
call fcn.140028f70
call fcn.14000f7b0
mov rax, qword [0x1401cacc0]
mov ecx, 0x2d
or dword [rax + 0x3f90], 2
mov dword [rax + 0x3fb0], 0x44160000
mov dword [rax + 0x3fb4], 0x43b90000
mov dword [rax + 0x3f98], 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005872e
cmp byte [0x14012e1fc], dil
sete al
mov byte [0x14012e1fc], al
jmp 0x140058735
movzx eax, byte [0x14012e1fc]
test al, al
mov rax, qword [0x1401cacc0]
je 0x140058772
xor edx, edx
mov byte [rax + 0x78], 1
mov r8d, 0xab
lea rcx, [0x140070586]
call fcn.140015620
test al, al
je 0x140058761
call fcn.14004dd60
call fcn.1400179b0
mov ecx, 1
call fcn.14000b7a0
jmp 0x140058776
mov byte [rax + 0x78], dil
call fcn.1400541e0
mov rcx, qword [0x1401cb540]
mov r9d, 1
movss xmm0, dword [0x1400dd50c]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1401cb540]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400587f6
call fcn.140012360
mov rax, qword [0x1401cacc0]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140006750
mov rcx, qword [0x1401cb540]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401cb540]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400588e7
mov rcx, qword [0x1401cb540]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400588e7
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1401cacc0]
test rbx, rbx
je 0x1400588a0
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x1400588a0
cmp qword [rbx], rdi
je 0x1400588a0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005886b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005887e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400588a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1401cacc0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1401cb540]
lea rdx, [0x1401cad20]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401cacc0]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x1400588e7
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x1400588e7
cmp qword [rax], rdi
je 0x1400588e7
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
jmp fcn.140006d20
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
ret