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

Disassembly:
sub rsp, 0x48
cmp qword [0x1401919a0], 0xf
lea rcx, [0x140191988]
mov r8, qword [0x140191998]
cmova rcx, qword [0x140191988]
test r8, r8
jne 0x1400562b0
lea rdx, [0x14006d586]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400562b0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [0x1401c80a0]
mov qword [rsp + 0x40], rdi
xor edi, edi
test rax, rax
je 0x1400562cc
mov rcx, qword [rax + 0xa0]
jmp 0x1400562cf
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x1400562f0
test rax, rax
je 0x1400562f0
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x1400562f0
cmp qword [rcx], rdi
je 0x1400562f0
call fcn.140006d10
call fcn.1400076e0
xor ecx, ecx
call fcn.140028fe0
call fcn.14000f810
mov rax, qword [0x1401c80a0]
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 0x14005634e
cmp byte [0x14012b1fc], dil
sete al
mov byte [0x14012b1fc], al
jmp 0x140056355
movzx eax, byte [0x14012b1fc]
test al, al
mov rax, qword [0x1401c80a0]
je 0x140056392
xor edx, edx
mov byte [rax + 0x78], 1
mov r8d, 0xab
lea rcx, [0x14006d586]
call fcn.140015670
test al, al
je 0x140056381
call fcn.14004dd80
call fcn.140017a00
mov ecx, 1
call fcn.14000b830
jmp 0x140056396
mov byte [rax + 0x78], dil
call fcn.1400540e0
mov rcx, qword [0x1401c8940]
mov r9d, 1
movss xmm0, dword [0x1400da37c]
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 [0x1401c8940]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140056416
call fcn.1400123c0
mov rax, qword [0x1401c80a0]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140006740
mov rcx, qword [0x1401c8940]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401c8940]
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 0x140056507
mov rcx, qword [0x1401c8940]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140056507
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1401c80a0]
test rbx, rbx
je 0x1400564c0
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x1400564c0
cmp qword [rbx], rdi
je 0x1400564c0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005648b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005649e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400564c0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1401c80a0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1401c8940]
lea rdx, [0x1401c8100]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401c80a0]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x140056507
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140056507
cmp qword [rax], rdi
je 0x140056507
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
jmp fcn.140006d10
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
ret