Function at 0x140057880
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13, r9
mov qword [rsp + 0x48], r9
mov r14, rdx
mov r12, rcx
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x21], rcx
mov dword [rsp + 0x20], 0
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14009d520], eax
jle 0x140057952
lea rcx, [0x14009d520]
call fcn.140070950
cmp dword [0x14009d520], 0xffffffff
jne 0x140057952
mov qword [0x14009d4f0], 0
mov qword [0x14009d4f8], 0
mov ecx, 0x48
call fcn.140070a30
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14009d4f0], rax
lea rcx, [0x1400741b0]
call fcn.140070c94
nop
lea rcx, [0x14009d520]
call fcn.1400708e4
mov rax, qword [0x14009d4f0]
mov qword [rbp - 0x69], rax
mov rbx, qword [rax + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], 0
mov r15, rax
mov esi, 1
cmp byte [rbx + 0x19], 0
jne 0x1400579e9
mov r12, qword [r14 + 0x10]
mov r13, qword [r14 + 0x18]
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x28], rbx
lea rcx, [rbx + 0x20]
mov rdx, r14
cmp r13, 0xf
jbe 0x1400579a5
mov rdx, qword [r14]
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400579b3
mov rcx, qword [rcx]
mov r8, rdi
cmp r12, rdi
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140057ae0
js 0x140057ae9
mov dword [rsp + 0x30], esi
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140057990
mov r12, qword [rbp - 0x49]
mov r13, qword [rsp + 0x48]
cmp byte [r15 + 0x19], 0
jne 0x140057a00
lea r8, [r15 + 0x20]
mov rdx, r14
call fcn.14005f770
test al, al
je 0x140057a7e
movabs rax, 0x38e38e38e38e38e
cmp qword [0x14009d4f8], rax
je 0x140057e03
lea r15, [0x14009d4f0]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0
mov ecx, 0x48
call fcn.140070a30
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rdx, r14
lea rcx, [rax + 0x20]
call fcn.140044d30
mov byte [rdi + 0x40], 0
mov rax, qword [rbp - 0x69]
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov word [rdi + 0x18], 0
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp - 0x69], xmm0
mov r8, rdi
lea rdx, [rbp - 0x69]
mov rcx, r15
call fcn.14005f510
mov r15, rax
cmp byte [r15 + 0x40], 0
je 0x140057b18
mov ebx, esi
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140057afa
inc ebx
cmp ebx, 0xff
jle 0x140057a90
cmp byte [r15 + 0x40], 0
je 0x140057b18
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, sendto
lea rdx, str.Press_any_key...
lea rcx, [rsp + 0x28]
call fcn.140042850
lea rax, [rsp + 0x28]
jmp 0x140057b6c
cmp rdi, r12
jae 0x1400579d0
mov dword [rsp + 0x30], 0
mov rbx, qword [rbx + 0x10]
jmp 0x1400579da
cmp ebx, 0x1b
jne 0x140057b09
mov dword [r13], 0
jmp 0x140057b13
cmp dword [r13], ebx
je 0x140057b13
mov dword [r13], ebx
mov byte [r15 + 0x40], 0
mov edx, dword [r13]
test edx, edx
jne 0x140057b34
mov rdx, r12
lea rcx, [rbp - 0x41]
call fcn.140044d30
nop
mov esi, 2
jmp 0x140057b43
lea rcx, [rsp + 0x48]
call fcn.140057630
mov esi, 4
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], sendto
mov byte [rax], 0
lea rax, [rbp - 0x69]
or esi, 8
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], sendto
mov byte [rax], 0
test sil, 8
je 0x140057bce
and esi, 0xfffffff7
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140057bce
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057c12
call fcn.140070830
movdqa xmm6, xmmword [0x14007f540]
test sil, 4
je 0x140057c29
and esi, 0xfffffffb
mov rdx, qword [rbp - 0x79]
cmp rdx, 0xf
jbe 0x140057c1e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070830
movdqu xmmword [rsp + 0x58], xmm6
mov byte [rsp + 0x48], 0
test sil, 2
je 0x140057c81
and esi, 0xfffffffd
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140057c78
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070830
movdqa xmm6, xmmword [0x14007f540]
movdqu xmmword [rbp - 0x31], xmm6
mov byte [rbp - 0x41], 0
test sil, 1
je 0x140057cc7
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140057cc7
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057cc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057cc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070830
cmp qword [r14 + 0x18], 0xf
jbe 0x140057cd1
mov r14, qword [r14]
mov rcx, r14
call fcn.14000fc90
mov rax, qword [0x14009c660]
or dword [rax + 0x4760], 1
mov dword [rax + 0x4764], 0x42f00000
mov qword [rsp + 0x20], 0x42f00000
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rcx, qword [rbp - 0x19]
lea rdx, [rsp + 0x20]
call fcn.140030af0
test al, al
je 0x140057d1b
mov byte [r15 + 0x40], 1
mov rax, qword [0x14009c660]
mov rcx, qword [rax + 0x3ed8]
dec dword [rcx + 0xf0]
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140057d6d
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057d68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070830
movdqa xmm0, xmmword [0x14007f540]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x140057db6
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140057db1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057dfc
mov rcx, r8
call fcn.140070830
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], sendto
mov byte [r12], 0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400704a0
mov rbx, qword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
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]
nop
call fcn.14004b2c0
nop
int3