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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400a82e8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movzx ebx, r9b
mov byte [rsp + 0x30], bl
mov rdi, r8
mov qword [rsp + 0x38], r8
mov r8, rdx
mov qword [rsp + 0x70], rdx
mov rsi, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], rdi
mov byte [rcx], 0
xor r14d, r14d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov rax, qword [rdx + 8]
test rax, rax
je 0x140039bf2
lock inc dword [rax + 8]
mov rax, qword [rdx]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 0x10], rax
add rcx, 0x18
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x140039c1f
lock inc dword [rdx + 8]
mov rdx, qword [r8 + 8]
mov rax, qword [r8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rdx, [rsp + 0x60]
call fcn.14003baf0
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsi + 0x1420], 0xffffffff
mov dword [rsi + 0xa0], eax
mov ecx, 1
lea r8, [rsi + 0xa4]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140039c60
mov dword [rsi + 0x9c], 0x270
mov dword [rsi + 0x1424], r14d
mov dword [rsi + 0x1428], 0xffffffff
xorps xmm0, xmm0
movups xmmword [rsi + 0x1430], xmm0
lea r12, [rsi + 0x1440]
mov qword [r12], r14
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r14
mov qword [rsi + 0x1458], r14
mov qword [rsi + 0x1460], r14
mov rax, qword [rdi + 8]
test rax, rax
je 0x140039cd7
lock inc dword [rax + 8]
mov rax, qword [rdi]
mov qword [rsi + 0x1458], rax
mov rax, qword [rdi + 8]
mov qword [rsi + 0x1460], rax
mov qword [rsi + 0x1468], r14
mov qword [rsi + 0x1478], r14
mov qword [rsi + 0x1480], 0xf
mov byte [rsi + 0x1468], 0
mov qword [rsi + 0x1488], r14
mov qword [rsi + 0x1498], r14
mov qword [rsi + 0x14a0], 0xf
mov byte [rsi + 0x1488], 0
mov qword [rsi + 0x14b0], r14
mov qword [rsi + 0x14c0], r14
mov qword [rsi + 0x14c8], 0xf
mov qword [rsi + 0x14d0], r14
mov qword [rsi + 0x14e0], r14
mov qword [rsi + 0x14e8], 0xf
mov qword [rsi + 0x14f0], r14
mov qword [rsi + 0x1500], r14
mov qword [rsi + 0x1508], 0xf
mov qword [rsi + 0x1510], r14
mov qword [rsi + 0x1520], r14
mov qword [rsi + 0x1528], 0xf
mov qword [rsi + 0x1530], r14
mov qword [rsi + 0x1540], r14
mov qword [rsi + 0x1548], 0xf
mov qword [rsi + 0x1550], r14
mov qword [rsi + 0x1560], r14
mov qword [rsi + 0x1568], 0xf
mov byte [rsi + 0x1570], 0
mov qword [rsi + 0x1578], r14
mov word [rsi + 0x1580], 0
mov rax, qword [rdi]
mov r15d, 0xffffffff
cmp byte [rax], 0
je 0x140039f08
mov ecx, 0x140
call fcn.14006b270
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140039e67
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_CPU_.0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_4d7fefa7594947cac6f02d81318935cc___void__struct_JobSubmit_const____ptr64_.0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rsi
lea rax, [rbp + 0x30]
mov qword [rbp + 0x68], rax
lea r9d, [r15 + 2]
lea r8, [rbp + 0x30]
mov rdx, rdi
call fcn.14004bf30
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140039e6a
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x140039e6a
mov rbx, r14
lea rdx, [rbx + 0x10]
test rdx, rdx
jne 0x140039e7d
mov qword [rsp + 0x50], r14
mov rax, r14
jmp 0x140039e8c
mov rax, qword [rdx]
movsxd rax, dword [rax + 4]
add rax, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x140039ebc
mov qword [rdx], rax
mov qword [rdx + 8], rbx
mov rcx, r14
mov qword [rsp + 0x58], rcx
add qword [r12 + 8], 0x10
jmp 0x140039ece
lea r8, [rsp + 0x50]
mov rcx, r12
call fcn.140039920
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140039f06
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140039f06
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140039f06
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
jmp 0x140039f40
test bl, bl
jne 0x140039f40
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov cl, 0xa
call fcn.14004a160
lea rdx, str.CPU_mining_disabled.
mov rcx, rbx
call fcn.140002d00
xor ecx, ecx
call fcn.14004a160
lea rdx, [0x140003c90]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rdi]
mov r13, qword [rax + 0x18]
mov rdi, qword [rax + 0x10]
cmp rdi, r13
je 0x140039fad
movzx eax, byte [rdi]
mov byte [rsp + 0x78], al
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x80]
call fcn.140004000
movzx eax, word [rdi + 0x28]
mov word [rbp - 0x60], ax
movzx eax, byte [rdi + 0x2a]
mov byte [rbp - 0x5e], al
mov eax, dword [rdi + 0x2c]
mov dword [rbp - 0x5c], eax
movss xmm0, dword [rdi + 0x30]
movss dword [rbp - 0x58], xmm0
movss xmm1, dword [rdi + 0x34]
movss dword [rbp - 0x54], xmm1
movzx ebx, byte [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140004860
test bl, bl
jne 0x14003a087
add rdi, 0x38
cmp rdi, r13
jne 0x140039f50
cmp byte [rsp + 0x30], 0
jne 0x140039fe8
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov cl, 0xa
call fcn.14004a160
lea rdx, str.No_Nvidia_GPUs_available__or_all_disabled__not_starting_Nvidia_mining
mov rcx, rbx
call fcn.140002d00
xor ecx, ecx
call fcn.14004a160
lea rdx, [0x140003c90]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14003a027
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003a027
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003a027
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14003a05a
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003a05a
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x14003a05a
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + ioctlsocket]
mov rax, rsi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14006b910
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x1d8
call fcn.14006b270
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14003a14e
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_Nvidia_.0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_4bb01a72c0c1cc4dab6e3c753022a477___void__unsigned_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_.0
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rsi
lea rax, [rbp + 0x70]
mov qword [rbp + 0xa8], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_c2a4781f671457bec7ff506db686ca9b___void__struct_JobSubmit_const____ptr64_.0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x70]
lea r8, [rbp - 0x10]
mov rdi, qword [rsp + 0x38]
mov rdx, rdi
call fcn.140051260
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14003a130
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x28], r14
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14003a156
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14003a156
mov rbx, r14
mov rdi, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
test rdx, rdx
jne 0x14003a169
mov qword [rsp + 0x38], r14
mov rax, r14
jmp 0x14003a178
mov rax, qword [rdx]
movsxd rax, dword [rax + 4]
add rax, rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x14003a1a5
mov qword [rdx], rax
mov qword [rdx + 8], rbx
mov qword [rsp + 0x40], r14
add qword [r12 + 8], 0x10
jmp 0x14003a1b7
lea r8, [rsp + 0x38]
mov rcx, r12
call fcn.140039920
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x14003a1f0
mov eax, r15d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14003a1f0
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003a1f0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
jmp 0x140039fed