Function at 0x140053450
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [0x1403f4280]
xor rax, rsp
mov qword [rsp + 0x158], rax
movzx eax, byte [0x1403f5294]
test eax, eax
jne 0x140053786
mov eax, dword [0x1403f52a4]
inc eax
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x78]
call fcn.140019af0
mov rcx, rax
call fcn.14001df20
nop
movzx eax, byte [0x1403f51a4]
test eax, eax
jne 0x1400534ab
jmp 0x14005346b
lea rdx, [rsp + 0x98]
lea rcx, [0x1403f4e80]
call fcn.14004d5f0
cmp qword [rax], 0
jne 0x1400534c7
jmp 0x14005346b
mov byte [rsp + 0x20], 0
mov ecx, dword [0x1403f51a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140053556
movzx eax, byte [0x1403f533d]
test eax, eax
je 0x140053551
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0xf4], 4
mov qword [rsp + 0x38], 0x28
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 1
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x21]
call fcn.140052e00
nop
mov byte [0x1403f533d], 0
jmp 0x14005346b
lea rcx, [0x1403f4e80]
call fcn.14005bc00
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x14005365b
lea rdx, [rsp + 0xb8]
lea rcx, [0x1403f4e80]
call fcn.14004d5f0
add rax, 0x14
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xd8]
call fcn.14004d4e0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140053270
cvtsi2ss xmm1, dword [0x1403f51b0]
comiss xmm0, xmm1
jbe 0x1400535d3
mov byte [rsp + 0x20], 0
jmp 0x1400535d8
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0xd8]
call fcn.140053340
movzx eax, al
test eax, eax
je 0x1400535fc
movzx eax, byte [0x1403f51ac]
test eax, eax
jne 0x1400535fc
mov byte [rsp + 0x20], 0
movzx eax, byte [0x1403f518d]
test eax, eax
je 0x140053620
mov rcx, qword [rsp + 0xd8]
call fcn.140053390
movzx eax, al
test eax, eax
jne 0x140053620
mov byte [rsp + 0x20], 0
lea rcx, [0x1403f4e80]
call fcn.14005f1b0
movzx eax, al
test eax, eax
jne 0x140053638
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0xd8]
lea rcx, [0x1403f4e80]
call fcn.14004f710
movzx eax, byte [rax + 0x40]
test eax, eax
je 0x140053659
mov byte [rsp + 0x20], 0
jmp 0x140053660
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140053704
movzx eax, byte [0x1403f533d]
test eax, eax
jne 0x140053704
lea rdx, [0x1403f51b4]
lea rcx, [rsp + 0x80]
call fcn.140019af0
mov rcx, rax
call fcn.14001df20
nop
lea rax, [rsp + 0x108]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov dword [rsp + 0x108], 0
mov dword [rsp + 0x11c], 2
mov qword [rsp + 0x58], 0x28
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x2c], 1
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x22]
call fcn.140052ec0
nop
mov byte [0x1403f533d], 1
jmp 0x140053781
movzx eax, byte [0x1403f533d]
test eax, eax
je 0x140053781
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140053781
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov dword [rsp + 0x130], 0
mov dword [rsp + 0x144], 4
mov qword [rsp + 0x68], 0x28
lea rax, [rsp + 0x130]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 1
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x23]
call fcn.140052e60
nop
mov byte [0x1403f533d], 0
jmp 0x14005346b
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140100260
add rsp, 0x160
pop rdi
ret