Function at 0x1800a0fe0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Log keystrokes via polling

Disassembly:
push rbx
mov eax, 0x1490
call fcn.1800b0040
sub rsp, rax
movaps xmmword [rsp + 0x1450], xmm9
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1410], xmm13
mov rax, qword [0x180118028]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
cmp byte [0x1801186cc], 0
xorps xmm9, xmm9
movss xmm10, dword [0x180103c08]
movss xmm13, dword [0x180103f04]
jne 0x1800a107c
cmp byte [0x18011abe8], 0
je 0x1800a107c
lea rcx, [0x18011b480]
call fcn.18008fc60
xorps xmm1, xmm1
mov eax, eax
cvtsi2ss xmm1, rax
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
mulss xmm1, xmm13
addss xmm1, xmm9
cvttss2si eax, xmm1
cmp eax, 0x50
jle 0x1800a1090
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1800a10a0
xorps xmm0, xmm0
jmp 0x1800a1558
mov qword [rsp + 0x14b0], rdi
lea rcx, [0x18011b480]
movaps xmmword [rsp + 0x1480], xmm6
movaps xmmword [rsp + 0x1470], xmm7
movaps xmmword [rsp + 0x1460], xmm8
movaps xmmword [rsp + 0x1430], xmm11
movaps xmmword [rsp + 0x1420], xmm12
call fcn.18008fc60
mov r8d, dword [0x1801186bc]
xorps xmm0, xmm0
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, r8d
cdq
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, dword [0x180103e1c]
addss xmm0, dword [0x180103da8]
cvttss2si ecx, xmm0
idiv ecx
cmp byte [0x1801186d8], 0
mov edi, eax
je 0x1800a1653
movss xmm1, dword [0x180103e60]
mov qword [rsp + 0x14a0], rbp
mov qword [rsp + 0x14a8], rsi
movaps xmmword [rsp + 0x1400], xmm14
movss xmm14, dword [0x180103cc4]
movd xmm6, r8d
movaps xmm0, xmm14
movaps xmmword [rsp + 0x13f0], xmm15
cvtdq2ps xmm6, xmm6
call fcn.18009a7a0
mov ebx, dword [0x18011abdc]
lea rcx, [0x18011b480]
inc dword [0x18011abd4]
inc ebx
mov dword [0x18011abdc], ebx
divss xmm6, xmm0
cvttss2si edi, xmm6
call fcn.18008fc60
mov eax, eax
lea rcx, [0x18011b480]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, xmm13
addss xmm0, xmm14
cvttss2si esi, xmm0
call fcn.18008fc60
mov eax, eax
movsd xmm8, qword [0x180103dc8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, 0x68db8bad
imul ebx
subss xmm0, xmm9
sar edx, 0xc
addss xmm0, xmm9
mov eax, edx
shr eax, 0x1f
add edx, eax
mulss xmm0, xmm10
mulss xmm0, xmm13
addss xmm0, xmm14
cvttss2si ebp, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm7, xmm0
movaps xmm1, xmm14
xorps xmm0, xmm0
call fcn.18009a7a0
movd xmm1, dword [0x18011abdc]
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm1, dword [0x180103cf8]
movaps xmm6, xmm0
movss xmm0, dword [0x180103c64]
call fcn.18009a7a0
xorps xmm2, xmm2
addsd xmm7, xmm7
cvtss2sd xmm2, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
mulsd xmm2, xmm6
addss xmm0, dword [0x1801186b8]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x180103e00]
addsd xmm1, xmm2
cvtpd2ps xmm12, xmm1
movsd xmm1, qword [0x180103de0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
mov eax, 0x66666667
imul dword [0x18011abd4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movd xmm1, edx
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm8
mulsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
lea rcx, [0x18011b480]
movaps xmm2, xmm0
call fcn.18008fc60
movss xmm7, dword [0x180103e88]
xorps xmm1, xmm1
mov eax, eax
cvtsi2ss xmm1, rax
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
mulss xmm1, xmm7
addss xmm1, xmm7
cvttss2si eax, xmm1
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm0
movd xmm0, dword [0x18011abdc]
cvtdq2pd xmm0, xmm0
cvtsd2ss xmm1, xmm2
mulsd xmm0, xmm8
cvtps2pd xmm6, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
lea rcx, [rsp + 0x20]
xor eax, eax
mov dword [rsp + 0x20], 0x18
mulsd xmm6, xmm0
xorps xmm0, xmm0
mov dword [rsp + 0x34], eax
movups xmmword [rsp + 0x24], xmm0
cvtpd2ps xmm15, xmm6
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x1800a1375
mov rax, qword [rsp + 0x28]
add rax, 0xffffffffffff3caf
cmp rax, 0xc34e
jbe 0x1800a143a
cmp esi, 6
jg 0x1800a143a
mov eax, dword [0x1801186dc]
cmp dword [0x18011abd4], eax
jle 0x1800a143a
lea rcx, [0x18011b480]
mov dword [0x18011abd4], 0
call fcn.18008fc60
xorps xmm0, xmm0
mov eax, eax
lea rcx, [0x18011b480]
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, xmm7
addss xmm0, dword [0x180103e64]
cvttss2si eax, xmm0
movss xmm0, dword [0x180103f74]
divss xmm0, xmm12
mov dword [0x1801186dc], eax
cvtps2pd xmm1, xmm0
divsd xmm1, qword [0x180103d80]
cvtpd2ps xmm2, xmm1
call fcn.18008fc60
mov eax, eax
movss xmm0, dword [0x180103f2c]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
subss xmm0, xmm2
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
mulss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm2
cvttss2si eax, xmm1
cvtsi2ss xmm0, eax
jmp 0x1800a1503
lea rcx, [0x18011b480]
cmp ebp, 0x50
jg 0x1800a1600
mov eax, 0x3e8
sub eax, edi
movd xmm11, eax
lea eax, [rdi + 0x3e8]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
cvtdq2ps xmm11, xmm11
call fcn.18008fc60
mov eax, eax
lea rcx, [0x18011b480]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, xmm13
addss xmm0, xmm14
cvttss2si eax, xmm0
cmp eax, 0x41
jg 0x1800a1584
call fcn.18008fc60
movss xmm1, dword [0x180103dd8]
subss xmm8, xmm11
xorps xmm0, xmm0
mov eax, eax
xorps xmm6, xmm6
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, xmm8
addss xmm0, xmm11
cvttss2si eax, xmm0
movss xmm0, dword [0x180103d60]
cvtsi2ss xmm6, eax
divss xmm6, xmm12
addss xmm6, xmm15
call fcn.18009a7a0
divss xmm6, xmm0
movaps xmm0, xmm6
movaps xmm14, xmmword [rsp + 0x1400]
mov rbp, qword [rsp + 0x14a0]
mov rsi, qword [rsp + 0x14a8]
movaps xmm15, xmmword [rsp + 0x13f0]
movaps xmm7, xmmword [rsp + 0x1470]
movaps xmm6, xmmword [rsp + 0x1480]
mov rdi, qword [rsp + 0x14b0]
movaps xmm8, xmmword [rsp + 0x1460]
movaps xmm11, xmmword [rsp + 0x1430]
movaps xmm12, xmmword [rsp + 0x1420]
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1800aed10
lea r11, [rsp + 0x1490]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop rbx
ret
call fcn.18008fc60
movss xmm1, dword [0x180103cd0]
xorps xmm6, xmm6
mov eax, eax
movaps xmm0, xmm14
cvtsi2ss xmm6, rax
subss xmm6, xmm9
addss xmm6, xmm9
call fcn.18009a7a0
xorps xmm1, xmm1
mulss xmm6, xmm10
subss xmm8, xmm11
movaps xmm7, xmm0
movss xmm0, dword [0x180103d60]
mulss xmm7, xmm15
mulss xmm8, xmm6
addss xmm8, xmm11
cvttss2si eax, xmm8
cvtsi2ss xmm1, eax
divss xmm1, xmm12
addss xmm7, xmm1
movss xmm1, dword [0x180103dd8]
call fcn.18009a7a0
divss xmm7, xmm0
movaps xmm0, xmm7
jmp 0x1800a1503
call fcn.18008fc60
movss xmm1, dword [0x180103db8]
xorps xmm0, xmm0
mov eax, eax
xorps xmm6, xmm6
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, dword [0x180103eb0]
addss xmm0, dword [0x180103f70]
cvttss2si eax, xmm0
movss xmm0, dword [0x180103d98]
cvtsi2ss xmm6, eax
divss xmm6, xmm12
jmp 0x1800a14f7
cmp byte [0x18011abe8], 0
je 0x1800a19ea
inc dword [0x18011abdc]
inc dword [0x18011abd4]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
xorps xmm0, xmm0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x180103e90]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.18009aa40
movaps xmm6, xmm0
addss xmm6, dword [0x180103f5c]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
lea rcx, [0x18011b480]
divsd xmm1, qword [0x180103ec0]
cvtpd2ps xmm2, xmm1
call fcn.18008fc60
mov eax, eax
movss xmm11, dword [0x180103cc4]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
movaps xmm0, xmm11
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
addss xmm1, xmm1
addss xmm1, xmm11
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm2
call fcn.18009aa40
movd xmm1, dword [0x18011abdc]
movaps xmm8, xmm0
movss xmm0, dword [0x180103ea4]
addss xmm8, dword [0x1801186b8]
cvtdq2ps xmm1, xmm1
call fcn.18009aa40
movaps xmm12, xmm0
mov dword [rsp + 0x20], 0x18
andps xmm12, xmmword [0x1801044b0]
lea rcx, [rsp + 0x20]
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x24], xmm1
mov dword [rsp + 0x34], eax
call qword [sym.imp.USER32.dll_GetCursorInfo]
movss xmm13, dword [0x180103f08]
test eax, eax
je 0x1800a1790
mov rax, qword [rsp + 0x28]
add rax, 0xffffffffffff3caf
cmp rax, 0xc34e
jbe 0x1800a181e
nop dword [rax + rax]
lea rcx, [0x18011b480]
call fcn.18008fc60
xorps xmm0, xmm0
mov eax, eax
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, xmm13
addss xmm0, xmm9
cvttss2si eax, xmm0
cmp eax, 4
jg 0x1800a181e
movss xmm2, dword [0x180103f58]
lea rcx, [0x18011b480]
divss xmm2, xmm8
call fcn.18008fc60
mov eax, eax
movss xmm0, dword [0x180103f30]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
subss xmm0, xmm2
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
mulss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm2
cvttss2si eax, xmm1
cvtsi2ss xmm0, eax
jmp 0x1800a1525
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x13d4], 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rsp + rbx*4 + 0x54], eax
inc rbx
cmp rbx, 0x270
jb 0x1800a1840
movsd xmm0, qword [0x180103d90]
xorps xmm1, xmm1
movsd xmm7, qword [0x180103db0]
movabs rax, 0x4000000000000000
ucomisd xmm1, xmm7
mov dword [rsp + 0x50], 0x270
mov qword [rsp + 0x28], rax
movsd qword [rsp + 0x20], xmm0
movsd xmm0, qword [0x180103d48]
movsd qword [rsp + 0x30], xmm0
ja 0x1800a18a9
sqrtpd xmm0, xmm7
jmp 0x1800a18b1
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movabs rax, 0x3ff0000000000000
movsd qword [rsp + 0x38], xmm0
lea r8, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
call fcn.1800a3ab0
lea rcx, [0x18011b480]
mulsd xmm0, xmm7
call fcn.18008fc60
xorps xmm1, xmm1
mov eax, eax
cvtsi2ss xmm1, rax
cvttsd2si eax, xmm0
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
mulss xmm1, dword [0x180103e64]
addss xmm1, xmm11
cvttss2si ecx, xmm1
add ecx, eax
movd xmm1, ecx
lea rcx, [0x18011b480]
cvtdq2pd xmm1, xmm1
call fcn.18008fc60
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, dword [0x180103e60]
addss xmm0, xmm11
cvttss2si eax, xmm0
cmp eax, 3
jg 0x1800a198a
mov eax, dword [0x18011a398]
cmp eax, 2
jge 0x1800a198a
movd xmm0, dword [0x1801186d4]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x1800a1979
addsd xmm1, xmm0
inc eax
mov dword [0x18011a398], eax
cvtpd2ps xmm0, xmm1
jmp 0x1800a1525
lea rcx, [0x18011b480]
mov dword [0x18011a398], 0
divss xmm6, xmm8
call fcn.18008fc60
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm9
addss xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, xmm13
addss xmm0, xmm9
cvttss2si eax, xmm0
xorps xmm0, xmm0
cmp eax, 0x2d
jg 0x1800a19d9
addss xmm6, xmm12
cvtss2sd xmm0, xmm6
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x1800a1525
cmp byte [0x18011abda], 0
je 0x1800a1a14
inc dword [0x18011abdc]
movss xmm0, dword [0x180103f58]
inc dword [0x18011abd4]
divss xmm0, dword [0x1801186b8]
jmp 0x1800a1525
cmp byte [0x18011abe1], 0
je 0x1800a1a6f
mov eax, dword [0x18011a30c]
inc dword [0x18011abdc]
inc eax
inc dword [0x18011abd4]
mov dword [0x18011a30c], eax
and eax, 0x80000001
jge 0x1800a1a45
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, ebx
jne 0x1800a1a56
movss xmm0, dword [0x180103cc4]
jmp 0x1800a1525
movss xmm0, dword [0x180103f58]
divss xmm0, dword [0x1801186b8]
addss xmm0, xmm0
jmp 0x1800a1525
cmp byte [0x18011a308], 0
je 0x1800a1525
mov rdx, qword [0x18011aac0]
mov rbx, qword [0x18011aab8]
movsxd r8, dword [0x18011abdc]
sub rdx, rbx
sar rdx, 2
lea rcx, [rdx - 1]
cmp r8, rcx
jne 0x1800a1b03
xorps xmm2, xmm2
test rdx, rdx
js 0x1800a1ab0
cvtsi2ss xmm2, rdx
jmp 0x1800a1ac5
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm2, rax
addss xmm2, xmm2
lea rcx, [0x18011b480]
call fcn.18008fc60
subss xmm2, dword [0x180103cc4]
xorps xmm1, xmm1
mov eax, eax
cvtsi2ss xmm1, rax
subss xmm1, xmm9
addss xmm1, xmm9
mulss xmm1, xmm10
mulss xmm1, xmm2
addss xmm1, dword [0x180103cc4]
cvttss2si r8d, xmm1
cmp byte [0x18011820b], 0
je 0x1800a1b1f
mov eax, dword [rbx + 4]
cmp eax, dword [0x180118234]
jl 0x1800a1b1f
movsxd rax, r8d
mov ecx, dword [rbx + rax*4]
jmp 0x1800a1b36
movsxd rax, r8d
movd xmm0, dword [rbx + rax*4]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x180118224]
cvttss2si ecx, xmm0
cmp ecx, dword [0x180118230]
cmovl ecx, dword [0x180118230]
inc r8d
mov dword [0x18011abdc], r8d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x1800a1525