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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x80
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
xor ebp, ebp
mov edi, ebp
movups xmmword [0x1401123a0], xmm0
movups xmmword [0x1401123b0], xmm0
movups xmmword [0x1401123c0], xmm0
call fcn.140037f60
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14004c694
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 + 0x68]
cmp rdx, 0xf
jbe 0x14004c6e6
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c6e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c6e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050524
mov qword [rsp + 0x28], rbp
lea r8, [0x14004b7e0]
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, [0x14004c510]
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, [0x140038390]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x1401123a8], 0x12
je 0x14004c946
nop word [rax + rax]
mov ecx, 0xfc
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004c946
cmp byte [0x140112f08], bpl
jne 0x14004c946
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 0x14004c7a4
lea rdx, str.Xbox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14004cb2e
mov rdx, qword [0x140112c50]
lea rcx, [0x1401123a0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
inc edi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004c7e6
lea rcx, [0x1401123a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401123a0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140112d80]
cmp rax, rcx
jne 0x14004c833
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140112c50]
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 [0x140112d80]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rbp
lea rdx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140112d80]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x48]
mov rcx, qword [0x140112d80]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x54], eax
mov rax, qword [0x140112be0]
mov qword [rax + 0xd0], rcx
mov eax, dword [0x140112fd0]
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jne 0x14004c8b2
cmp edx, dword [0x140112fd8]
jne 0x14004c8b2
mov eax, dword [0x140112fd4]
cmp dword [rsp + 0x54], eax
jne 0x14004c8b2
cmp ecx, dword [0x140112fdc]
je 0x14004c916
movups xmm0, xmmword [rsp + 0x50]
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140112d90], edx
mov dword [0x140112d94], ecx
mov dword [0x140112350], edx
xor edx, edx
mov dword [0x140112354], ecx
mov rcx, qword [0x140112c50]
movups xmmword [0x140112fd0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140112348]
lea rdx, [0x140112350]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14004b4b0
mov eax, 0x3e8
cdq
idiv dword [0x140112468]
movsxd rcx, eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
call fcn.14004ec60
cmp dword [0x1401123a8], 0x12
jne 0x14004c750
mov rcx, qword [0x140112be0]
mov qword [rsp + 0x90], rsi
test rcx, rcx
je 0x14004c963
mov rdi, qword [rcx + 0xa0]
jmp 0x14004c966
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14004c9df
mov rbx, qword [rcx + 0xa0]
test rbx, rbx
je 0x14004c9df
cmp qword [rbx], rbp
je 0x14004c9df
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14004c99d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140112be0]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14004c9ba
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140112be0]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14004c9df
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140112be0]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x14004c9f7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140112be0]
mov qword [rsi + 0x88], rbp
mov qword [rsi + 0x98], rbp
mov rsi, qword [rsp + 0x90]
test rcx, rcx
je 0x14004ca18
dec dword [rcx + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140112be0]
test rax, rax
je 0x14004ca36
mov rbx, qword [rax + 0x98]
jmp 0x14004ca39
mov rbx, rbp
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x14004ca53
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140112be0]
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rax, rax
je 0x14004ca6c
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140112be0]
mov qword [0x140112be0], rbx
call fcn.140006560
mov qword [0x140112be0], rbp
test rbx, rbx
je 0x14004cab7
mov rcx, rbx
call fcn.14001b510
mov rax, qword [0x140112be0]
test rax, rax
je 0x14004caae
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140112348]
test rcx, rcx
je 0x14004cad9
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140112348]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140112340]
test rcx, rcx
je 0x14004caeb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140112c50]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140112c18]
mov rcx, qword [0x140112c40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140050160
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor ecx, ecx
call fcn.140038320
int3