Function at 0x14004bfb0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x50
mov ecx, dword [reloc.WLDAP32.dll_Ordinal_45]
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004bfd9
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x1400ef190]
cmp byte [0x1400f02ed], 0
jne 0x14004bfee
call fcn.140048f40
mov byte [0x1400f02ed], 1
mov rax, qword [0x1400f02f0]
xor edi, edi
test rax, rax
je 0x14004c005
mov rcx, qword [rax + 0xf0]
jmp 0x14004c008
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14004c029
test rax, rax
je 0x14004c029
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x14004c029
cmp qword [rcx], rdi
je 0x14004c029
call fcn.1400294a0
call fcn.140029dd0
call fcn.1400085a0
movzx eax, byte [reloc.WS2_32.dll_accept]
mov rdx, qword [0x1400f02f0]
mov byte [rdx + 0xc8], al
call fcn.1400488b0
movss xmm3, dword [0x1400f043c]
xorps xmm0, xmm0
addss xmm3, dword [0x1400de11c]
movss xmm6, dword [0x1400ddfdc]
comiss xmm3, xmm0
movss dword [0x1400f043c], xmm3
jae 0x14004c07e
mov dword [0x1400f043c], 0x3f800000
cmp byte [0x1400ef20c], dil
jne 0x14004c093
call fcn.14004a290
mov rdx, qword [0x1400f02f0]
mov eax, dword [0x1400f0434]
inc eax
mov dword [0x1400f0434], eax
cmp eax, 0x32
jle 0x14004c0ac
mov dword [0x1400f0434], edi
cmp byte [reloc.WS2_32.dll_accept], 1
jne 0x14004c13d
mov dword [rdx + 0x130], edi
mov ecx, 1
mov byte [rdx + 0x134], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004c104
mov rcx, qword [0x1400f02f0]
cmp byte [rcx + 0x130], dil
je 0x14004c0fd
movss xmm0, dword [rcx + 0x38]
mulss xmm0, xmm0
comiss xmm0, dword [rcx + 0x4a0]
setbe al
test al, al
jne 0x14004c104
mov byte [rcx + 0x130], 1
call fcn.140046c80
mov rcx, qword [0x1400f0350]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400f0350]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400f0350]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14004c162
mov rcx, qword [0x1400f0350]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400f0350]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.14000a7c0
mov rcx, qword [0x1400ef108]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400ef108]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x14004c1df
call fcn.14000ab90
mov rax, qword [0x1400f02f0]
mov rcx, qword [rax + 0x1e10]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140028de0
mov rcx, qword [0x1400ef108]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400ef108]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004c2cf
mov rcx, qword [0x1400ef108]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14004c2cf
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x1400f02f0]
test rbx, rbx
je 0x14004c28c
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x14004c28c
cmp qword [rbx], rdi
je 0x14004c28c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004c254
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004c267
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004c28c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1400f02f0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400ef108]
lea rdx, [0x1400ef110]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400f02f0]
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x14004c2cf
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14004c2cf
cmp qword [rax], rdi
je 0x14004c2cf
add rsp, 0x50
pop rdi
jmp fcn.1400294a0
add rsp, 0x50
pop rdi
ret