Function at 0x140002ac0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rbp, rdx
mov rdi, rcx
mov qword [rax - 0x38], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
lea r15, [0x14035fd80]
mov eax, dword [rbx]
cmp dword [0x140361140], eax
jle 0x140002d54
lea rcx, [0x140361140]
call fcn.140009308
cmp dword [0x140361140], 0xffffffff
jne 0x140002d54
movups xmm0, xmmword [str.cdqgbnmpuknzy_a_t_b_b_b]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14000ba20]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14000ba30]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x14000ba40]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14000ba48]
mov dword [rsp + 0x78], eax
movzx eax, word [0x14000ba4c]
mov word [rsp + 0x7c], ax
movzx eax, byte [0x14000ba4e]
mov byte [rsp + 0x7e], al
mov r8d, esi
cmp dword [0x140010010], 2
jl 0x140002cb7
movdqa xmm4, xmmword [0x14000bb80]
movdqa xmm3, xmmword [0x14000bbf0]
movdqa xmm5, xmmword [str.5555]
movdqa xmm0, xmmword [0x14000bbe0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
movdqa xmm6, xmmword [0x14000bbd0]
mov edx, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x140002bd0
cmp r8d, 0x3f
jge 0x140002d00
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3f
jl 0x140002cd0
xorps xmm0, xmm0
movups xmmword [0x14035fd80], xmm0
mov qword [0x14035fd90], rsi
mov qword [0x14035fd98], rsi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140002d24
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140007f30
lea rcx, [0x14000a780]
call fcn.1400098b0
nop
lea rcx, [0x140361140]
call fcn.14000929c
lea r14, [0x14035fda0]
mov eax, dword [rbx]
cmp dword [0x140361144], eax
jle 0x140002dd7
lea rcx, [0x140361144]
call fcn.140009308
cmp dword [0x140361144], 0xffffffff
jne 0x140002dd7
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rdx, rax
mov dword [0x140361124], 0xffffffff
mov dword [0x14035fda4], eax
mov r8d, 1
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
mov dword [r14 + r8*4 + 4], edx
inc r8
cmp r8, 0x270
jb 0x140002da0
mov dword [0x14035fda0], 0x270
lea rcx, [0x140361144]
call fcn.14000929c
mov eax, dword [rbx]
cmp dword [0x14036113c], eax
jle 0x140002e1a
lea rcx, [0x14036113c]
call fcn.140009308
cmp dword [0x14036113c], 0xffffffff
jne 0x140002e1a
mov rax, qword [0x14035fd90]
dec rax
mov qword [0x140361128], rsi
mov qword [0x140361130], rax
lea rcx, [0x14036113c]
call fcn.14000929c
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
test rbp, rbp
je 0x140002ee3
mov qword [rsp + 0x30], r14
mov rsi, qword [0x140361128]
mov rdx, qword [0x140361130]
sub rdx, rsi
cmp rdx, 0xffffffffffffffff
jne 0x140002e79
mov rcx, r14
call fcn.140006ff0
mov ebx, eax
shl rbx, 0x20
mov rcx, r14
call fcn.140006ff0
mov eax, eax
or rbx, rax
jmp 0x140002e89
inc rdx
lea rcx, [rsp + 0x30]
call fcn.140008a00
mov rbx, rax
lea rcx, [rbx + rsi]
mov rax, r15
cmp qword [0x14035fd98], 0xf
cmova rax, qword [0x14035fd80]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140002ed1
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140002ec6
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002ed9
mov rcx, rdi
call fcn.1400081e0
cmp qword [rdi + 0x10], rbp
jb 0x140002e40
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rdi
ret