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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x50
and dword [rsp + 0x30], 0
xor eax, eax
mov rbp, qword [0x1402e7f58]
mov edx, 0x7f00
mov qword [r11 - 0x24], rax
xor ecx, ecx
mov qword [r11 - 0x1c], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f8a
mov dword [0x14030d99c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f03
mov dword [0x14030d984], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f89
mov dword [0x14030d98c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f8b
mov dword [0x14030da10], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f01
mov dword [0x14030d978], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f88
mov dword [0x14030d990], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f86
mov dword [0x14030d998], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f83
mov dword [0x14030d9a0], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f85
mov dword [0x14030d988], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f82
mov dword [0x14030d980], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f84
mov dword [0x14030da14], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f04
mov dword [0x14030d97c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
mov edx, 0x7f02
mov dword [0x14030d994], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000d16c
lea rcx, [rsp + 0x30]
mov dword [0x14030d9a4], eax
mov dword [rsp + 0x30], 0x18
call qword [sym.imp.USER32.dll_GetCursorInfo]
mov rcx, qword [rsp + 0x38]
call fcn.14000d16c
mov ecx, eax
call fcn.14000d098
mov edi, 0x1d
mov dword [reloc.WS2_32.dll_connect], eax
mov ecx, edi
call fcn.1401d6c94
lea r14d, [rdi - 0x18]
mov rcx, rax
mov edx, r14d
xor r9d, r9d
xor r8d, r8d
call fcn.14009a9c8
lea ecx, [rdi + 0x3b]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, r14d
mov word [rbx], ax
call qword [sym.imp.WS2_32.dll_htons]
mov cl, byte [reloc.WS2_32.dll_connect]
xor r8d, r8d
mov byte [rbx + 4], cl
mov rdx, rbx
mov rcx, rbp
mov word [rbx + 2], ax
call fcn.1400a22dc
mov ecx, edi
call fcn.1401d6c94
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
call fcn.14009a9c8
lea ecx, [rdi - 0xb]
mov rsi, rax
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, r14d
mov word [rsi], ax
call qword [sym.imp.WS2_32.dll_htons]
lea ecx, [rdi - 9]
mov word [rsi + 2], ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov r14b, 1
lea ecx, [rdi + 0x74]
movzx ebx, ax
and bl, r14b
add bl, bl
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
mov ecx, 0x90
and dil, r14b
or dil, bl
add dil, dil
call qword [sym.imp.USER32.dll_GetKeyState]
xor r8d, r8d
mov rdx, rsi
and al, r14b
mov rcx, rbp
or al, dil
mov byte [rsi + 4], al
call fcn.1400a22dc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
and qword [rsp + 0x28], 0
mov qword [0x1402e7f28], rax
and dword [rsp + 0x20], 0
lea r8, [0x14000d6fc]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov qword [0x1402e7f48], rax
add rsp, 0x50
pop r14
ret