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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14005b020]
xor rax, rsp
mov qword [rbp + 0x10], rax
call fcn.1400151b0
test eax, eax
je 0x14001ff93
call fcn.1400150f0
call fcn.140015040
test eax, eax
je 0x14001ffa1
call fcn.140015270
call fcn.1400150f0
test eax, eax
je 0x14001ffaf
call fcn.1400151b0
call fcn.140015270
test eax, eax
je 0x14001ffbd
call fcn.1400150f0
call fcn.1400150f0
test eax, eax
je 0x14001ffcb
call fcn.140015040
call fcn.1400151b0
test eax, eax
je 0x14001ffd9
call fcn.140015270
call fcn.140015270
test eax, eax
je 0x14001ffe7
call fcn.1400150f0
call fcn.1400150f0
test eax, eax
je 0x14001fff5
call fcn.140015040
call fcn.1400151b0
test eax, eax
je 0x140020003
call fcn.1400150f0
call fcn.140015040
test eax, eax
je 0x140020011
call fcn.140015270
call fcn.1400150f0
test eax, eax
je 0x14002001f
call fcn.1400151b0
call fcn.140015270
test eax, eax
je 0x14002002d
call fcn.1400150f0
call fcn.1400150f0
test eax, eax
je 0x14002003b
call fcn.140015040
call fcn.1400151b0
test eax, eax
je 0x140020049
call fcn.140015270
call fcn.140015270
test eax, eax
je 0x140020057
call fcn.1400150f0
call fcn.1400150f0
test eax, eax
je 0x140020065
call fcn.140015040
lea rax, [0x140010450]
mov qword [rbp - 0x50], rax
lea rax, [0x140010470]
mov qword [rbp - 0x48], rax
lea rax, [0x140010490]
mov qword [rbp - 0x40], rax
lea rax, [0x1400104a8]
mov qword [rbp - 0x38], rax
lea rax, [0x1400104c0]
mov qword [rbp - 0x30], rax
lea rax, [0x1400104d8]
mov qword [rbp - 0x28], rax
lea rax, [0x1400104f8]
mov qword [rbp - 0x20], rax
lea rax, [0x140010510]
mov qword [rbp - 0x18], rax
lea rax, [0x140010528]
mov qword [rbp - 0x10], rax
lea rax, [0x140010540]
mov qword [rbp - 8], rax
lea rax, [0x140010560]
mov qword [rbp], rax
xor edi, edi
mov ebx, edi
mov rcx, qword [rbp + rbx*8 - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14002046c
inc rbx
cmp rbx, 0xb
jl 0x1400200e2
mov dword [rbp - 0x50], 0x40
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp - 0x48]
shr rax, 0x14
cmp eax, 0x800
jb 0x14002046c
call fcn.14001f1f0
test al, al
je 0x14002046c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x30], 4
jb 0x14002046c
call fcn.14001f3d0
test al, al
je 0x14002046c
call fcn.14001fb80
test al, al
je 0x14002046c
mov qword [rbp - 0x70], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], dil
mov r8d, 0x18
lea rdx, [0x140010628]
lea rcx, [rsp + 0x30]
call fcn.1400217a0
nop
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14001e980
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140020217
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020211
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020495
call fcn.1400340c0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140020254
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002024e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002049b
call fcn.1400340c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140020291
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002028c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400204a1
call fcn.1400340c0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov ecx, 0x60
call fcn.140034360
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x68], rax
lea r9, [0x140010010]
lea r8, [0x140010648]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.14002b6f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 1
lea rdx, [0x1400101ec]
lea rcx, [rsp + 0x50]
call fcn.1400217a0
nop
mov rbx, qword [rbp - 0x70]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 0x60
call fcn.140034360
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.14001e780
nop
lea rcx, [rsp + 0x30]
call fcn.140020fe0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400203b7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400203b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002048f
call fcn.1400340c0
lea rcx, [rbp - 0x40]
call fcn.140020fe0
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1400203df
mov rcx, rbx
call fcn.140015560
mov edx, 0x128
mov rcx, rbx
call fcn.1400340c0
nop
lea rcx, [rbp - 0x68]
call fcn.140020fe0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400203fc
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.140015270
test eax, eax
je 0x14002040a
call fcn.1400150f0
call fcn.1400150f0
test eax, eax
je 0x140020418
call fcn.1400151b0
call fcn.1400151b0
test eax, eax
je 0x140020426
call fcn.140015040
call fcn.140015040
test eax, eax
je 0x140020434
call fcn.1400150f0
call fcn.1400151b0
test eax, eax
je 0x140020442
call fcn.1400150f0
call fcn.140015040
test eax, eax
je 0x140020450
call fcn.140015270
call fcn.1400150f0
test eax, eax
je 0x14002045e
call fcn.1400151b0
call fcn.140015270
test eax, eax
je 0x14002046c
call fcn.1400150f0
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400340a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14003dde0
nop
call fcn.14003dde0
nop
call fcn.14003dde0
nop
call fcn.14003dde0
int3