Function at 0x1400d0eff
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
jmp 0x1401a8950
push rbp
push rsi
push rdi
sub rsp, 0x440
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xa0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402c6840]
xor rax, rbp
mov qword [rbp + 0x3f0], rax
lea rcx, [0x1402e23ec]
call fcn.1400d1d2d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400cfd6b]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x1402c71c8]
call fcn.1400d16d4
movzx eax, al
test eax, eax
jne 0x1401a89cb
call fcn.1400cf613
mov qword [rbp + 8], 0
lea rax, [rbp + 0x274]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x274]
call fcn.1401a20c0
mov rcx, rax
call fcn.1400d0810
mov rcx, rax
call fcn.1400d0563
cmp qword [rbp + 8], 0
jne 0x1401a8a2d
call fcn.1401a3e50
mov qword [0x1402c9bd0], rax
mov ecx, dword [0x1402c9bd0]
call fcn.1400cfd98
mov qword [rbp + 8], rax
jmp 0x1401a8a09
mov edx, dword [0x1402c9bd0]
lea rcx, [0x1402c71c8]
call fcn.1400cf7e9
call fcn.1400d1576
mov rcx, qword [0x1402c9b60]
call fcn.1400d0a4f
lea rcx, [0x1402c71c8]
call fcn.1400cfbb3
mov qword [0x1402c9be0], rax
lea rcx, [0x1402c71c8]
call fcn.1400cfbb3
mov qword [0x1402c71d0], rax
cmp qword [0x1402c9be0], 0
jne 0x1401a8ac3
lea rax, [rbp + 0x2d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x2d4]
call fcn.1401a2300
mov rcx, rax
call fcn.1400cff6e
mov rcx, rax
call fcn.1400d0563
call qword [sym.imp.ucrtbased.dll_getchar]
xor eax, eax
jmp 0x1401a8f5d
lea rax, [rbp + 0x334]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x358]
lea rcx, [rbp + 0x334]
call fcn.1401a2370
mov rcx, rax
call fcn.1400d1d14
mov rcx, rax
call fcn.1400d0563
lea rax, [rbp + 0x3a4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x3a4]
call fcn.1401a23e0
mov rcx, rax
call fcn.1400d0fc2
mov rcx, rax
call fcn.1400d0563
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400d1404]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8d, 0x30
xor edx, edx
lea rcx, [0x1402c9b80]
call fcn.1400d1279
cmp dword [0x1402c9b88], 0x12
je 0x1401a8ee6
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1402c9b60]
lea rcx, [0x1402c9b80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1401a8bb5
lea rcx, [0x1402c9b80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1402c9b80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 0x28], rax
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x1401a8c00
movzx eax, byte [0x1402c9be9]
test eax, eax
jne 0x1401a8be9
mov dword [rbp + 0x3e4], 1
jmp 0x1401a8bf3
mov dword [rbp + 0x3e4], 0
movzx eax, byte [rbp + 0x3e4]
mov byte [0x1402c9be9], al
mov rax, qword [0x1402c9b70]
cmp qword [rbp + 0x28], rax
jne 0x1401a8c4f
mov edx, 3
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rbp + 0x48], rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [0x1402c9b60]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, 0x10
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.1400d1279
mov r8d, 8
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.1400d1279
lea rdx, [rbp + 0x68]
mov rcx, qword [0x1402c9b70]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x98]
mov rcx, qword [0x1402c9b70]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x9c]
mov dword [rbp + 0x6c], eax
call fcn.1400d1b93
call fcn.1400d12dd
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov rcx, qword [0x1402c9b70]
mov qword [rax + 0xf0], rcx
mov rax, qword [rbp + 0xb8]
movss xmm0, dword [0x1402806d0]
movss dword [rax + 0x10], xmm0
lea rcx, [rbp + 0xd8]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x98]
mov ecx, dword [rbp + 0xd8]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rbp + 0xb8]
movss dword [rax + 0x100], xmm0
mov eax, dword [rbp + 0x9c]
mov ecx, dword [rbp + 0xdc]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rbp + 0xb8]
movss dword [rax + 0x104], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401a8dce
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xb8]
mov byte [rcx + rax + 0x108], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xb8]
mov byte [rcx + rax + 0x418], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xb8]
movss xmm0, dword [rdx + 0x100]
movss dword [rcx + rax + 0x3c4], xmm0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xb8]
movss xmm0, dword [rdx + 0x104]
movss dword [rcx + rax + 0x3c4], xmm0
jmp 0x1401a8de6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xb8]
mov byte [rcx + rax + 0x108], 0
mov eax, dword [0x1402c9c18]
cmp dword [rbp + 0x68], eax
jne 0x1401a8e16
mov eax, dword [0x1402c9c20]
cmp dword [rbp + 0x70], eax
jne 0x1401a8e16
mov eax, dword [0x1402c9c1c]
cmp dword [rbp + 0x6c], eax
jne 0x1401a8e16
mov eax, dword [0x1402c9c24]
cmp dword [rbp + 0x74], eax
je 0x1401a8edc
lea rax, [0x1402c9c18]
lea rcx, [rbp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rbp + 0x70]
mov dword [0x1402c9c10], eax
mov eax, dword [rbp + 0x74]
mov dword [0x1402c9c14], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1402c71a0], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1402c71a4], eax
mov eax, dword [0x1402c9c10]
mov dword [0x1402c9b10], eax
mov eax, dword [0x1402c9c14]
mov dword [0x1402c9b14], eax
mov dword [rsp + 0x30], 8
mov eax, dword [0x1402c9c14]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1402c9c10]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x9c]
mov r8d, dword [rbp + 0x98]
xor edx, edx
mov rcx, qword [0x1402c9b60]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x1402c9b00]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x3e8], rax
lea rdx, [0x1402c9b10]
mov rcx, qword [0x1402c9b00]
call qword [rbp + 0x3e8]
call fcn.1400cffb4
jmp 0x1401a8b68
call fcn.1400d0ebe
call fcn.1400cf802
xor ecx, ecx
call fcn.1400d0e8c
cmp qword [0x1402c9b00], 0
je 0x1401a8f2c
mov rax, qword [0x1402c9b00]
mov rax, qword [rax]
mov rcx, qword [0x1402c9b00]
call qword [rax + 0x150]
mov rax, qword [0x1402c9b00]
mov rax, qword [rax]
mov rcx, qword [0x1402c9b00]
call qword [rax + 0x10]
cmp qword [0x1402c9af0], 0
je 0x1401a8f4a
mov rax, qword [0x1402c9af0]
mov rax, qword [rax]
mov rcx, qword [0x1402c9af0]
call qword [rax + 0x10]
mov rcx, qword [0x1402c9b60]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x1402c9b90]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14027e490]
call fcn.1400d15d0
mov rax, rdi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rbp
call fcn.1400d0603
lea rsp, [rbp + 0x400]
pop rdi
pop rsi
pop rbp
ret