Function at 0x140067d00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140322440]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp qword [0x140326928], 0
je 0x14006826e
mov qword [rsp + 0xf8], rsi
xor esi, esi
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x140068174
mov ecx, 0x51
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140068174
cmp byte [reloc.WS2_32.dll_accept], sil
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xa0], xmm9
movsd xmm9, qword [0x1402ff210]
mov qword [rsp + 0xf0], rbx
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xb0], xmm8
je 0x140067eed
movsd xmm0, qword [0x140326980]
subsd xmm0, qword [0x1403268f8]
movss xmm6, dword [0x1402ff228]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm7, xmm0
movaps xmm1, xmm6
movsd xmm0, qword [0x140326978]
subsd xmm0, qword [0x1403268f0]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm2, qword [0x140326988]
addss xmm7, xmm0
subsd xmm2, qword [0x140326900]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x140067e0d
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140067e15
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x140322720]
lea rdx, [rbp - 0x49]
add rcx, qword [0x140326860]
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
xor eax, eax
mov r8d, Ordinal_26
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
call fcn.140063a70
mov rbx, qword [0x140322738]
movups xmm7, xmmword [0x140326978]
movsd xmm8, qword [0x140326988]
lea rcx, [rbx + 0x1ce0]
call fcn.14006bc30
lea rcx, [rbx + 0x1ce4]
call fcn.14006bc30
movsd xmm2, qword [0x1402ff360]
andps xmm2, xmmword [0x1402ff750]
cvtpd2ps xmm0, xmm6
movsd qword [rbp - 0x19], xmm8
divss xmm0, dword [0x1402ff334]
cvtps2pd xmm1, xmm0
mulss xmm0, xmm0
movaps xmm3, xmm1
movaps xmm4, xmm1
mulsd xmm1, qword [rbp - 0x39]
mulsd xmm3, qword [rbp - 0x49]
mulsd xmm4, qword [rbp - 0x41]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm7
unpckhpd xmm7, xmm7
mulsd xmm2, xmm0
addsd xmm1, xmm8
addsd xmm4, xmm7
movsd qword [0x140326978], xmm3
mulsd xmm2, xmm9
movsd qword [0x140326980], xmm4
addsd xmm2, xmm1
movsd qword [0x140326988], xmm2
jmp 0x140067f05
movsd xmm2, qword [0x140326988]
movsd xmm4, qword [0x140326980]
movsd xmm3, qword [0x140326978]
xorps xmm7, xmm7
ucomisd xmm3, xmm7
jp 0x140067f24
jne 0x140067f24
ucomisd xmm4, xmm7
jp 0x140067f24
jne 0x140067f24
ucomisd xmm2, xmm7
jp 0x140067f24
je 0x14006814a
mov ebx, dword [0x140326794]
mov eax, ebx
movsd xmm1, qword [0x1402ff230]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x1403226e8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
mov eax, dword [0x140326790]
movaps xmm8, xmm0
movsd xmm1, qword [0x1402ff230]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x1403226f0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x140067f90
sqrtsd xmm8, xmm8
jmp 0x140067f9d
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm8, xmm0
movups xmm1, xmmword [0x140326978]
lea rdx, [rbp - 0x29]
movsd xmm2, qword [0x140326988]
lea rcx, [rbp - 0x49]
movaps xmmword [rbp - 0x29], xmm1
movsd qword [rbp - 0x19], xmm2
call fcn.140063ea0
movsd xmm6, qword [rax]
ucomisd xmm6, xmm7
movsd qword [0x1403226e8], xmm6
movsd xmm1, qword [rax + 8]
movsd qword [0x1403226f0], xmm1
jp 0x140067fef
jne 0x140067fef
ucomisd xmm1, xmm7
jp 0x140067fef
je 0x14006814a
movd xmm5, ebx
cvtdq2pd xmm5, xmm5
comisd xmm5, xmm6
jb 0x14006814a
movd xmm4, dword [0x140326790]
cvtdq2pd xmm4, xmm4
comisd xmm4, xmm1
jb 0x14006814a
movd xmm0, dword [0x140322658]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm8
jbe 0x14006814a
ucomisd xmm6, xmm7
mov eax, dword [reloc.WS2_32.dll_closesocket]
mulsd xmm5, xmm9
xorps xmm3, xmm3
mulsd xmm4, xmm9
xorps xmm2, xmm2
movsd xmm9, qword [0x1402ff760]
cvtpd2ps xmm8, xmm1
jp 0x14006805a
je 0x1400680b4
comisd xmm6, xmm5
jbe 0x14006808e
movaps xmm3, xmm5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm3, xmm6
movaps xmm1, xmm5
xorps xmm3, xmm9
divsd xmm3, xmm0
movaps xmm0, xmm5
addsd xmm1, xmm3
addsd xmm0, xmm5
comisd xmm1, xmm0
jbe 0x14006808e
xorps xmm3, xmm3
comisd xmm5, xmm6
jbe 0x1400680b4
movd xmm0, eax
movaps xmm3, xmm6
subsd xmm3, xmm5
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm0
addsd xmm5, xmm3
comisd xmm7, xmm5
jbe 0x1400680b4
xorps xmm3, xmm3
xorps xmm0, xmm0
ucomiss xmm8, xmm0
jp 0x1400680bf
je 0x14006811d
cvtps2pd xmm5, xmm8
comisd xmm5, xmm4
jbe 0x1400680f7
movaps xmm2, xmm4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm5
movaps xmm1, xmm4
xorps xmm2, xmm9
divsd xmm2, xmm0
movaps xmm0, xmm4
addsd xmm1, xmm2
addsd xmm0, xmm4
comisd xmm1, xmm0
jbe 0x1400680f7
xorps xmm2, xmm2
comisd xmm4, xmm5
jbe 0x14006811d
movd xmm0, eax
movaps xmm2, xmm5
subsd xmm2, xmm4
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
addsd xmm4, xmm2
comisd xmm7, xmm4
jbe 0x14006811d
xorps xmm2, xmm2
cvttsd2si eax, xmm3
test eax, eax
jne 0x14006812d
cvttsd2si eax, xmm2
test eax, eax
je 0x14006814a
cvttsd2si r8, xmm2
xor r9d, r9d
mov ecx, 1
mov qword [rsp + 0x20], rsi
cvttsd2si rdx, xmm3
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xd0]
mov rbx, qword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xa0]
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x140068266
mov rcx, qword [0x140322660]
test rcx, rcx
je 0x140068266
movsxd rax, dword [0x1403267a0]
lea r8, [rbp - 0x29]
add rcx, qword [0x140326810]
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x29], rax
mov edx, 0x224d00
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 7]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x19], rcx
mov rcx, qword [0x1403267e8]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rax
mov qword [rbp + 7], rsi
mov qword [rbp - 0x21], 8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp qword [rbp + 7], rsi
je 0x140068266
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140068266
xorps xmm0, xmm0
mov dword [rbp - 0x29], esi
xorps xmm1, xmm1
mov dword [rbp - 0x15], 2
mov r8d, Ordinal_45
lea rdx, [rbp - 0x29]
mov ecx, 1
movdqu xmmword [rbp - 0x25], xmm0
movdqu xmmword [rbp - 0x11], xmm1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
mov dword [rbp - 0x29], esi
xorps xmm1, xmm1
mov dword [rbp - 0x15], 4
mov r8d, Ordinal_45
lea rdx, [rbp - 0x29]
mov ecx, 1
movdqu xmmword [rbp - 0x25], xmm0
movdqu xmmword [rbp - 0x11], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov rsi, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14022f770
add rsp, 0xe0
pop rbp
ret