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

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xf8
mov rax, qword [0x140107080]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
lea rcx, [rbp + 7]
xor r14d, r14d
mov edi, r14d
movups xmmword [0x140107140], xmm0
lea edx, [r14 + 0xa]
movups xmmword [0x140107150], xmm0
movups xmmword [0x140107160], xmm0
call fcn.14003a3e0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14004f0b8
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 [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004f108
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f103
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f103
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6830
mov qword [rsp + 0x120], rsi
lea r8, [0x14004de90]
mov qword [rsp + 0x128], r12
xor r9d, r9d
mov qword [rsp + 0x130], r13
xor edx, edx
mov qword [rsp + 0x28], r14
xor ecx, ecx
mov qword [rsp + 0xf0], r15
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x14004eec0]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x14003ad80]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x140107148], 0x12
je 0x14004f421
movabs rbx, 0x5dc1d67dedb8ef05
movabs rsi, 0x41c77c2c5ae134ae
movabs r15, 0x38b5bf1399ca8043
movabs r12, 0x41c77c2c5ae1148e
movabs r13, 0x3496ba1c88ca8150
mov ecx, 0xfc
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004f421
cmp byte [0x140108dd8], r14b
jne 0x14004f421
cmp byte [0x1401073c4], r14b
jne 0x14004f216
lea rcx, [rbp - 0x51]
call fcn.14003ab20
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140108808], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140108828], xmm0
movups xmmword [0x140108818], 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 0x14004f28e
mov qword [rbp - 0x79], r15
lea rdx, [rbp - 0x79]
mov qword [rbp - 0x71], r12
lea rcx, [rbp - 0x69]
movdqa xmm0, xmmword [rbp - 0x79]
movabs rax, 0x41c77c2c2d8e50c0
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x61], rax
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rsi
xorps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x79], xmm0
movdqa xmm0, xmmword [rbp - 0x69]
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rsi
xorps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x69], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14004f618
mov rdx, qword [0x1401087c0]
lea rcx, [0x140107140]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
inc edi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004f2d0
lea rcx, [0x140107140]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140107140]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1401088e0]
cmp rax, rcx
jne 0x14004f31f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401087c0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401088e0]
xorps xmm0, xmm0
mov qword [rbp - 0x29], r14
lea rdx, [rbp - 0x21]
movups xmmword [rbp - 0x21], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1401088e0]
lea rdx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x29]
mov rcx, qword [0x1401088e0]
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x25]
mov dword [rbp - 0x1d], eax
mov rax, qword [0x140108760]
mov qword [rax + 0x120], rcx
mov eax, dword [0x140108df0]
mov ecx, dword [rbp - 0x15]
mov edx, dword [rbp - 0x19]
cmp dword [rbp - 0x21], eax
jne 0x14004f392
cmp edx, dword [0x140108df8]
jne 0x14004f392
mov eax, dword [0x140108df4]
cmp dword [rbp - 0x1d], eax
jne 0x14004f392
cmp ecx, dword [0x140108dfc]
je 0x14004f3f3
movups xmm0, xmmword [rbp - 0x21]
mov r9d, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x29]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1401088f0], edx
mov dword [0x1401088f4], ecx
mov dword [0x1401070f0], edx
xor edx, edx
mov dword [0x1401070f4], ecx
mov rcx, qword [0x1401087c0]
movups xmmword [0x140108df0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1401070e8]
lea rdx, [0x1401070f0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14004db60
mov eax, 0x3e8
cdq
idiv dword [0x1401073c8]
movsxd rcx, eax
mov qword [rbp - 0x59], rcx
lea rcx, [rbp - 0x59]
call fcn.140057b90
cmp dword [0x140107148], 0x12
jne 0x14004f1c1
mov rcx, qword [0x140108760]
test rcx, rcx
je 0x14004f436
mov rdi, qword [rcx + 0xf0]
jmp 0x14004f439
mov rdi, r14
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14004f4b5
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x14004f4b5
cmp qword [rbx], r14
je 0x14004f4b5
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14004f470
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140108760]
mov qword [rbx + 8], r14
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14004f48d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140108760]
mov qword [rbx + 0x10], r14
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14004f4b5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140108760]
mov qword [rbx + 0x18], r14
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], r14
mov rdx, qword [rdi]
test rdx, rdx
je 0x14004f4cd
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140108760]
mov qword [rsi + 0xd8], r14
mov qword [rsi + 0xe8], r14
test rcx, rcx
je 0x14004f4e6
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140108760]
test rax, rax
je 0x14004f504
mov rbx, qword [rax + 0xe8]
jmp 0x14004f507
mov rbx, r14
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x14004f521
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140108760]
mov qword [rdi + 0xd0], r14
mov qword [rdi + 0xe0], r14
test rax, rax
je 0x14004f53a
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140108760]
mov rcx, rbx
call fcn.140008510
cmp qword [0x140108760], rbx
jne 0x14004f562
mov qword [0x140108760], r14
test rbx, rbx
je 0x14004f58a
mov rcx, rbx
call fcn.140017210
mov rax, qword [0x140108760]
test rax, rax
je 0x14004f581
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1401070e8]
test rcx, rcx
je 0x14004f5ac
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401070e8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401070e0]
test rcx, rcx
je 0x14004f5be
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401087c0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140108788]
mov rcx, qword [0x1401087b0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov r13, qword [rsp + 0x130]
mov r12, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
mov r15, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c6740
add rsp, 0xf8
pop r14
pop rdi
pop rbx
pop rbp
ret
xor ecx, ecx
call fcn.14003a7b0
int3