Function at 0x180071170
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x78]
sub rsp, 0x170
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rbp - 0x50], rax
cmp byte [0x1801e4e3e], 0
je 0x180071839
mov ecx, dword [0x1801e4dc0]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x10], r14
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
movaps xmmword [r11 - 0x58], xmm9
movaps xmmword [r11 - 0x68], xmm10
movaps xmmword [r11 - 0x78], xmm11
movaps xmmword [r11 - 0x88], xmm12
test ecx, ecx
je 0x180071855
cmp ecx, 1
jne 0x1800717e4
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180071205
mov edx, Ordinal_27
call fcn.18006f230
test eax, eax
je 0x1800717e4
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x160], r15
call fcn.1800463a0
mov ecx, eax
lea rdx, [rbp - 0x54]
call fcn.18006f900
mov r8d, dword [rbp - 0x54]
mov rdx, qword [0x1801a7908]
mov rcx, qword [0x1801a7900]
call fcn.1800d0140
mov r15, qword [0x1801a7908]
cmp rax, r15
jne 0x18007129f
movsxd rax, dword [reloc.WS2_32.dll_accept]
mov rcx, r15
sub rcx, qword [0x1801a7900]
sar rcx, 2
cmp rcx, rax
ja 0x18007129f
cmp r15, qword [0x1801a7910]
je 0x180071285
mov eax, dword [rbp - 0x54]
mov dword [r15], eax
mov r15, qword [0x1801a7908]
add r15, 4
mov qword [0x1801a7908], r15
jmp 0x18007129f
lea r8, [rbp - 0x54]
mov rdx, r15
lea rcx, [0x1801a7900]
call fcn.18002f8e0
mov r15, qword [0x1801a7908]
mov r12, qword [0x1801a7900]
mov qword [rsp + 0x188], rsi
movaps xmmword [rsp + 0xe0], xmm13
movaps xmmword [rsp + 0xd0], xmm14
movaps xmmword [rsp + 0xc0], xmm15
cmp r12, r15
je 0x180071751
movss xmm15, dword [0x1801895b4]
xor r14d, r14d
movss xmm14, dword [0x180189798]
xorps xmm9, xmm9
nop dword [rax + rax]
mov ebx, dword [r12]
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.18002ad80
xorps xmm8, xmm8
xorps xmm7, xmm7
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
mulss xmm0, xmm15
movsd qword [rbp - 0x80], xmm1
mulss xmm1, xmm15
cvtss2sd xmm8, xmm0
cvtss2sd xmm7, xmm1
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
andps xmm1, xmmword [0x180189950]
cvtps2pd xmm6, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
xorps xmm1, xmmword [0x180189980]
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm11, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm12, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
lea rcx, [rsp + 0x70]
movd xmm6, dword [reloc.WS2_32.dll_ioctlsocket]
xorps xmm13, xmm13
cvtsd2ss xmm13, xmm0
cvtdq2ps xmm6, xmm6
call fcn.18006d860
mov ecx, ebx
movsd xmm1, qword [rax + 0x10]
movaps xmm7, xmm11
mulss xmm7, xmm6
movaps xmm8, xmm12
movups xmm0, xmmword [rax]
movaps xmm10, xmm13
mulss xmm8, xmm6
mulss xmm10, xmm6
addss xmm7, xmm0
shufps xmm0, xmm0, 0xaa
addss xmm8, xmm0
movsd qword [rbp - 0x80], xmm1
addss xmm10, xmm1
call fcn.18006db80
test eax, eax
je 0x180071405
xor edx, edx
mov ecx, ebx
call fcn.18003a170
test eax, eax
je 0x180071405
xor edx, edx
mov ecx, ebx
call fcn.18003a1d0
mov ebx, eax
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov edx, ebx
call fcn.180039830
comiss xmm7, xmm9
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
movsd qword [rbp - 0x60], xmm0
jbe 0x180071442
comiss xmm1, xmm9
jbe 0x180071442
movaps xmm3, xmm7
subss xmm3, xmm1
movss dword [0x1801e6138], xmm3
jmp 0x18007144a
movss xmm3, dword [0x1801e6138]
comiss xmm9, xmm7
jbe 0x180071465
comiss xmm9, xmm1
jbe 0x180071465
movaps xmm3, xmm7
subss xmm3, xmm1
movss dword [0x1801e6138], xmm3
comiss xmm7, xmm9
jbe 0x180071480
comiss xmm9, xmm1
jbe 0x180071480
movaps xmm3, xmm7
addss xmm3, xmm1
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm7
jbe 0x18007149b
comiss xmm1, xmm9
jbe 0x18007149b
movaps xmm3, xmm7
addss xmm3, xmm1
movss dword [0x1801e6138], xmm3
comiss xmm8, xmm9
movss xmm0, dword [rbp - 0x68]
movaps xmm1, xmm3
jbe 0x1800714bf
comiss xmm0, xmm9
jbe 0x1800714bf
movaps xmm3, xmm8
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm8
jbe 0x1800714db
comiss xmm9, xmm0
jbe 0x1800714db
movaps xmm3, xmm8
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm8, xmm9
jbe 0x1800714f7
comiss xmm9, xmm0
jbe 0x1800714f7
movaps xmm3, xmm8
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm8
jbe 0x180071513
comiss xmm0, xmm9
jbe 0x180071513
movaps xmm3, xmm8
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm10, xmm9
movss xmm0, dword [rbp - 0x60]
movaps xmm2, xmm3
jbe 0x180071537
comiss xmm0, xmm9
jbe 0x180071537
movaps xmm3, xmm10
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm10
jbe 0x180071553
comiss xmm9, xmm0
jbe 0x180071553
movaps xmm3, xmm10
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm10, xmm9
jbe 0x18007156f
comiss xmm9, xmm0
jbe 0x18007156f
movaps xmm3, xmm10
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm10
jbe 0x18007158b
comiss xmm0, xmm9
jbe 0x18007158b
movaps xmm3, xmm10
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
movss xmm0, dword [0x1801a75c4]
mov ecx, ebx
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
call fcn.18006de60
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800715c8
mov edx, Ordinal_27
call fcn.18006f230
test eax, eax
je 0x180071744
mov ecx, ebx
mov edi, r14d
call fcn.180039f60
test eax, eax
jne 0x1800715ef
cmp edi, 0x19
jg 0x1800715ef
mov ecx, ebx
call fcn.1800456c0
mov ecx, ebx
inc edi
call fcn.180039f60
test eax, eax
je 0x1800715d6
call fcn.18002acc0
test eax, eax
je 0x180071630
mov ecx, ebx
call fcn.180075d70
mov ecx, eax
mov esi, eax
mov edi, r14d
call fcn.180075e10
test eax, eax
jne 0x180071629
nop
cmp edi, 0x19
jg 0x180071629
mov ecx, esi
call fcn.180075dc0
mov ecx, esi
inc edi
call fcn.180075e10
test eax, eax
je 0x180071610
mov ecx, esi
call fcn.18006f0b0
movss xmm0, dword [0x1801a7600]
mov ecx, ebx
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r14d
movss dword [rsp + 0x38], xmm9
mulss xmm12, xmm0
mov dword [rbp - 0x58], ebx
mulss xmm11, xmm0
movss dword [rsp + 0x30], xmm9
mulss xmm13, xmm0
mulss xmm12, xmm14
mulss xmm11, xmm14
mulss xmm13, xmm14
movaps xmm3, xmm12
movss dword [rsp + 0x28], xmm9
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm13
call fcn.180044670
lea rcx, [rbp - 0x58]
call fcn.180044a40
mov rax, qword [0x1801a7900]
cmp rax, qword [0x1801a7908]
je 0x1800716bb
mov qword [0x1801a7908], rax
lea rcx, [rbp - 0x58]
call fcn.180044a40
mov rax, qword [0x1801a7900]
cmp rax, qword [0x1801a7908]
je 0x1800716db
mov qword [0x1801a7908], rax
lea rcx, [rbp - 0x58]
call fcn.180044a40
movsxd rcx, dword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1801a7900]
xorps xmm0, xmm0
mov rdx, qword [0x1801a7910]
mov qword [0x1801a7910], r14
movdqu xmmword [0x1801a7900], xmm0
test rcx, rcx
je 0x180071744
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18007173f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18007184e
mov rcx, r8
call fcn.1800d0704
add r12, 4
cmp r12, r15
jne 0x1800712f0
mov edx, 0x105
mov ecx, 2
call fcn.18002fc50
test eax, eax
je 0x180071781
movd xmm0, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1801a75a8]
cvttss2si eax, xmm0
mov dword [reloc.WS2_32.dll_ioctlsocket], eax
mov edx, 0x106
mov ecx, 2
call fcn.18002fc50
test eax, eax
je 0x1800717b1
movd xmm0, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1801a75a8]
cvttss2si eax, xmm0
mov dword [reloc.WS2_32.dll_ioctlsocket], eax
movaps xmm14, xmmword [rsp + 0xd0]
movaps xmm13, xmmword [rsp + 0xe0]
mov rsi, qword [rsp + 0x188]
movaps xmm15, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0x160]
mov r12, qword [rsp + 0x198]
movaps xmm8, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm9, xmmword [rsp + 0x120]
mov r14, qword [rsp + 0x168]
movaps xmm10, xmmword [rsp + 0x110]
mov rdi, qword [rsp + 0x190]
movaps xmm11, xmmword [rsp + 0x100]
mov rbx, qword [rsp + 0x180]
movaps xmm12, xmmword [rsp + 0xf0]
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1800d0330
add rsp, 0x170
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180071877
mov edx, Ordinal_27
call fcn.18006f230
test eax, eax
je 0x1800717e4
cmp byte [0x1801e4de8], 0
je 0x180071889
cmp dword [0x1801e60e8], 0
jne 0x18007189c
call fcn.1800463a0
lea rdx, [0x1801e60e8]
mov ecx, eax
call fcn.18006f900
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18002ad80
xorps xmm8, xmm8
xorps xmm7, xmm7
movups xmm1, xmmword [rax]
movsd xmm2, qword [rax + 0x10]
mulss xmm1, dword [0x1801895b4]
movsd qword [rbp - 0x80], xmm2
mulss xmm2, dword [0x1801895b4]
cvtss2sd xmm8, xmm1
cvtss2sd xmm7, xmm2
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
andps xmm1, xmmword [0x180189950]
cvtps2pd xmm6, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
xorps xmm10, xmm10
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
xorps xmm1, xmmword [0x180189980]
cvtss2sd xmm1, xmm1
mulsd xmm1, xmm6
cvtsd2ss xmm10, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm11, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
lea rcx, [rsp + 0x70]
xorps xmm12, xmm12
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [0x1801a76a0]
cvtsd2ss xmm12, xmm0
call fcn.18006d860
mov ecx, dword [0x1801e60e8]
movsd xmm1, qword [rax + 0x10]
movaps xmm8, xmm10
mulss xmm8, xmm7
movaps xmm9, xmm11
movups xmm0, xmmword [rax]
mulss xmm9, xmm7
mulss xmm7, xmm12
addss xmm8, xmm0
shufps xmm0, xmm0, 0xaa
addss xmm9, xmm0
movsd qword [rbp - 0x80], xmm1
addss xmm7, xmm1
call fcn.18006db80
test eax, eax
je 0x1800719c3
mov ecx, dword [0x1801e60e8]
xor edx, edx
call fcn.18003a170
test eax, eax
je 0x1800719c3
mov ecx, dword [0x1801e60e8]
xor edx, edx
call fcn.18003a1d0
mov dword [0x1801e60e8], eax
jmp 0x1800719c9
mov eax, dword [0x1801e60e8]
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov edx, eax
call fcn.180039830
xorps xmm6, xmm6
comiss xmm8, xmm6
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
movsd qword [rbp - 0x60], xmm0
jbe 0x180071a09
comiss xmm1, xmm6
jbe 0x180071a09
movaps xmm3, xmm8
subss xmm3, xmm1
movss dword [0x1801e6138], xmm3
jmp 0x180071a11
movss xmm3, dword [0x1801e6138]
comiss xmm6, xmm8
jbe 0x180071a2c
comiss xmm6, xmm1
jbe 0x180071a2c
movaps xmm3, xmm8
subss xmm3, xmm1
movss dword [0x1801e6138], xmm3
comiss xmm8, xmm6
jbe 0x180071a47
comiss xmm6, xmm1
jbe 0x180071a47
movaps xmm3, xmm8
addss xmm3, xmm1
movss dword [0x1801e6138], xmm3
comiss xmm6, xmm8
jbe 0x180071a62
comiss xmm1, xmm6
jbe 0x180071a62
movaps xmm3, xmm8
addss xmm3, xmm1
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm6
movss xmm0, dword [rbp - 0x68]
movaps xmm1, xmm3
jbe 0x180071a85
comiss xmm0, xmm6
jbe 0x180071a85
movaps xmm3, xmm9
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm6, xmm9
jbe 0x180071aa0
comiss xmm6, xmm0
jbe 0x180071aa0
movaps xmm3, xmm9
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm9, xmm6
jbe 0x180071abb
comiss xmm6, xmm0
jbe 0x180071abb
movaps xmm3, xmm9
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm6, xmm9
jbe 0x180071ad6
comiss xmm0, xmm6
jbe 0x180071ad6
movaps xmm3, xmm9
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm7, xmm6
movss xmm0, dword [rbp - 0x60]
movaps xmm2, xmm3
jbe 0x180071af7
comiss xmm0, xmm6
jbe 0x180071af7
movaps xmm3, xmm7
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm6, xmm7
jbe 0x180071b10
comiss xmm6, xmm0
jbe 0x180071b10
movaps xmm3, xmm7
subss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm7, xmm6
jbe 0x180071b29
comiss xmm6, xmm0
jbe 0x180071b29
movaps xmm3, xmm7
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
comiss xmm6, xmm7
jbe 0x180071b42
comiss xmm0, xmm6
jbe 0x180071b42
movaps xmm3, xmm7
addss xmm3, xmm0
movss dword [0x1801e6138], xmm3
movss xmm0, dword [0x1801a75c4]
mov ecx, dword [0x1801e60e8]
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
call fcn.18006de60
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180071b83
mov edx, Ordinal_27
call fcn.18006f230
test eax, eax
je 0x180071c7d
mov edi, dword [0x1801e60e8]
xor r14d, r14d
mov ecx, edi
mov ebx, r14d
call fcn.180039f60
test eax, eax
jne 0x180071bb9
nop word [rax + rax]
cmp ebx, 0x19
jg 0x180071bb9
mov ecx, edi
call fcn.1800456c0
mov ecx, edi
inc ebx
call fcn.180039f60
test eax, eax
je 0x180071ba0
call fcn.18002acc0
test eax, eax
je 0x180071c00
mov ecx, edi
call fcn.180075d70
mov ecx, eax
mov edi, eax
mov ebx, r14d
call fcn.180075e10
test eax, eax
jne 0x180071bf9
nop dword [rax]
cmp ebx, 0x19
jg 0x180071bf9
mov ecx, edi
call fcn.180075dc0
mov ecx, edi
inc ebx
call fcn.180075e10
test eax, eax
je 0x180071be0
mov ecx, edi
call fcn.18006f0b0
movss xmm1, dword [0x1801a7600]
movss xmm0, dword [0x180189798]
mov ecx, dword [0x1801e60e8]
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r14d
movss dword [rsp + 0x38], xmm6
mulss xmm11, xmm1
mulss xmm10, xmm1
movss dword [rsp + 0x30], xmm6
mulss xmm12, xmm1
mulss xmm11, xmm0
mulss xmm10, xmm0
mulss xmm12, xmm0
movaps xmm3, xmm11
movss dword [rsp + 0x28], xmm6
movaps xmm2, xmm10
movss dword [rsp + 0x20], xmm12
call fcn.180044670
mov eax, dword [0x1801e60f4]
mov dword [0x1801e60e8], eax
mov edx, 0x105
mov ecx, 2
call fcn.18002fc50
test eax, eax
je 0x180071cad
movd xmm0, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1801a75a8]
cvttss2si eax, xmm0
mov dword [reloc.WS2_32.dll_ioctlsocket], eax
mov edx, 0x106
mov ecx, 2
call fcn.18002fc50
test eax, eax
je 0x1800717e4
movd xmm0, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1801a75a8]
cvttss2si eax, xmm0
mov dword [reloc.WS2_32.dll_ioctlsocket], eax
jmp 0x1800717e4