Function at 0x140070460
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xd0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
mov rax, qword [0x140103080]
xor rax, rsp
mov qword [rsp + 0x90], rax
movss xmm6, dword [0x1400ee8fc]
mov rdi, rcx
movss xmm7, dword [0x1400ee9d4]
mov sil, 1
movss xmm8, dword [0x1400ee93c]
xor r14d, r14d
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
nop dword [rax]
mov ecx, dword [reloc.WLDAP32.dll_Ordinal_45]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400704de
cmp byte [reloc.WS2_32.dll_accept], r14b
sete byte [0x1401035d0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140070546
nop dword [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rsp + 0x58], 0x12
je 0x140070543
test sil, sil
je 0x140070546
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140070500
jmp 0x140070546
xor sil, sil
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400708b0
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x1400708b0
cmp byte [0x140103664], r14b
mov rcx, qword [rdi + 0x58]
je 0x14007057b
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x14007057d
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rax, qword [0x140104a60]
test rax, rax
je 0x140070598
mov rcx, qword [rax + 0x98]
jmp 0x14007059b
mov rcx, r14
cmp qword [rcx + 0x48], r14
jne 0x1400705a6
call fcn.1400312f0
call fcn.1400323e0
call fcn.140009090
call fcn.14004e9e0
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x14007068f
cmp byte [0x140104b80], r14b
je 0x14007068f
cmp byte [0x140104b81], r14b
je 0x14007068f
mov rax, qword [0x140104a60]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4b10]
mov rcx, qword [rcx]
call fcn.140008740
movd xmm2, dword [0x1401035f4]
mov rbx, rax
mov eax, dword [0x140104afc]
cdq
sub eax, edx
sar eax, 1
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mov eax, dword [0x140104af8]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
comiss xmm6, xmm2
movss dword [rsp + 0x30], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
ja 0x14007068f
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x1ff
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm7
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140029240
mov r8d, dword [rbx + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
call fcn.140027880
mov dword [rbx + 0x78], r14d
cmp byte [0x140103620], r14b
je 0x140070757
mov rax, qword [0x140104a60]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4b10]
mov rcx, qword [rcx]
call fcn.140008740
movups xmm0, xmmword [0x140103644]
lea rcx, [rsp + 0x40]
mov rbx, rax
movups xmmword [rsp + 0x40], xmm0
call fcn.1400046c0
mov ebp, eax
mov eax, dword [0x140104afc]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [0x140104af8]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rsp + 0x38], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x3c], xmm0
test ebp, 0xff000000
je 0x140070757
movss xmm2, dword [0x140104aa4]
comiss xmm6, xmm2
ja 0x140070757
xor r9d, r9d
mov dword [rsp + 0x20], Ordinal_50
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140028d10
mov r8d, dword [rbx + 0x78]
mov r9d, ebp
mov rdx, qword [rbx + 0x80]
dec r8d
mov rcx, rbx
mov dword [rbx + 0x78], r8d
call fcn.1400287a0
mov dword [rbx + 0x78], r14d
cmp byte [0x140104b80], r14b
jne 0x140070775
mov rcx, qword [rdi + 0x58]
mov edx, 0xffffffec
mov r8d, 0x80088
call qword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x140104b81], r14b
jne 0x14007078d
cmp byte [0x140104b80], r14b
je 0x14007078d
mov rcx, qword [rdi + 0x58]
jmp 0x1400707a0
cmp byte [reloc.WS2_32.dll_accept], r14b
mov r8d, 0x80088
mov rcx, qword [rdi + 0x58]
jne 0x1400707a6
mov r8d, 0x800a8
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x140103695], r14b
je 0x1400707cf
mov rcx, qword [rdi + 0x58]
mov edx, 0xffffffec
mov r8d, 0x80088
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.14004e9e0
call fcn.14004fab0
call fcn.140060d00
call fcn.14000ad70
call fcn.14000b170
mov rcx, qword [rdi + 0xb8]
lea r8, [rdi + 0xc8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x80], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [rdi + 0xb8]
lea r8, [rsp + 0x80]
mov rdx, qword [rdi + 0xc8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140104a60]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov rcx, r14
add rax, 0x48
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.1400306a0
mov rcx, qword [rdi + 0xc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
test sil, sil
jne 0x1400704c0
mov rbp, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d2300
lea r11, [rsp + 0xd0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rdi
call fcn.1400708d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3