Function at 0x1400424c0
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x370
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x1401a9600]
xor rax, rsp
mov qword [rbp + 0x218], rax
mov rcx, qword [0x140231ba0]
add rcx, 0x1221b738
call fcn.140044d20
mov qword [0x140231c20], rax
mov qword [0x140231bc8], rax
call fcn.140039ea0
lea rcx, [rax + 0x38]
call fcn.140044d20
mov rcx, rax
call fcn.140044d20
mov qword [0x140231c30], rax
call fcn.140039da0
mov qword [0x140231c28], rax
mov qword [0x140231bd0], rax
lea rcx, [rax + 0x338]
call fcn.140044d20
mov rcx, rax
mov qword [0x140231c50], rax
call fcn.1400396d0
mov rcx, qword [0x140231c50]
mov qword [0x140231c38], rax
call fcn.140038810
call fcn.140039fa0
mov qword [0x140231c40], rax
call fcn.1400398d0
movss xmm10, dword [0x140172e08]
xorps xmm0, xmm0
movups xmmword [0x140231bd8], xmm0
mov qword [0x140231c58], rax
xor r15d, r15d
movups xmmword [0x140231be8], xmm0
movups xmmword [0x140231bf8], xmm0
nop word [rax + rax]
mov rdx, qword [0x140231c08]
lea rcx, [0x140231bd8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140042610
lea rcx, [0x140231bd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140231bd8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140231bc0]
cmp rax, rcx
jne 0x14004265f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140231c08]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140231bc0]
xorps xmm0, xmm0
mov qword [rbp + 0x1e8], r15
lea rdx, [rbp + 0x1f8]
movups xmmword [rbp + 0x1f8], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140231bc0]
lea rdx, [rbp + 0x1e8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x1e8]
lea rcx, [rbp + 0x208]
mov rbx, qword [0x140231b80]
mov dword [rbp + 0x1f8], eax
mov eax, dword [rbp + 0x1ec]
mov dword [rbp + 0x1fc], eax
mov rax, qword [0x140231bc0]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x208]
mov ecx, 1
sub eax, dword [rbp + 0x1e8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
mov eax, dword [rbp + 0x20c]
sub eax, dword [rbp + 0x1ec]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140042734
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x14004273b
mov byte [rbx + 0xe04], r15b
mov eax, dword [0x1402322f8]
mov ecx, dword [rbp + 0x204]
mov edx, dword [rbp + 0x200]
cmp dword [rbp + 0x1f8], eax
jne 0x140042773
cmp edx, dword [0x140232300]
jne 0x140042773
mov eax, dword [0x1402322fc]
cmp dword [rbp + 0x1fc], eax
jne 0x140042773
cmp ecx, dword [0x140232304]
je 0x1400427dd
movups xmm0, xmmword [rbp + 0x1f8]
mov r9d, dword [rbp + 0x1ec]
mov r8d, dword [rbp + 0x1e8]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140231d24], edx
mov dword [0x140231d20], ecx
mov dword [0x140231c60], edx
xor edx, edx
mov dword [0x140231c64], ecx
mov rcx, qword [0x140231c08]
movups xmmword [0x1402322f8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140231ca0]
lea rdx, [0x140231c60]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x140232108], r15
jne 0x1400427eb
call fcn.14002b720
mov rcx, qword [0x140232128]
lea rdx, [rbp + 0x1d8]
mov rdi, qword [0x140231b80]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x1e0]
lea rcx, [rbp + 0x210]
sub eax, dword [rbp + 0x1d8]
movd xmm1, eax
mov eax, dword [rbp + 0x1e4]
sub eax, dword [rbp + 0x1dc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x210]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140232130]
cvtsi2ss xmm0, qword [0x140232138]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140232130], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0xe14], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0xe15], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140231b80]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe17], r15b
mov byte [rdi + 0xe16], al
lea rbx, [rcx + 0xdfc]
cmp byte [rcx + 0xdb], r15b
je 0x140042916
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x1f0]
mov dword [rbp + 0x1f0], eax
cvttss2si eax, dword [rcx + 0xe00]
mov rcx, qword [0x140232128]
mov dword [rbp + 0x1f4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x1f4]
mov ecx, dword [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140232128]
jne 0x14004297a
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14004297a
mov rcx, qword [0x140232128]
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14004297a
movd xmm0, dword [rbp + 0x1d0]
movd xmm1, dword [rbp + 0x1d4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x78], r15b
je 0x140042987
mov eax, 0xffffffff
jmp 0x140042994
mov rax, qword [0x140231b80]
mov eax, dword [rax + 0x4238]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400429a7
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.14002b890
call fcn.140008780
mov rcx, qword [0x140232258]
call fcn.1400397d0
mov rdi, rax
lea rsi, [rax + 0x570]
mov rcx, rsi
call fcn.140044d20
lea rbx, [rdi + 0x580]
test rax, rax
jne 0x1400429de
mov rcx, rbx
call fcn.140044d20
lea rdx, [rax + 0x2940]
lea rcx, [rbp + 0xb0]
call fcn.140044e20
add rdi, 0x1c0
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.140044e20
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x50]
call fcn.1400381e0
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0xb0]
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
call fcn.1400381e0
lea r8, [rbp + 0x10]
movaps xmmword [rbp + 0x10], xmm6
lea rdx, [rbp - 0x30]
movaps xmmword [rbp + 0x20], xmm7
lea rcx, [rbp + 0x190]
movaps xmmword [rbp + 0x30], xmm8
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
movaps xmmword [rbp + 0x40], xmm9
call fcn.140038400
xorps xmm6, xmm6
lea r8, [rsp + 0x40]
xorps xmm7, xmm7
lea rdx, [rbp - 0x60]
xorps xmm8, xmm8
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
cvtss2sd xmm6, xmm1
shufps xmm1, xmm1, 0xaa
cvtss2sd xmm8, xmm1
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x50], xmm8
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x48], xmm7
call fcn.140039bb0
mov rcx, rsi
call fcn.140044d20
test rax, rax
jne 0x140042af0
mov rcx, rbx
call fcn.140044d20
lea rdx, [rax + 0x1920]
lea rcx, [rbp + 0xb0]
call fcn.140044e20
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.140044e20
lea r8, [rbp - 0x80]
movsd qword [rbp - 0x80], xmm6
lea rdx, [rbp - 0x50]
movsd qword [rbp - 0x78], xmm7
movsd qword [rbp - 0x70], xmm8
call fcn.140039bb0
mov rcx, rsi
call fcn.140044d20
test rax, rax
jne 0x140042b41
mov rcx, rbx
call fcn.140044d20
lea rdx, [rax + 0xde0]
lea rcx, [rbp + 0xb0]
call fcn.140044e20
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.140044e20
lea r8, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm6
lea rdx, [rbp - 0x40]
movsd qword [rsp + 0x68], xmm7
movsd qword [rsp + 0x70], xmm8
call fcn.140039bb0
call fcn.14003dae0
cmp byte [0x140232447], r15b
je 0x140042c47
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140042c47
cmp byte [0x140232441], r15b
mov eax, dword [0x140232168]
je 0x140042c0f
test eax, eax
jne 0x140042bd5
movups xmm0, xmmword [rbp - 0x60]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14003d7b0
mov eax, dword [0x140232168]
cmp eax, 1
jne 0x140042bf4
movups xmm0, xmmword [rbp - 0x50]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14003d7b0
mov eax, dword [0x140232168]
cmp eax, 2
jne 0x140042c47
movups xmm0, xmmword [rbp - 0x40]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14003d7b0
jmp 0x140042c47
test eax, eax
jne 0x140042c23
mov ecx, WSAGetLastError
call fcn.14003d370
mov eax, dword [0x140232168]
cmp eax, 1
jne 0x140042c38
mov ecx, 0x43
call fcn.14003d370
mov eax, dword [0x140232168]
cmp eax, 2
jne 0x140042c47
mov ecx, Ordinal_41
call fcn.14003d370
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140042c77
cmp byte [0x14023243e], r15b
je 0x140042c77
movsxd rax, dword [reloc.WLDAP32.dll_Ordinal_50]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.140045220
mov r8, qword [0x140231c50]
lea rdx, [rsp + 0x60]
mov r14, qword [0x140231c28]
call fcn.1400391d0
mov rbx, rax
mov rsi, rbx
mov rax, qword [rax + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140042ca3
mov rsi, qword [rbx]
cmp rax, 7
jb 0x140042d50
lea rdi, [rax + rsi]
mov edx, 0x53
lea r8, [rdi - 6]
mov rcx, rsi
sub r8, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140042d50
nop
cmp dword [rax], 0x746f6853
jne 0x140042ce6
cmp word [rax + 4], 0x7567
jne 0x140042ce6
cmp byte [rax + 6], 0x6e
je 0x140042d04
inc rax
lea r8, [rdi - 6]
sub r8, rax
mov rcx, rax
mov edx, 0x53
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140042cd0
jmp 0x140042d50
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x140042d50
lea rcx, [r14 + 0x1898]
call fcn.140044d20
test rax, rax
je 0x140042d50
mov r9d, 2
mov qword [rsp + 0x20], r15
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov r9d, 4
mov qword [rsp + 0x20], r15
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140042d8a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140042d85
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004306b
mov rcx, r8
call fcn.140123c04
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r15b
call fcn.14003b8b0
call fcn.14000b020
mov rcx, qword [0x140231ca0]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140231ca0]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140231ca0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140231ca0]
mov r9d, 1
mov dword [rsp + 0x30], r15d
xor r8d, r8d
movss dword [rsp + 0x28], xmm10
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140231ca0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140042e63
call fcn.14000b3a0
mov rax, qword [0x140231b80]
mov rcx, qword [rax + 0x4090]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002ae10
mov rcx, qword [0x140231ca0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140231ca0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140042f1e
mov rcx, qword [0x140231ca0]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140042f1e
cmp qword [0x140232118], r15
je 0x140042f02
mov rcx, qword [0x140232120]
test rcx, rcx
je 0x140042ec1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140232120], r15
mov rcx, qword [0x140232110]
test rcx, rcx
je 0x140042eda
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140232110], r15
mov rcx, qword [0x140232108]
mov rbx, qword [0x140231b80]
test rcx, rcx
je 0x140042ef3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140232108], r15
mov rax, qword [rbx + 0x58]
mov qword [rax + 8], r15
mov rcx, qword [0x140231ca0]
lea rdx, [0x140231c60]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14002b720
cmp dword [0x140231be0], 0x12
jne 0x1400425d0
cmp qword [0x140232118], r15
je 0x140042f8e
mov rcx, qword [0x140232120]
test rcx, rcx
je 0x140042f4d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140232120], r15
mov rcx, qword [0x140232110]
test rcx, rcx
je 0x140042f66
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140232110], r15
mov rcx, qword [0x140232108]
mov rbx, qword [0x140231b80]
test rcx, rcx
je 0x140042f7f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140232108], r15
mov rax, qword [rbx + 0x58]
mov qword [rax + 8], r15
mov rbx, qword [0x140231b80]
mov qword [0x140231b80], rbx
mov qword [0x140232118], r15
mov qword [0x140232128], r15
call fcn.140009de0
mov qword [0x140231b80], r15
test rbx, rbx
je 0x140042fde
mov rcx, rbx
call fcn.14001a950
mov rax, qword [0x140231b80]
test rax, rax
je 0x140042fd5
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140231ca0]
test rcx, rcx
je 0x140043000
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140231ca0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140231c10]
test rcx, rcx
je 0x140043012
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140231c08]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140231be8]
mov rcx, qword [rbp + 0x218]
xor rcx, rsp
call fcn.140123840
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3