Function at 0x14003e0b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0xc8
mov rax, qword [0x1401d9080]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ecx, dword [reloc.WS2_32.dll_closesocket]
mov eax, dword [0x1401d9184]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
sub esi, ecx
lea edi, [rax + rcx]
mov ecx, dword [reloc.WS2_32.dll_closesocket]
mov eax, dword [0x1401d9180]
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
sub r14d, ecx
lea ebx, [rax + rcx]
mov ecx, dword [reloc.WS2_32.dll_getsockname]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003e3a5
cmp byte [0x1401dc9b8], 0
je 0x14003e3a5
mov qword [rsp + 0xf0], rbp
xor ecx, ecx
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0xc0], r15
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov qword [rsp + 0x78], rax
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ebp, ebp
mov dword [rsp + 0x90], Ordinal_50
mov r15, rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebp
sub ebx, r14d
mov dword [rsp + 0xb4], ebp
mov eax, ebx
mov qword [rsp + 0x9c], 0x200001
neg eax
mov qword [rsp + 0x88], rbp
sub edi, esi
mov dword [rsp + 0x98], eax
lea r9, [rsp + 0x88]
mov dword [rsp + 0x94], edi
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x90]
mov rcx, r12
movdqu xmmword [rsp + 0xa4], xmm0
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14003e379
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, edi
mov dword [rsp + 0x38], r14d
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r15
mov dword [rsp + 0x20], ebx
call qword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
jle 0x14003e36b
movsxd r12, edi
mov qword [rsp + 0x100], r13
lea r13d, [rdi*4]
mov r15d, ebx
lea r14, [r12*4]
neg r12
mov qword [rsp + 0x58], r14
mov r14, 0xfffffffffffffffe
mov rax, qword [rsp + 0x58]
shl r12, 2
test r13d, r13d
jle 0x14003e349
mov rax, qword [rsp + 0x88]
mov rdi, r14
movsxd rsi, r13d
lea rbx, [rax + 2]
add rbx, rbp
sub rdi, rax
movzx r9d, byte [rbx - 2]
movzx r8d, byte [rbx - 1]
movzx edx, byte [rbx]
call fcn.14003db70
test al, al
jne 0x14003e29b
add rbx, 4
lea rax, [rdi + rbx]
cmp rax, rsi
jl 0x14003e273
jmp 0x14003e344
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14003e344
lea rcx, [rsp + 0x60]
call fcn.14003ce80
mov rax, qword [rsp + 0x60]
movabs rcx, 0x7ffffffffff0bdbf
movabs rdi, 0x7fffffffffffffff
cmp rax, rcx
jge 0x14003e2e4
add rax, 0xf4240
mov qword [rsp + 0x50], rax
jmp 0x14003e2e9
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
call fcn.1400483c0
call fcn.14003d2c0
movsxd rbx, dword [reloc.WS2_32.dll_accept]
lea rcx, [rsp + 0x68]
call fcn.14003ce80
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
test rbx, rbx
jle 0x14003e33a
imul rdx, rbx, 0xf4240
mov rcx, rdi
sub rcx, rdx
cmp rax, rcx
jge 0x14003e335
lea rcx, [rdx + rax]
mov qword [rsp + 0x50], rcx
jmp 0x14003e33a
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
call fcn.1400483c0
mov rax, qword [rsp + 0x58]
add rbp, rax
add r14, r12
sub r15, 1
jne 0x14003e252
mov r13, qword [rsp + 0x100]
mov r15, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400c1ee0
add rsp, 0xc8
pop r14
pop rdi
pop rsi
pop rbx
ret