Function at 0x140003b40
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140039080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov r15d, 0xf
mov qword [rbp - 0x58], r15
mov byte [rbp - 0x70], sil
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov r14d, r15d
mov qword [rbp - 0x78], r15
mov byte [rsp + 0x70], sil
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140033268]
call fcn.140004370
mov dword [rsp + 0x20], 1
mov dword [rbp - 0x50], 0x40
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r13, qword [rbp - 0x48]
shr r13, 0x14
movzx eax, byte [0x1400414cc]
test al, al
je 0x140003ce4
lea edx, [rax - 1]
mov rbx, 0xffffffffffffffff
mov r8d, ebx
call fcn.140001730
movsxd rdx, eax
shl rdx, 0xb
lea rax, [0x14003f0c8]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003c26
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.140004370
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x140003c9e
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140003c80
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140003c7b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004203
mov rcx, r8
call fcn.14000b75c
mov byte [rdi], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdi + 0x10], xmm1
mov rdx, r15
mov byte [rsp + 0x48], 0
jmp 0x140003ca3
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140004168
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004203
call fcn.14000b75c
jmp 0x140004168
mov edx, dword [0x1400414d0]
movzx ecx, byte [0x1400414cd]
call fcn.1400019c0
mov esi, eax
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
call fcn.140001be0
mov r8d, 3
lea rdx, [0x14003326c]
mov rcx, rdi
call fcn.1400042e0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.1400042e0
mov r8d, 4
lea rdx, str.__u
mov rcx, rdi
call fcn.1400042e0
mov rbx, 0xffffffffffffffff
mov r8d, ebx
lea edx, [rbx + 5]
call fcn.140001730
movsxd rdx, eax
shl rdx, 0xa
lea rax, [0x140039cc8]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8, rbx
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003d80
lea rcx, [rbp - 0x10]
call fcn.140004370
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, rdi
call fcn.1400042e0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140003dea
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003de5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004203
call fcn.14000b75c
mov r8d, 4
lea rdx, str.__t
mov rcx, rdi
call fcn.1400042e0
lea r9, [rbp + 5]
mov r8d, esi
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140003e10
lea r8, [rbp + 5]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400047d0
mov dword [rsp + 0x20], 7
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1400042e0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140003eaf
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004203
call fcn.14000b75c
mov r8d, 1
lea rdx, [0x140033280]
mov rcx, rdi
call fcn.1400042e0
mov eax, dword [0x1400414d4]
cmp r13, rax
jae 0x140003ef9
mov r8d, 0x14
lea rdx, str.__randomx_mode_light
mov rcx, rdi
call fcn.1400042e0
mov r8d, 1
lea rdx, [0x140033280]
mov rcx, rdi
call fcn.1400042e0
lea rax, [0x1400408c8]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140003f03
mov rdx, rax
mov rcx, rdi
call fcn.1400042e0
lea rdx, [rsp + 0x70]
mov r14, qword [rbp - 0x78]
cmp r14, 0xf
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
mov r15, qword [rbp - 0x58]
cmp r15, 0xf
cmova rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
cmp r8, qword [rbp - 0x80]
jne 0x140003f53
call fcn.140026eb0
test eax, eax
je 0x140004168
mov r8d, 4
lea rdx, str.__o
mov rcx, rdi
call fcn.1400042e0
lea rdx, [rsp + 0x70]
cmp r14, 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rdi
call fcn.1400042e0
mov r8d, 4
lea rdx, str.__u
mov rcx, rdi
call fcn.1400042e0
mov r8d, ebx
mov edx, 4
call fcn.140001730
movsxd rdx, eax
shl rdx, 0xa
lea rax, [0x140039cc8]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140003fd0
lea rcx, [rbp - 0x10]
call fcn.140004370
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, rdi
call fcn.1400042e0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000403a
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004035
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004203
call fcn.14000b75c
mov r8d, 4
lea rdx, str.__t
mov rcx, rdi
call fcn.1400042e0
lea r9, [rbp + 5]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x140004060
lea r8, [rbp + 5]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400047d0
mov dword [rsp + 0x20], 0x1f
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1400042e0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400040fd
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004203
call fcn.14000b75c
mov r8d, 1
lea rdx, [0x140033280]
mov rcx, rdi
call fcn.1400042e0
mov eax, dword [0x1400414d4]
cmp r13, rax
jae 0x140004147
mov r8d, 0x14
lea rdx, str.__randomx_mode_light
mov rcx, rdi
call fcn.1400042e0
mov r8d, 1
lea rdx, [0x140033280]
mov rcx, rdi
call fcn.1400042e0
lea rdx, [0x1400408c8]
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140004150
mov r8, rbx
mov rcx, rdi
call fcn.1400042e0
mov r14, qword [rbp - 0x78]
cmp r14, 0xf
jbe 0x14000419e
lea rdx, [r14 + 1]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004198
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004209
call fcn.14000b75c
nop
cmp r15, 0xf
jbe 0x1400041d2
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041fd
call fcn.14000b75c
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14000b700
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.1400125a0
nop
call fcn.1400125a0
nop
call fcn.1400125a0
int3