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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400ad028]
xor rax, rsp
mov qword [rbp + 8], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x20], rcx
mov dword [rsp + 0x28], 0
movups xmm0, xmmword [0x14009b060]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14009b070]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14009b080]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [str._bbffbbnnbbf]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14009b098]
mov dword [rsp + 0x78], eax
movzx eax, word [0x14009b09c]
mov word [rsp + 0x7c], ax
movzx eax, byte [0x14009b09e]
mov byte [rsp + 0x7e], al
xor ecx, ecx
mov qword [rsp + 0x20], rcx
lea rax, [rsp + 0x40]
mov r9d, 1
sub r9, rax
lea rax, [rsp + 0x40]
mov r10d, 2
sub r10, rax
lea rax, [rsp + 0x40]
mov r11d, 3
sub r11, rax
lea rax, [rsp + 0x40]
mov ebx, 4
sub rbx, rax
lea rax, [rsp + 0x40]
mov r14d, 5
sub r14, rax
lea rax, [rsp + 0x40]
mov r15d, 6
sub r15, rax
lea rax, [rsp + 0x40]
mov r12d, 7
sub r12, rax
lea rax, [rsp + 0x40]
mov r13d, 8
sub r13, rax
lea rdx, [rsp + 0x40]
mov eax, 9
sub rax, rdx
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x40]
mov eax, 0xa
sub rax, rdx
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x40]
mov eax, 0xb
sub rax, rdx
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x40]
mov eax, 0xc
sub rax, rdx
mov qword [rbp - 0x68], rax
lea rdx, [rsp + 0x40]
mov eax, 0xd
sub rax, rdx
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x40]
mov eax, select
sub rax, rdx
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x40]
mov eax, select
sub rax, rdx
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x40]
mov eax, select
sub rax, rdx
mov qword [rbp - 0x48], rax
lea rdx, [rsp + 0x40]
mov eax, setsockopt
sub rax, rdx
mov qword [rbp - 0x40], rax
lea rdx, [rsp + 0x40]
mov eax, reloc.WS2_32.dll_select
sub rax, rdx
mov qword [rbp - 0x38], rax
lea rdx, [rsp + 0x40]
mov eax, setsockopt
sub rax, rdx
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x40]
mov eax, setsockopt
sub rax, rdx
mov qword [rbp - 0x28], rax
movabs rax, 0x4e5e0a72f0539783
mov rsi, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x78]
nop word [rax + rax]
lea r8, [rsp + 0x40]
add r8, rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x30
xor byte [r8], al
lea rcx, [r9 + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x31
xor byte [r8 + 1], al
lea rcx, [r10 + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x32
xor byte [r8 + 2], al
lea rcx, [r11 + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x33
xor byte [r8 + 3], al
lea rcx, [rbx + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x34
xor byte [r8 + 4], al
lea rcx, [r14 + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x35
xor byte [r8 + 5], al
lea rcx, [r15 + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x36
xor byte [r8 + 6], al
lea rcx, [r12 + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x37
xor byte [r8 + 7], al
lea rcx, [r8 + r13]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x38
xor byte [r8 + 8], al
lea rcx, [rsi + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x39
xor byte [r8 + 9], al
lea rcx, [rdi + r8]
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x3a
xor byte [r8 + 0xa], al
mov rcx, qword [rbp - 0x70]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x3b
xor byte [r8 + 0xb], al
mov rcx, qword [rbp - 0x68]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x3c
xor byte [r8 + 0xc], al
mov rcx, qword [rbp - 0x60]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x3d
xor byte [r8 + 0xd], al
mov rcx, qword [rbp - 0x58]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x3e
xor byte [r8 + 0xe], al
mov rcx, qword [rbp - 0x50]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x3f
xor byte [r8 + 0xf], al
mov rcx, qword [rbp - 0x48]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x40
xor byte [r8 + 0x10], al
mov rcx, qword [rbp - 0x40]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x41
xor byte [r8 + 0x11], al
mov rcx, qword [rbp - 0x38]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x42
xor byte [r8 + 0x12], al
mov rcx, qword [rbp - 0x30]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x43
xor byte [r8 + 0x13], al
mov rcx, qword [rbp - 0x28]
add rcx, r8
movabs rax, 0x4e5e0a72f0539783
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
movsx eax, cl
imul ecx, eax, 0x31
movzx eax, byte [rsp + 0x20]
sub al, cl
add al, 0x44
xor byte [r8 + 0x14], al
mov rcx, qword [rsp + 0x20]
add rcx, 0x15
mov qword [rsp + 0x20], rcx
cmp rcx, 0x3f
movabs rax, 0x4e5e0a72f0539783
jb 0x140060130
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xor r12d, r12d
mov qword [rbp - 8], r12
mov qword [rbp], r12
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400605a0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14005a950
nop
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov qword [rsp + 0x30], rbx
mov r15d, 0x13a8
mov eax, dword [r15 + rbx]
mov r14d, 0x20
test al, 1
jne 0x14006063a
or eax, 1
mov dword [r15 + rbx], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [r14 + rbx + 0x1384], 0xffffffff
mov dword [r14 + rbx + 4], eax
mov edx, 1
lea r8, [r14 + 8]
add r8, rbx
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140060610
mov dword [r14 + rbx], 0x270
mov eax, dword [r15 + rbx]
mov ecx, 0x13b0
test al, 2
jne 0x14006065b
or eax, 2
mov dword [r15 + rbx], eax
mov qword [rbx + rcx], r12
mov qword [rbx + rcx + 8], 0x1e
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], setsockopt
mov byte [rdi], 0
mov dword [rsp + 0x28], 1
mov r13, qword [rbp]
mov r12, qword [rbp - 0x18]
cmp rsi, 0xf
jbe 0x1400606a0
mov rdx, rsi
mov rcx, rdi
call fcn.140078900
mov qword [rdi + 0x10], 0
mov ecx, 0x13b0
jmp 0x1400606a9
test rsi, rsi
je 0x140060752
add r14, rbx
nop dword [rax]
dec rsi
mov rdx, qword [rbx + rcx + 8]
mov r15, qword [rbx + rcx]
mov qword [rsp + 0x38], r14
sub rdx, r15
cmp rdx, 0xffffffffffffffff
jne 0x1400606e7
mov rcx, r14
call fcn.14007bdc0
mov ebx, eax
shl rbx, 0x20
mov rcx, r14
call fcn.14007bdc0
mov eax, eax
or rbx, rax
jmp 0x1400606f7
inc rdx
lea rcx, [rsp + 0x38]
call fcn.14007ae10
mov rbx, rax
lea rax, [rbp - 0x18]
cmp r13, 0x10
cmovae rax, r12
add rax, rbx
movzx r9d, byte [rax + r15]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140060737
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14006072c
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14006073f
mov rcx, rdi
call fcn.14005a7e0
test rsi, rsi
mov rbx, qword [rsp + 0x30]
mov ecx, 0x13b0
jne 0x1400606b0
cmp r13, 0x10
jb 0x14006078d
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140060785
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060785
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14007e620
mov rax, rdi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14007e1c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret