Function at 0x140079960
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1403687c8]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rsi, rdx
mov qword [rsp + 0x60], rdx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 6
mov qword [rbp - 8], recv
mov eax, dword [str.whwid:]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1400cd0e0]
mov word [rbp - 0x1c], ax
mov byte [rbp - 0x1a], r13b
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x78], eax
lea rcx, [rbp]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
jne 0x140079a6a
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
xor r8d, r8d
lea rdx, [0x1400c7cfe]
mov rcx, rsi
call fcn.14006aaf0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14007a284
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2bd
call fcn.140095600
jmp 0x14007a284
lea rax, [rbp + 4]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x140079a75
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140079abe
lea rax, [rcx + rdi]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp + 4]
mov rcx, rbx
call fcn.140097850
mov byte [rdi + rbx], 0
jmp 0x140079ad9
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 4]
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x140079b2a
lea rax, [rcx + 6]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8d, 6
lea rdx, str._cpus:
mov rcx, rbx
call fcn.140097850
mov byte [rbx + 6], 0
jmp 0x140079b4e
mov qword [rsp + 0x20], 6
lea r9, str._cpus:
movzx r8d, byte [rsp + 0x30]
mov edx, 6
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
lea r10, [rbp + 0x95]
mov r8d, dword [rbp - 0x30]
nop dword [rax]
dec r10
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 [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140079b60
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x95]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.14006c330
nop
lea r9, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0x10
cmovae r9, rdi
mov r12, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov rax, rcx
sub rax, r12
mov r15, qword [rsp + 0x48]
cmp r15, rax
ja 0x140079c02
lea rax, [r15 + r12]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x20]
lea rcx, [rbx + r12]
mov r8, r15
mov rdx, r9
call fcn.140097850
lea rax, [rbx + r12]
mov byte [rax + r15], 0
jmp 0x140079c23
mov qword [rsp + 0x20], r15
movzx r8d, byte [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
cmp r14, 0x10
jb 0x140079c5a
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140079c52
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2b7
mov rcx, rdi
call fcn.140095600
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x140079ca1
lea rax, [rcx + 9]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8d, 9
lea rdx, str._cputype:
mov rcx, rbx
call fcn.140097850
mov byte [rbx + 9], 0
jmp 0x140079cc5
mov qword [rsp + 0x20], 9
lea r9, str._cputype:
movzx r8d, byte [rsp + 0x30]
mov edx, 9
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
lea r10, [rbp + 0x95]
mov r8d, dword [rbp - 0x2c]
dec r10
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 [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140079cd0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x95]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.14006c330
nop
lea r9, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
mov r15, qword [rsp + 0x48]
cmp r15, rax
ja 0x140079d70
lea rax, [rcx + r15]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8, r15
mov rdx, r9
mov rcx, rbx
call fcn.140097850
mov byte [rbx + r15], 0
jmp 0x140079d91
mov qword [rsp + 0x20], r15
movzx r8d, byte [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
cmp r14, 0x10
jb 0x140079dc8
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140079dc0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2b7
mov rcx, rdi
call fcn.140095600
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 8
jb 0x140079e06
lea rax, [rcx + 8]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x20]
movabs rdx, 0x3a7665727570633b
mov qword [rax + rcx], rdx
mov byte [rax + rcx + 8], 0
jmp 0x140079e2a
mov qword [rsp + 0x20], 8
lea r9, str._cpurev:
movzx r8d, byte [rsp + 0x30]
mov edx, 8
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
movzx edx, word [rbp - 0x22]
lea rcx, [rsp + 0x38]
call fcn.140089520
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140079e49
mov r9, qword [rax]
mov r14, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140079e8b
lea rax, [rdi + r14]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x20]
lea rcx, [rbx + r14]
mov r8, rdi
mov rdx, r9
call fcn.140097850
lea rax, [rdi + rbx]
mov byte [rax + r14], 0
jmp 0x140079ea3
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140079ee0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2c3
call fcn.140095600
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x140079f27
lea rax, [rcx + 6]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8d, 6
lea rdx, str._arch:
mov rcx, rbx
call fcn.140097850
mov byte [rbx + 6], 0
jmp 0x140079f4b
mov qword [rsp + 0x20], 6
lea r9, str._arch:
movzx r8d, byte [rsp + 0x30]
mov edx, 6
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
movzx edx, word [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140089520
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140079f6a
mov r9, qword [rax]
mov r14, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140079fac
lea rax, [rdi + r14]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x20]
lea rcx, [rbx + r14]
mov r8, rdi
mov rdx, r9
call fcn.140097850
lea rax, [rbx + rdi]
mov byte [rax + r14], 0
jmp 0x140079fc4
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14007a001
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079ffc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2c9
call fcn.140095600
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x14007a048
lea rax, [rcx + 5]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8d, 5
lea rdx, str._mem:
mov rcx, rbx
call fcn.140097850
mov byte [rbx + 5], 0
jmp 0x14007a06c
mov qword [rsp + 0x20], 5
lea r9, str._mem:
movzx r8d, byte [rsp + 0x30]
mov edx, 5
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14007a0fb
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
xor r8d, r8d
lea rdx, [0x1400c7cfe]
mov rcx, rsi
call fcn.14006aaf0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14007a284
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2bd
jmp 0x140079a60
mov r8, qword [rsp + 0x78]
shr r8, 0x14
lea r10, [rbp + 0x95]
movabs r9, 0xcccccccccccccccd
nop word [rax + rax]
dec r10
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8, rdx
test rdx, rdx
jne 0x14007a120
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x95]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.14006c330
nop
lea r9, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
mov r15, qword [rsp + 0x48]
cmp r15, rax
ja 0x14007a1c0
lea rax, [r15 + rcx]
mov qword [rbp - 0x10], rax
lea rbx, [rbp - 0x20]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x20]
add rbx, rcx
mov r8, r15
mov rdx, r9
mov rcx, rbx
call fcn.140097850
mov byte [rbx + r15], 0
jmp 0x14007a1e1
mov qword [rsp + 0x20], r15
movzx r8d, byte [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
cmp r14, 0x10
jb 0x14007a218
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14007a210
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a2b7
mov rcx, rdi
call fcn.140095600
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14007a251
lea rax, [rcx + 2]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x20]
mov edx, 0x626d
mov word [rcx + rax], dx
mov byte [rcx + rax + 2], 0
jmp 0x14007a275
mov qword [rsp + 0x20], 2
lea r9, [0x1400cd11c]
movzx r8d, byte [rsp + 0x30]
mov edx, 2
lea rcx, [rbp - 0x20]
call fcn.14006e4e0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140095720
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400aa2d0
nop
call fcn.1400aa2d0
nop
call fcn.1400aa2d0
int3
call fcn.1400aa2d0
int3