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

Disassembly:
push rbx
mov eax, 0x1410
call fcn.1807049f0
sub rsp, rax
mov rax, qword [0x1808fed40]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
call fcn.18063a260
mov rbx, rax
cmp byte [rax + 0x428], 0
je 0x18069c4fe
call fcn.18063a260
cmp byte [rax + 0x2c0], 0
jne 0x18069c4fe
call fcn.18063a260
cmp byte [rax + 0x318], 0
jne 0x18069c4fe
mov qword [rsp + 0x1428], rdi
call fcn.180639bd0
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 3]
lea rdi, [rcx + 7]
add rdi, rax
je 0x18069c4f6
mov rax, qword [rdi]
test rax, rax
je 0x18069c4f6
mov rcx, qword [rax]
test rcx, rcx
je 0x18069c4f6
cmp qword [rcx + 0x3c0], 0
je 0x18069c4f6
movabs rcx, 0xa5edc40ef369b48d
mov qword [rsp + 0x1420], rsi
call fcn.18063b5a0
mov edx, eax
movabs rcx, 0x43a66c31c68491c0
call fcn.18063b680
call fcn.18063a260
mov r8d, dword [rbx + 0x474]
mov esi, dword [rax + 0x4e4]
lea eax, [r8 - 3]
cmp eax, 3
lea ecx, [r8 + 1]
cmova ecx, r8d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18069c4c1
cmp dword [rbx + 0x474], 0
je 0x18069c4c1
cmp byte [rbx + 0x459], 0
jne 0x18069c28f
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.18069b960
mov edx, dword [rax]
mov dword [0x180901928], edx
mov eax, dword [rax + 4]
mov dword [0x18090192c], eax
jmp 0x18069c295
mov edx, dword [0x180901928]
movabs rcx, 0x7239b21a38f536ba
call fcn.18063b680
test eax, eax
je 0x18069c4df
cmp esi, 0xa2719263
je 0x18069c4df
test esi, esi
je 0x18069c4df
mov ecx, dword [rbx + 0x468]
movaps xmmword [rsp + 0x1400], xmm7
test ecx, ecx
je 0x18069c303
sub ecx, 1
je 0x18069c2fc
sub ecx, 1
je 0x18069c2f5
sub ecx, 1
je 0x18069c2ee
cmp ecx, 1
jne 0x18069c303
mov edi, dword [0x18090192c]
jmp 0x18069c308
mov edi, 0x9995
jmp 0x18069c308
mov edi, 0x2e28
jmp 0x18069c308
mov edi, 0x29d2
jmp 0x18069c308
mov edi, 0x796e
mov edx, dword [0x180901928]
mov r8d, edi
movabs rcx, 0x3f428d08be5aae31
call fcn.18063f860
mov r8d, dword [0x180901928]
lea rcx, [rsp + 0x40]
mov r9d, eax
movabs rdx, 0x46f8696933a63c9b
call fcn.18063a650
movabs rdx, 0x14d6f5678d8f1b37
lea rcx, [rsp + 0x28]
call fcn.18068f700
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rsp + 0x48]
movss xmm1, dword [0x18073fed0]
call fcn.18071a020
movss xmm1, dword [0x18073fed0]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0x28]
subss xmm0, dword [rsp + 0x40]
call fcn.18071a020
movss xmm1, dword [0x18073fed0]
addss xmm7, xmm0
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x50]
call fcn.18071a020
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18069c3b9
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18069c3c1
movaps xmm0, xmm7
call fcn.18071b19c
comiss xmm0, dword [rbx + 0x464]
movaps xmm7, xmmword [rsp + 0x1400]
ja 0x18069c4df
mov edx, dword [0x180901928]
movabs rcx, 0xeef059fad016d209
call fcn.18063b680
movd xmm1, eax
mov eax, dword [rbx + 0x470]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x18069c40c
test eax, eax
jg 0x18069c4df
call fcn.180707500
mov dword [rsp + 0x64], eax
mov edx, 1
mov dword [rsp + 0x13e4], 0xffffffff
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x18069c430
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 0x270
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.18069c520
mov eax, eax
imul rcx, rax, 0x65
cmp ecx, 0x43
ja 0x18069c48b
lea rcx, [rsp + 0x20]
call fcn.18069c520
mov eax, eax
imul rcx, rax, 0x65
cmp ecx, 0x44
jb 0x18069c476
movss xmm0, dword [rbx + 0x45c]
shr rcx, 0x20
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x18069c4df
mov ebx, dword [0x180901928]
call fcn.180639bd0
mov dword [rax + 0x220], ebx
call fcn.180639bd0
mov dword [rax + 0x21c], edi
jmp 0x18069c4ee
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.18069b960
mov ecx, dword [rax]
mov dword [0x180901928], ecx
mov eax, dword [rax + 4]
mov dword [0x18090192c], eax
call fcn.180639bd0
mov dword [rax + 0x220], 0xffffffff
mov rsi, qword [rsp + 0x1420]
mov rdi, qword [rsp + 0x1428]
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.1807045e0
add rsp, 0x1410
pop rbx
ret