Function at 0x14001c180
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140304080]
xor rax, rsp
mov qword [rbp + 0xf0], rax
cmp byte [0x140356d14], 0
jne 0x14001c46b
xor esi, esi
movabs r14, 0x7fffffffffffffff
mov r15d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
mov eax, dword [reloc.WS2_32.dll_accept]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140002100
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001c235
js 0x14001c235
imul r8, rbx, 0xf4240
mov rdx, r14
sub rdx, r8
cmp rax, rdx
je 0x14001c230
mov ecx, 1
cmovl ecx, r15d
test cl, cl
jns 0x14001c230
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001c235
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.140004f70
cmp byte [0x140356c54], 0
jne 0x14001c255
cmp byte [0x140356c62], 0
je 0x14001c45e
cmp qword [0x140358b40], 0
je 0x14001c45e
lea rcx, [rbp + 0x50]
call fcn.14001b2a0
mov qword [rbp + 0xe8], 0
movd xmm1, dword [0x140356c58]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x140356c60]
mov r8d, dword [0x140356c64]
call fcn.14002a6a0
test al, al
je 0x14001c440
cmp byte [rbp + 0x90], 0
jne 0x14001c440
cmp byte [0x140356c29], 0
je 0x14001c2ca
cmp byte [rbp + 0xe4], 0
je 0x14001c440
mov ecx, dword [0x140356c5c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001c440
mov ecx, dword [0x140356c68]
test ecx, ecx
je 0x14001c327
sub ecx, 1
je 0x14001c30d
cmp ecx, 1
jne 0x14001c34d
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14001b350
mov r9d, 0x60f2
lea rdx, [rsp + 0x70]
jmp 0x14001c33e
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14001b350
mov r9d, 0x9995
lea rdx, [rsp + 0x7c]
jmp 0x14001c33e
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14001b350
mov r9d, 0x796e
lea rdx, [rbp - 0x78]
mov r8, rax
call fcn.140029e20
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
cmp byte [0x140356c54], 0
je 0x14001c36a
movsd qword [rsp + 0x60], xmm6
mov dword [rsp + 0x68], edi
lea rcx, [rsp + 0x60]
call fcn.14001be20
cmp byte [0x140356c62], 0
je 0x14001c437
mov rcx, qword [0x140358b40]
call fcn.14001bbb0
mov rdx, qword [0x1403588c0]
add rdx, rax
mov r10, qword [0x1403583a8]
test r10, r10
je 0x14001c3c1
cmp dword [0x140358314], 0
je 0x14001c3c1
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rbp + 0x38]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r10, qword [0x1403583a8]
mov rdx, qword [rbp + 0x38]
add rdx, qword [0x1403588c8]
test r10, r10
je 0x14001c3f9
cmp dword [0x140358314], 0
je 0x14001c3f9
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rbp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r10, qword [0x1403583a8]
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x14001c437
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
test r10, r10
je 0x14001c437
cmp dword [0x140358314], 0
je 0x14001c437
add rdx, 0x20
mov qword [rsp + 0x20], rsi
mov r9d, ntohs
lea r8, [rsp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x140358788], 1
jmp 0x14001c455
cmp byte [0x140358788], 0
je 0x14001c455
call fcn.14001bc30
mov byte [0x140358788], 0
lea rcx, [rbp + 0x50]
call fcn.140005560
cmp byte [0x140356d14], 0
je 0x14001c1e0
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400e4410
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret