Function at 0x140010450
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140098280]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
lea r15, [0x14009bf00]
mov qword [rsp + 0x50], r15
mov dword [rbp + 0x50], 0x40
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdi, qword [rbp + 0x58]
mov rbx, rdi
sub rbx, qword [rbp + 0x60]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.140077e60
lea rcx, [rsp + 0x60]
call fcn.140042490
nop
movsd xmm0, qword [str.g_QQ]
movsd qword [rsp + 0x38], xmm0
mov edx, dword [0x14008ae90]
mov dword [rsp + 0x40], edx
movzx eax, word [0x14008ae94]
mov word [rsp + 0x44], ax
mov esi, dword [0x1400982d8]
movdqa xmm7, xmmword [0x14008c3b0]
cmp byte [0x14008ae95], 0
je 0x1400106ae
xor ecx, ecx
cmp esi, 2
jl 0x140010672
movdqa xmm4, xmmword [0x14008c3f0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm6, xmmword [0x14008c3d0]
movdqa xmm2, xmmword [0x14008c310]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [str.g_QQ]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm2, xmmword [0x14008c330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movdqa xmm3, xmmword [0x14008c350]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
mov ecx, reloc.WS2_32.dll_inet_ntoa
mov eax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140010680
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140048a00
shr rbx, 0x14
mov rdx, rbx
mov rcx, rax
call fcn.140042750
mov r9, rax
movzx eax, byte [0x14008a4e4]
mov edx, dword [0x14008a4e0]
movups xmm6, xmmword [0x14008a4d0]
mov byte [rsp + 0x34], al
mov dword [rsp + 0x30], edx
movups xmmword [rsp + 0x20], xmm6
xor ecx, ecx
cmp esi, 2
jl 0x140010919
movdqa xmm4, xmmword [0x14008c3f0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm3, xmmword [0x14008c310]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov ecx, dword [0x14008c3d0]
movd xmm0, ecx
paddb xmm3, xmm0
movd eax, xmm6
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x14008c330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x14008c350]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x28]
xorps xmm3, xmm1
movd dword [rsp + 0x28], xmm3
movdqa xmm2, xmmword [0x14008c370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x2c]
xorps xmm2, xmm1
movd dword [rsp + 0x2c], xmm2
movdqa xmm3, xmmword [0x14008c380]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, edx
xorps xmm3, xmm1
movd dword [rsp + 0x30], xmm3
mov ecx, 0x14
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x15
jl 0x140010930
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.140048a00
shr rdi, 0x14
mov rdx, rdi
mov rcx, rax
call fcn.140042750
mov rcx, rax
lea rdx, [0x1400893b0]
call fcn.140048a00
nop
xorps xmm0, xmm0
movups xmmword [0x14009bf00], xmm0
mov qword [0x14009bf10], 0
mov qword [0x14009bf18], 0xf
mov byte [0x14009bf00], 0
mov dword [rsp + 0x48], 4
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400109eb
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400109eb
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x140010a1c
test cl, 4
jne 0x140010a12
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140010a12
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140010a1c
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140010a2a
mov rcx, r15
call fcn.140047a50
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.1400421c0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rdx, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rdx
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, vtable.std::ios_base.0
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x18]
call fcn.140051734
nop
mov rax, r15
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400529d0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret