Function at 0x14004ab90
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 [0x1400f0080]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
lea rcx, [rbp + 7]
xor r14d, r14d
mov edi, r14d
movups xmmword [0x1400f0160], xmm0
lea edx, [r14 + 0xa]
movups xmmword [0x1400f0170], xmm0
movups xmmword [0x1400f0180], xmm0
call fcn.1400386d0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14004abe8
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, 0xf
jbe 0x14004ac38
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ac33
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ac33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b48b0
mov qword [rsp + 0x120], rsi
lea r8, [0x140049d70]
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, [0x14004aa70]
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, [0x140039060]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x1400f0168], 0x12
je 0x14004af51
movabs rbx, 0x13c3ad91634c6525
movabs rsi, 0xa9268ac4c013124e
movabs r15, 0x76b7c4ff173e0a63
movabs r12, 0xa9268ac4c013326e
movabs r13, 0x7a94c1f0063e0b70
mov ecx, 0xfc
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004af51
cmp byte [0x1400f1880], r14b
jne 0x14004af51
cmp byte [reloc.WS2_32.dll_accept], r14b
jne 0x14004ad46
lea rcx, [rbp - 0x51]
call fcn.140038e00
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400f1358], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x1400f1378], xmm0
movups xmmword [0x1400f1368], 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 0x14004adbe
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, 0xa9268ac4b77c7620
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 0x14004b148
mov rdx, qword [0x1400f1310]
lea rcx, [0x1400f0160]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
inc edi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004ae00
lea rcx, [0x1400f0160]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400f0160]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400f1430]
cmp rax, rcx
jne 0x14004ae4f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400f1310]
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 [0x1400f1430]
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 [0x1400f1430]
lea rdx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x29]
mov rcx, qword [0x1400f1430]
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x25]
mov dword [rbp - 0x1d], eax
mov rax, qword [0x1400f12b0]
mov qword [rax + 0x120], rcx
mov eax, dword [0x1400f1890]
mov ecx, dword [rbp - 0x15]
mov edx, dword [rbp - 0x19]
cmp dword [rbp - 0x21], eax
jne 0x14004aec2
cmp edx, dword [0x1400f1898]
jne 0x14004aec2
mov eax, dword [0x1400f1894]
cmp dword [rbp - 0x1d], eax
jne 0x14004aec2
cmp ecx, dword [0x1400f189c]
je 0x14004af23
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 [0x1400f1440], edx
mov dword [0x1400f1444], ecx
mov dword [0x1400f0110], edx
xor edx, edx
mov dword [0x1400f0114], ecx
mov rcx, qword [0x1400f1310]
movups xmmword [0x1400f1890], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400f0108]
lea rdx, [0x1400f0110]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140049a40
mov eax, 0x3e8
cdq
idiv dword [0x1400f0438]
movsxd rcx, eax
mov qword [rbp - 0x59], rcx
lea rcx, [rbp - 0x59]
call fcn.140051670
cmp dword [0x1400f0168], 0x12
jne 0x14004acf1
mov rcx, qword [0x1400f12b0]
test rcx, rcx
je 0x14004af66
mov rdi, qword [rcx + 0xf0]
jmp 0x14004af69
mov rdi, r14
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14004afe5
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x14004afe5
cmp qword [rbx], r14
je 0x14004afe5
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14004afa0
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f12b0]
mov qword [rbx + 8], r14
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14004afbd
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f12b0]
mov qword [rbx + 0x10], r14
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14004afe5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f12b0]
mov qword [rbx + 0x18], r14
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], r14
mov rdx, qword [rdi]
test rdx, rdx
je 0x14004affd
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f12b0]
mov qword [rsi + 0xd8], r14
mov qword [rsi + 0xe8], r14
test rcx, rcx
je 0x14004b016
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400f12b0]
test rax, rax
je 0x14004b034
mov rbx, qword [rax + 0xe8]
jmp 0x14004b037
mov rbx, r14
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x14004b051
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400f12b0]
mov qword [rdi + 0xd0], r14
mov qword [rdi + 0xe0], r14
test rax, rax
je 0x14004b06a
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400f12b0]
mov rcx, rbx
call fcn.140007a90
cmp qword [0x1400f12b0], rbx
jne 0x14004b092
mov qword [0x1400f12b0], r14
test rbx, rbx
je 0x14004b0ba
mov rcx, rbx
call fcn.140016750
mov rax, qword [0x1400f12b0]
test rax, rax
je 0x14004b0b1
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400f0108]
test rcx, rcx
je 0x14004b0dc
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400f0108]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f0100]
test rcx, rcx
je 0x14004b0ee
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400f1310]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400f12d8]
mov rcx, qword [0x1400f1300]
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.1400b47c0
add rsp, 0xf8
pop r14
pop rdi
pop rbx
pop rbp
ret
xor ecx, ecx
call fcn.140038aa0
int3