Function at 0x1400021c0
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 - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400234f0]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor ebx, ebx
mov qword [rbp + 0x1e0], rbx
movdqa xmm0, xmmword [0x14001da90]
movdqu xmmword [rbp + 0x1f0], xmm0
mov byte [rbp + 0x1e0], bl
mov qword [rbp + 0x1c0], rbx
movdqu xmmword [rbp + 0x1d0], xmm0
mov byte [rbp + 0x1c0], bl
mov qword [rbp + 0x1a0], rbx
movdqu xmmword [rbp + 0x1b0], xmm0
mov byte [rbp + 0x1a0], bl
mov qword [rbp + 0x220], rbx
movdqu xmmword [rbp + 0x230], xmm0
mov byte [rbp + 0x220], bl
mov qword [rbp + 0x180], rbx
movdqu xmmword [rbp + 0x190], xmm0
mov byte [rbp + 0x180], bl
mov qword [rbp + 0x160], rbx
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], bl
mov qword [rbp - 0x40], rbx
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], bl
mov qword [rbp + 0x140], rbx
movdqu xmmword [rbp + 0x150], xmm0
mov byte [rbp + 0x140], bl
mov qword [rbp + 0x120], rbx
movdqu xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x120], bl
mov qword [rbp + 0x100], rbx
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], bl
mov qword [rbp + 0xe0], rbx
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], bl
mov qword [rbp - 0x60], rbx
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], bl
mov qword [rbp + 0xc0], rbx
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], bl
mov qword [rbp + 0xa0], rbx
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], bl
mov qword [rbp + 0x80], rbx
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], bl
mov qword [rbp + 0x60], rbx
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], bl
mov qword [rbp + 0x40], rbx
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], bl
mov qword [rbp + 0x20], rbx
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], bl
mov qword [rbp], rbx
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], bl
mov qword [rbp - 0x20], rbx
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], bl
mov qword [rbp - 0x80], rbx
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], bl
mov qword [rbp + 0x200], rbx
movdqu xmmword [rbp + 0x210], xmm0
mov byte [rbp + 0x200], bl
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r14d, ebx
mov qword [rsp + 0x78], rbx
xor ecx, ecx
call fcn.1400095b4
mov rcx, rax
call fcn.140009454
lea r8, [0x140023470]
lea rdx, [0x140023440]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov r15d, ebx
lea rcx, [rsp + 0x68]
cmp rcx, rax
je 0x1400023f3
mov r15, qword [rax]
mov rdi, r15
mov qword [rsp + 0x68], r15
mov rsi, qword [rax + 8]
mov qword [rsp + 0x70], rsi
mov r14, qword [rax + 0x10]
mov qword [rsp + 0x78], r14
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
jmp 0x1400023fd
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140002439
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e35
call fcn.140003884
sub rsi, r15
je 0x140002cec
lea r8, [rsi - 1]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400011f0
mov r15, rdi
mov qword [rsp + 0x70], rdi
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rcx, qword [rbp - 0x60]
call fcn.14000946c
lea rcx, [rsp + 0x20]
call fcn.140001810
lea rcx, [rbp - 0x40]
cmp rcx, rax
je 0x1400024a0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400024dd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e3b
call fcn.140003884
lea r8, [0x1400234e0]
lea rdx, [0x1400234d0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rsi, rax
lea rax, [rsp + 0x68]
cmp rax, rsi
je 0x14000255f
test rdi, rdi
je 0x14000253a
sub r14, rdi
mov rax, rdi
cmp r14, 0x1000
jb 0x14000252f
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e2f
mov rdx, r14
mov rcx, rdi
call fcn.140003884
mov rdi, qword [rsi]
mov qword [rsp + 0x68], rdi
mov r15, qword [rsi + 8]
mov qword [rsp + 0x70], r15
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x78], rax
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000259b
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002596
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e2f
call fcn.140003884
sub r15, rdi
je 0x140002cec
lea r8, [r15 - 1]
mov rdx, rdi
lea rcx, [rbp + 0x120]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x40]
call fcn.1400032f0
test al, al
je 0x140002cf1
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp + 0x2a0], 4
jl 0x140002cf1
mov dword [rbp + 0x240], 0x40
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rsi, qword [rbp + 0x248]
shr rsi, 0x14
call fcn.140009428
and eax, 0x80000007
jge 0x140002623
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
movsxd rdx, eax
lea rcx, [rbp - 0x80]
call fcn.140002f50
mov edi, ebx
cmp dword [rbp - 0x70], ebx
jle 0x14000267a
nop dword [rax]
call fcn.140009428
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 - 0x80]
call fcn.140002ff0
mov byte [rax], r8b
inc edi
cmp edi, dword [rbp - 0x70]
jl 0x140002640
lea r8, [0x140021300]
lea rdx, [0x1400212f0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x1e0]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140021380]
lea rdx, [0x140021370]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140021170]
lea rdx, [0x140021150]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x1a0]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x20]
call fcn.140003110
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400019c0
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.140003070
lea rcx, [rsp + 0x48]
call fcn.140003010
lea r8, [0x140021150]
lea rdx, [0x140021100]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x160]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
cmp esi, 0x17fe
jae 0x1400028f7
lea r8, [0x1400212f0]
lea rdx, [0x1400212d0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x100]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x1400233c0]
lea rdx, [0x1400233b0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea rcx, [rbp + 0x100]
call fcn.140002fe0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140002fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea r8, [0x1400212a0]
lea rdx, [0x140021290]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140023390]
lea rdx, [0x1400232b0]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140021320]
lea rdx, [0x140021310]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140021100]
lea rdx, [0x140021010]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea rcx, [rbp + 0x20]
call fcn.140002fe0
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140002fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, [rbp - 0x20]
call fcn.140002fe0
mov rdx, rax
lea rcx, [rbp]
call fcn.140002fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, [rbp + 0x1c0]
call fcn.140002fe0
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.140002fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, [rbp + 0x160]
call fcn.140002fe0
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140002fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea r8, [0x1400232b0]
lea rdx, [0x140021380]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea rcx, [rbp + 0x140]
call fcn.140002fe0
mov rcx, rax
call fcn.14000946c
lea r8, [0x140021360]
lea rdx, [0x140021320]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140021270]
lea rdx, [0x140021240]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x1400234b0]
lea rdx, [0x140023470]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea r8, [0x140021240]
lea rdx, [0x140021180]
lea rcx, [rsp + 0x20]
call fcn.140001350
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002eb0
lea rcx, [rsp + 0x20]
call fcn.140002e50
mov r8, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub r8, rdi
je 0x140002cec
dec r8
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.1400011f0
mov qword [rsp + 0x70], rdi
lea rcx, [rbp + 0xc0]
call fcn.140002fe0
mov rcx, rax
call fcn.14000946c
lea rcx, [rbp + 0xa0]
call fcn.140002fe0
mov rcx, rax
call fcn.14000946c
lea rcx, [rbp + 0x80]
call fcn.140002fe0
mov rcx, rax
call fcn.14000946c
lea rcx, [rbp + 0x60]
call fcn.140002fe0
mov rcx, rax
call fcn.14000946c
jmp 0x140002cf1
mov ebx, 0xffffffff
lea rcx, [rsp + 0x68]
call fcn.140002e50
nop
lea rcx, [rbp + 0x200]
call fcn.140003010
nop
lea rcx, [rbp - 0x80]
call fcn.140003010
nop
lea rcx, [rbp - 0x20]
call fcn.140003010
nop
lea rcx, [rbp]
call fcn.140003010
nop
lea rcx, [rbp + 0x20]
call fcn.140003010
nop
lea rcx, [rbp + 0x40]
call fcn.140003010
nop
lea rcx, [rbp + 0x60]
call fcn.140003010
nop
lea rcx, [rbp + 0x80]
call fcn.140003010
nop
lea rcx, [rbp + 0xa0]
call fcn.140003010
nop
lea rcx, [rbp + 0xc0]
call fcn.140003010
nop
lea rcx, [rbp - 0x60]
call fcn.140003010
nop
lea rcx, [rbp + 0xe0]
call fcn.140003010
nop
lea rcx, [rbp + 0x100]
call fcn.140003010
nop
lea rcx, [rbp + 0x120]
call fcn.140003010
nop
lea rcx, [rbp + 0x140]
call fcn.140003010
nop
lea rcx, [rbp - 0x40]
call fcn.140003010
nop
lea rcx, [rbp + 0x160]
call fcn.140003010
nop
lea rcx, [rbp + 0x180]
call fcn.140003010
nop
lea rcx, [rbp + 0x220]
call fcn.140003010
nop
lea rcx, [rbp + 0x1a0]
call fcn.140003010
nop
lea rcx, [rbp + 0x1c0]
call fcn.140003010
nop
lea rcx, [rbp + 0x1e0]
call fcn.140003010
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400035d0
lea r11, [rsp + 0x3c0]
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.140009a34
nop
call fcn.140009a34
int3
call fcn.140009a34
int3