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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0xa0
mov rax, qword [0x140072010]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x78]
xor ebp, ebp
mov edi, ebp
movups xmmword [0x1400720b0], xmm0
lea edx, [rbp + 0xa]
movups xmmword [0x1400720c0], xmm0
movups xmmword [0x1400720d0], xmm0
call fcn.140038490
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14004a64a
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x14004a69f
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a69a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a69a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004ed20
mov qword [rsp + 0x28], rbp
lea r8, [0x140049680]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x14004a440]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x1400391d0]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x1400720b8], 0x12
je 0x14004a939
mov ecx, 0xfc
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004a939
cmp byte [0x140072d88], bpl
jne 0x14004a939
cmp byte [0x140072344], bpl
jne 0x14004a759
lea rcx, [rsp + 0x48]
call fcn.140038f70
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140072af8], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140072b18], xmm0
movups xmmword [0x140072b08], xmm1
mov eax, 0x10624dd3
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul ecx, edx, 0x1f4
cmp edi, ecx
jne 0x14004a791
mov rdx, qword [0x140072ab8]
mov rcx, qword [0x140072ab0]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14004ab2c
mov rdx, qword [0x140072aa0]
lea rcx, [0x1400720b0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
inc edi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004a7d3
lea rcx, [0x1400720b0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400720b0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140072be0]
cmp rax, rcx
jne 0x14004a820
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140072aa0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140072be0]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbp
lea rdx, [rsp + 0x78]
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140072be0]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x70]
mov rcx, qword [0x140072be0]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x7c], eax
mov rax, qword [0x140072a40]
mov qword [rax + 0x120], rcx
mov eax, dword [0x140072da0]
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
cmp dword [rsp + 0x78], eax
jne 0x14004a8a5
cmp edx, dword [0x140072da8]
jne 0x14004a8a5
mov eax, dword [0x140072da4]
cmp dword [rsp + 0x7c], eax
jne 0x14004a8a5
cmp ecx, dword [0x140072dac]
je 0x14004a909
movups xmm0, xmmword [rsp + 0x78]
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140072bf0], edx
mov dword [0x140072bf4], ecx
mov dword [0x140072060], edx
xor edx, edx
mov dword [0x140072064], ecx
mov rcx, qword [0x140072aa0]
movups xmmword [0x140072da0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140072058]
lea rdx, [0x140072060]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140049350
mov eax, 0x64
cdq
idiv dword [0x140072348]
movsxd rcx, eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
call fcn.14004d160
cmp dword [0x1400720b8], 0x12
jne 0x14004a703
mov rcx, qword [0x140072a40]
mov qword [rsp + 0xb0], rsi
test rcx, rcx
je 0x14004a956
mov rdi, qword [rcx + 0xf0]
jmp 0x14004a959
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14004a9d5
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x14004a9d5
cmp qword [rbx], rbp
je 0x14004a9d5
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14004a990
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140072a40]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14004a9ad
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140072a40]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14004a9d5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140072a40]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x14004a9ed
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140072a40]
mov qword [rsi + 0xd8], rbp
mov qword [rsi + 0xe8], rbp
mov rsi, qword [rsp + 0xb0]
test rcx, rcx
je 0x14004aa0e
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140072a40]
test rax, rax
je 0x14004aa2c
mov rbx, qword [rax + 0xe8]
jmp 0x14004aa2f
mov rbx, rbp
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x14004aa49
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140072a40]
mov qword [rdi + 0xd0], rbp
mov qword [rdi + 0xe0], rbp
test rax, rax
je 0x14004aa62
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140072a40]
mov rcx, rbx
call fcn.1400078e0
cmp qword [0x140072a40], rbx
jne 0x14004aa8a
mov qword [0x140072a40], rbp
test rbx, rbx
je 0x14004aab2
mov rcx, rbx
call fcn.1400165e0
mov rax, qword [0x140072a40]
test rax, rax
je 0x14004aaa9
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140072058]
test rcx, rcx
je 0x14004aad4
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140072058]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140072050]
test rcx, rcx
je 0x14004aae6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140072aa0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140072a68]
mov rcx, qword [0x140072a90]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14004ec30
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor ecx, ecx
call fcn.140038850
int3