Function at 0x1400019c0
Capabilities:
Get memory capacity
Get system information on windows
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400222e0]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor ebx, ebx
mov qword [rbp + 0x178], rbx
movdqa xmm0, xmmword [0x14001ca90]
movdqu xmmword [rbp + 0x188], xmm0
mov byte [rbp + 0x178], bl
mov qword [rbp + 0xf8], rbx
movdqu xmmword [rbp + 0x108], xmm0
mov byte [rbp + 0xf8], bl
mov qword [rbp + 0x158], rbx
movdqu xmmword [rbp + 0x168], xmm0
mov byte [rbp + 0x158], bl
mov qword [rbp + 0xd8], rbx
movdqu xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xd8], bl
mov qword [rbp + 0x138], rbx
movdqu xmmword [rbp + 0x148], xmm0
mov byte [rbp + 0x138], bl
mov qword [rbp + 0xb8], rbx
movdqu xmmword [rbp + 0xc8], xmm0
mov byte [rbp + 0xb8], bl
mov qword [rbp + 0x98], rbx
movdqu xmmword [rbp + 0xa8], xmm0
mov byte [rbp + 0x98], bl
mov qword [rsp + 0x58], rbx
mov r15d, ebx
mov qword [rsp + 0x68], rbx
mov r14d, 0xf
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x58], bl
mov qword [rbp + 0x78], rbx
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], bl
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], r14
mov byte [rsp + 0x78], bl
mov qword [rbp + 0x58], rbx
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], bl
mov qword [rbp + 0x38], rbx
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], bl
mov qword [rbp + 0x18], rbx
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], bl
mov qword [rbp - 8], rbx
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], bl
mov qword [rbp - 0x28], rbx
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], bl
mov qword [rbp - 0x48], rbx
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], bl
mov qword [rbp - 0x68], rbx
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], bl
mov qword [rbp + 0x118], rbx
movdqu xmmword [rbp + 0x128], xmm0
mov byte [rbp + 0x118], bl
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], rbx
xor ecx, ecx
call fcn.1400088a4
mov rcx, rax
call fcn.140008744
lea rcx, [rsp + 0x20]
call fcn.140001810
lea rcx, [rsp + 0x58]
cmp rcx, rax
je 0x140001b90
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov byte [rax], bl
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x68]
nop dword [rax]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140001bcd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022ee
call fcn.140002b74
lea r8, [0x1400200a0]
lea rdx, [0x140020090]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rcx, rax
lea rax, [rsp + 0x40]
cmp rax, rcx
je 0x140001c19
mov rsi, qword [rcx]
mov qword [rsp + 0x40], rsi
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x48], rdi
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x50], rax
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
jmp 0x140001c23
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140001c5f
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022e8
call fcn.140002b74
sub rdi, rsi
jne 0x140001c6e
mov ebx, 0xffffffff
jmp 0x1400021e2
lea r8, [rdi - 1]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1400011f0
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp r14, 0x10
cmovae rcx, qword [rsp + 0x58]
cmp r15, qword [rbp - 0x78]
jne 0x1400021e2
mov r8, r15
call fcn.1400144c0
test eax, eax
jne 0x1400021e2
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp + 0x200], 4
jl 0x1400021e2
mov dword [rbp + 0x1a0], 0x40
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rsi, qword [rbp + 0x1a8]
shr rsi, 0x14
call fcn.140008718
and eax, 0x80000007
jge 0x140001d0c
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
movsxd rdx, eax
lea rcx, [rbp - 0x68]
call fcn.140002400
mov edi, ebx
cmp dword [rbp - 0x58], ebx
jle 0x140001d5c
call fcn.140008718
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub r8d, eax
add r8b, 0x61
movsxd rdx, edi
lea rcx, [rbp - 0x68]
call fcn.1400024a0
mov byte [rax], r8b
inc edi
cmp edi, dword [rbp - 0x58]
jl 0x140001d22
lea r8, [0x140020290]
lea rdx, [0x140020280]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0xf8]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x140020190]
lea rdx, [0x140020180]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0xb8]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x1400201d0]
lea rdx, [0x140020190]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0xd8]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x140022290]
lea rdx, [0x140022240]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
cmp esi, 0x17fe
jae 0x140001f96
lea r8, [0x140020020]
lea rdx, section..data
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x58]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x1400201e0]
lea rdx, [0x1400201d0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea rcx, [rbp + 0x58]
call fcn.140002490
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140002490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, [rbp + 0xd8]
call fcn.140002490
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.140002490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, [rbp + 0x98]
call fcn.140002490
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140002490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea r8, [0x140022240]
lea rdx, [0x1400202b0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea rcx, [rbp + 0x78]
call fcn.140002490
mov rcx, rax
call fcn.14000875c
lea r8, [0x1400200f0]
lea rdx, [0x1400200b0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x140020050]
lea rdx, [0x140020020]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x140020220]
lea rdx, [0x1400201e0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea r8, [0x140020180]
lea rdx, [0x140020110]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002360
lea rcx, [rsp + 0x20]
call fcn.140002300
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
sub r8, rdi
je 0x140001c64
dec r8
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400011f0
mov qword [rsp + 0x48], rdi
lea rcx, [rbp + 0x18]
call fcn.140002490
mov rcx, rax
call fcn.14000875c
lea rcx, [rbp - 8]
call fcn.140002490
mov rcx, rax
call fcn.14000875c
lea rcx, [rbp - 0x28]
call fcn.140002490
mov rcx, rax
call fcn.14000875c
lea rcx, [rbp - 0x48]
call fcn.140002490
mov rcx, rax
call fcn.14000875c
nop
lea rcx, [rsp + 0x40]
call fcn.140002300
nop
lea rcx, [rbp + 0x118]
call fcn.1400024c0
nop
lea rcx, [rbp - 0x68]
call fcn.1400024c0
nop
lea rcx, [rbp - 0x48]
call fcn.1400024c0
nop
lea rcx, [rbp - 0x28]
call fcn.1400024c0
nop
lea rcx, [rbp - 8]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x18]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x38]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x58]
call fcn.1400024c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x78]
call fcn.1400024c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x98]
call fcn.1400024c0
nop
lea rcx, [rbp + 0xb8]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x138]
call fcn.1400024c0
nop
lea rcx, [rbp + 0xd8]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x158]
call fcn.1400024c0
nop
lea rcx, [rbp + 0xf8]
call fcn.1400024c0
nop
lea rcx, [rbp + 0x178]
call fcn.1400024c0
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400028c0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140008d24
nop
call fcn.140008d24
int3