Function at 0x140079c50
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd0
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rbp - 9], rax
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov byte [rcx], r14b
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rcx + 0x18], r14d
mov byte [rcx + 0x1c], r14b
mov qword [rcx + 0x20], r14
mov qword [rcx + 0x28], r14
mov dword [rcx + 0x30], r14d
mov byte [rcx + 0x34], r14b
movabs r12, 0xc4ceb9fe1a85ec53
mov qword [rcx + 0x40], r12
lea rax, [rcx + 0x60]
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], r14
mov qword [rax], r14
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], 0x20
mov qword [rcx + 0x80], r12
lea rax, [rcx + 0xa0]
mov qword [rcx + 0x88], rax
mov qword [rcx + 0x90], rax
mov qword [rcx + 0x98], r14
mov qword [rax], r14
mov qword [rcx + 0xa8], r14
mov qword [rcx + 0xb0], 0x20
mov qword [rcx + 0xc0], r12
lea rax, [rcx + 0xe0]
mov qword [rcx + 0xc8], rax
mov qword [rcx + 0xd0], rax
mov qword [rcx + 0xd8], r14
mov qword [rax], r14
mov qword [rcx + 0xe8], r14
mov qword [rcx + 0xf0], 0x20
mov qword [rcx + 0x100], r12
lea rax, [rcx + 0x120]
mov qword [rcx + 0x108], rax
mov qword [rcx + 0x110], rax
mov qword [rcx + 0x118], r14
mov qword [rax], r14
mov qword [rcx + 0x128], r14
mov qword [rcx + 0x130], 0x20
xor eax, eax
mov qword [rcx + 0x138], rax
mov word [rcx + 0x140], ax
mov byte [rcx + 0x142], al
mov qword [rcx + 0x143], rax
mov word [rcx + 0x14b], ax
mov byte [rcx + 0x14d], al
mov byte [rsp + 0x20], al
mov r9b, 1
mov r8d, 0xffffffff
mov rdx, rbx
add rcx, 0x150
call fcn.140178a00
nop
lea rcx, [rsi + 0x2740]
lea rdx, [rbx + 0x30]
call fcn.14001bde0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsi + 0x2760], xmm0
mov qword [rsi + 0x2770], r14
mov r13d, send
mov qword [rsi + 0x2778], r13
mov byte [rsi + 0x2760], r14b
mov byte [rsi + 0x2780], 1
mov dword [rsi + 0x2784], r14d
mov word [rsi + 0x2788], r14w
mov byte [rsi + 0x278a], r14b
mov dword [rbp - 0x49], 0x40
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp - 0x41]
mov qword [rsi + 0x2790], rax
lea rax, [rsi + 0x2798]
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov dword [rax + 0x18], 0x1010101
mov dword [rax + 0x1c], 0x1000001
mov dword [rax + 0x20], 0x1010101
mov dword [rax + 0x24], 0x4010001
mov dword [rax + 0x28], 0x3c
mov dword [rax + 0x2c], 0x64
lea rcx, [rsi + 0x27c8]
movzx r9d, byte [0x14143b120]
lea r8, [rsi + 0x150]
mov rdx, rsi
call fcn.14005f760
nop
mov qword [rsi + 0x2978], r14
mov word [rsi + 0x2988], r14w
mov byte [rsi + 0x298a], r14b
mov r15, 0xffffffffffffffff
mov qword [rsi + 0x298c], r15
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups xmmword [rsi + 0x2994], xmm0
mov word [rsi + 0x29a4], ax
mov qword [rsi + 0x29c0], r14
mov byte [rsi + 0x29c8], al
mov dword [rsi + 0x29d0], 0xffffffff
mov byte [rsi + 0x29d4], al
mov qword [rsi + 0x29d8], r14
mov byte [rsi + 0x29e0], al
mov qword [rsi + 0x29e8], r14
mov dword [rsi + 0x2a00], r14d
mov qword [rsi + 0x2a08], r15
mov qword [rsi + 0x2a10], r14
mov qword [rsi + 0x2a18], r15
mov qword [rsi + 0x2a20], r14
mov dword [rsi + 0x2a28], r14d
mov rax, qword [rsi + 0xc08]
mov qword [rsi + 0x2a30], rax
mov dword [rsi + 0x2a38], 0xffffffff
mov qword [rsi + 0x2a40], r14
mov qword [rsi + 0x2a48], r14
mov byte [rsi + 0x2a50], r14b
mov dword [rsi + 0x2a58], r15d
mov byte [rsi + 0x2a5c], r14b
lea rbx, [rsi + 0x2a60]
mov qword [rsp + 0x30], rbx
mov qword [rbx + 0x100], r14
mov qword [rbx + 0x108], r14
mov byte [rbx], r14b
mov dword [rbx + 0x110], r14d
mov r8d, 0xff
lea rdx, [0x1413a1907]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + 0xff], r14b
mov rcx, rbx
call fcn.1401e25a0
nop
mov byte [rsi + 0x2b78], r14b
mov dword [rsi + 0x2b7c], r14d
mov qword [rsi + 0x2b80], r14
mov byte [rsi + 0x2b88], r14b
xor eax, eax
mov qword [rsi + 0x2b89], rax
mov dword [rsi + 0x2b91], eax
mov qword [rsi + 0x2b98], r14
mov byte [rsi + 0x2ba0], al
mov qword [rsi + 0x2ba8], r14
mov byte [rsi + 0x2bb0], al
mov qword [rsi + 0x2bb8], r14
mov word [rsi + 0x2bc0], ax
lea rbx, [rsi + 0x2bc8]
mov qword [rsp + 0x30], rbx
mov qword [rbx + 0x100], r14
mov qword [rbx + 0x108], r14
mov byte [rbx], al
mov dword [rbx + 0x110], r14d
mov r8d, 0xff
lea rdx, [0x1413a1907]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + 0xff], r14b
mov rcx, rbx
call fcn.1401e25a0
nop
lea rbx, [rsi + 0x2ce0]
mov qword [rsp + 0x30], rbx
mov qword [rbx + 0x100], r14
mov qword [rbx + 0x108], r14
mov byte [rbx], r14b
mov dword [rbx + 0x110], r14d
mov r8d, 0xff
lea rdx, [0x1413a1907]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + 0xff], r14b
mov rcx, rbx
call fcn.1401e25a0
nop
lea rbx, [rsi + 0x2df8]
mov qword [rsp + 0x30], rbx
mov qword [rbx + 0x100], r14
mov qword [rbx + 0x108], r14
mov byte [rbx], r14b
mov dword [rbx + 0x110], r14d
mov r8d, 0xff
lea rdx, [0x1413a1907]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + 0xff], r14b
mov rcx, rbx
call fcn.1401e25a0
nop
mov qword [rsi + 0x2f18], r12
lea rax, [rsi + 0x2f38]
mov qword [rsi + 0x2f20], rax
mov qword [rsi + 0x2f28], rax
mov qword [rsi + 0x2f30], r14
mov qword [rax], r14
mov qword [rsi + 0x2f40], r14
mov qword [rsi + 0x2f48], 0x20
mov byte [rsi + 0x2f50], r14b
mov byte [rsi + 0x2f68], r14b
mov qword [rsi + 0x2f80], r14
mov byte [rsi + 0x2f88], r14b
mov qword [rsi + 0x2f90], r14
mov qword [rsi + 0x2f98], r14
mov qword [rsi + 0x2fa0], r14
mov dword [rsi + 0x2fa8], r14d
mov qword [rsi + 0x2fac], r14
mov byte [rsi + 0x2fb4], 1
mov dword [rsi + 0x2fb8], r14d
mov dword [rsi + 0x2fbc], 2
mov word [rsi + 0x2fc0], 1
mov dword [rsi + 0x2fc4], r14d
mov dword [rsi + 0x2fc8], 0x101
mov dword [rsi + 0x2fcc], 0x10000
mov dword [rsi + 0x2fd0], 0x1010101
mov qword [rsi + 0x2fd8], r14
mov qword [rsi + 0x2fe0], r14
mov word [rsi + 0x2fe8], 0x101
mov byte [rsi + 0x2fea], r14b
mov byte [rsi + 0x2ff0], r14b
mov byte [rsi + 0x3020], r14b
mov byte [rsi + 0x302c], r14b
mov byte [rsi + 0x3038], r14b
mov byte [rsi + 0x3048], r14b
mov byte [rsi + 0x3058], r14b
mov byte [rsi + 0x3064], r14b
mov byte [rsi + 0x3070], r14b
mov byte [rsi + 0x307c], r14b
xor eax, eax
mov qword [rsi + 0x3088], rax
mov word [rsi + 0x3090], ax
mov byte [rsi + 0x3092], al
mov qword [rsi + 0x3093], rax
mov word [rsi + 0x309b], ax
mov byte [rsi + 0x309d], al
mov qword [rsi + 0x30a0], r14
mov dword [rsi + 0x30a8], r14d
mov qword [rsi + 0x30b0], r14
mov qword [rsi + 0x30b8], r14
mov qword [rsi + 0x30c0], r14
mov qword [rsi + 0x30c8], r14
mov qword [rsi + 0x30d0], r14
mov qword [rsi + 0x30d8], r14
mov qword [rsi + 0x30e0], r14
mov byte [rsi + 0x30f0], al
mov rax, qword [rbp + 0x67]
mov qword [rsi + 0x30f8], rax
mov rax, qword [rbp + 0x6f]
mov qword [rsi + 0x3100], rax
mov qword [rsi + 0x3108], rdi
lea rax, [0x140012380]
mov qword [rsi + 0x3118], rax
mov byte [rsi + 0x3120], r14b
lea rax, [0x140012940]
mov qword [rsi + 0x3128], rax
lea rax, [0x1400123f0]
mov qword [rsi + 0x3130], rax
mov dword [rsi + 0x3138], r14d
lea rdi, [rsi + 0x3140]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r13
mov byte [rdi], r14b
mov word [rsi + 0x3160], 0x101
mov qword [rsi + 0x3164], r14
mov dword [rsi + 0x316c], r14d
vmovups xmmword [rsi + 0x3170], xmm0
mov qword [rsi + 0x3180], r14
mov qword [rsi + 0x3188], r14
mov qword [rsi + 0x3190], r14
mov qword [rsi + 0x3198], r14
mov qword [rsi + 0x31a0], r14
mov qword [rsi + 0x31a8], r14
mov qword [rsi + 0x31b0], r14
mov qword [rsi + 0x31b8], r14
mov qword [rsi + 0x31c0], r14
lea rdx, [rsi + 0x218]
cmp qword [rdx + 0x18], r13
jbe 0x14007a345
mov rdx, qword [rdx]
mov r8, qword [rsi + 0x238]
lea rcx, [rsi + 0x31c8]
call fcn.14006eef0
nop
mov word [rsi + 0x3218], 0
mov byte [rsi + 0x321a], 1
mov qword [rsi + 0x3220], r14
mov qword [rsi + 0x3230], r14
mov qword [rsi + 0x3238], r14
mov qword [rsi + 0x3240], r14
mov word [rsi + 0x3248], 0x101
mov byte [rsi + 0x3260], 0
mov byte [rsi + 0x3268], 0
mov qword [rsi + 0x3278], r12
lea rax, [rsi + 0x3298]
mov qword [rsi + 0x3280], rax
mov qword [rsi + 0x3288], rax
mov qword [rsi + 0x3290], r14
mov qword [rax], r14
mov qword [rsi + 0x32a0], r14
mov qword [rsi + 0x32a8], 0x20
mov qword [rsi + 0x32b8], r12
lea rax, [rsi + 0x32d8]
mov qword [rsi + 0x32c0], rax
mov qword [rsi + 0x32c8], rax
mov qword [rsi + 0x32d0], r14
mov qword [rax], r14
mov qword [rsi + 0x32e0], r14
mov qword [rsi + 0x32e8], 0x20
mov qword [rsi + 0x32f8], r12
lea rax, [rsi + 0x3318]
mov qword [rsi + 0x3300], rax
mov qword [rsi + 0x3308], rax
mov qword [rsi + 0x3310], r14
mov qword [rax], r14
mov qword [rsi + 0x3320], r14
mov qword [rsi + 0x3328], 0x20
lea rax, [fcn.140012440]
mov qword [rsi + 0x3330], rax
mov dword [rsi + 0x3338], r14d
lea rcx, [rsi + 0x3340]
call fcn.1400796b0
nop
lea rcx, [rsi + 0x38e8]
call fcn.140079810
nop
mov byte [rsi + 0x3e48], 0
lea rcx, [rsi + 0x3e49]
xor edx, edx
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
mov qword [rsi + 0x4250], r14
mov qword [rsi + 0x4258], r14
mov byte [rsi + 0x4260], 0
mov qword [rsi + 0x4268], r14
mov qword [rsi + 0x4270], r14
mov qword [rsi + 0x4278], r14
mov qword [rsi + 0x4280], r14
mov qword [rsi + 0x4288], r14
mov dword [rsi + 0x4290], 0
mov byte [rsi + 0x4294], 0
mov qword [rsi + 0x4298], r14
mov qword [rsi + 0x42a0], r14
mov qword [rsi + 0x42a8], r14
mov qword [rsi + 0x42b0], r14
mov qword [rsi + 0x42b8], r14
mov qword [rsi + 0x42c0], r14
mov qword [rsi + 0x42c8], r14
mov word [rsi + 0x42d0], 0x100
mov qword [rsi + 0x42d8], r15
mov qword [rsi + 0x42e0], r14
mov word [rsi + 0x42e8], 1
mov dword [rsi + 0x42ec], r15d
mov dword [rsi + 0x42f0], r14d
mov dword [rsi + 0x42f4], 1
mov qword [rsi + 0x42f8], r14
mov qword [rsi + 0x4300], r14
mov qword [rsi + 0x4308], r14
mov qword [rsi + 0x4310], r14
mov qword [rsi + 0x4318], r14
mov qword [rsi + 0x4320], r14
mov qword [rsi + 0x4328], r14
mov qword [rsi + 0x4330], r14
mov qword [rsi + 0x4338], r14
mov dword [rsi + 0x4340], r14d
mov qword [rsi + 0x4344], 0x3f800000
mov dword [rsi + 0x434c], 0xffffffff
mov word [rsi + 0x4350], 1
mov byte [rsi + 0x4352], 0
mov word [rsi + 0x4358], 0x100
mov qword [rsi + 0x4368], r12
lea rax, [rsi + 0x4388]
mov qword [rsi + 0x4370], rax
mov qword [rsi + 0x4378], rax
mov qword [rsi + 0x4380], r14
mov qword [rax], r14
mov qword [rsi + 0x4390], r14
mov qword [rsi + 0x4398], 0x20
mov qword [rsi + 0x43a0], r14
mov qword [rsi + 0x43b0], r14
mov byte [rsi + 0x43bc], 0
mov dword [rsi + 0x43c0], r14d
mov word [rsi + 0x43c4], 0x101
mov word [rsi + 0x43c8], 0
mov dword [rsi + 0x43d8], 0
mov word [rsi + 0x43dc], 0
mov rax, qword [rbp + 0x97]
mov qword [rsi + 0x43e0], rax
movzx eax, byte [0x14143b130]
mov byte [rsi + 0x43e8], al
mov dword [rsi + 0x3138], 0x40800000
mov rcx, qword [rsi + 0x23a8]
call fcn.1401c9cc0
mov r12, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x71], r14
mov ecx, 0x20
call fcn.1403f4d70
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x79], reloc.WS2_32.dll_recv
mov qword [rbp - 0x71], 0x1f
vmovups xmm0, xmmword [0x1413c8140]
vmovups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
inc r15
cmp byte [r12 + r15], 0
jne 0x14007a6a2
mov rcx, qword [rbp - 0x79]
mov rdx, qword [rbp - 0x71]
mov rax, rdx
sub rax, rcx
cmp r15, rax
ja 0x14007a6f3
lea rax, [r15 + rcx]
mov qword [rbp - 0x79], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, r15
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rbx], 0
lea rax, [rsp + 0x40]
jmp 0x14007a708
mov qword [rsp + 0x20], r15
mov r9, r12
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140081f70
vmovups ymm0, ymmword [rax]
vmovups ymmword [rbp - 0x49], ymm0
vmovups ymmword [rbp - 0x69], ymm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
mov byte [rax], 0
lea rax, [rbp - 0x69]
cmp rdi, rax
je 0x14007a775
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14007a768
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14007a75b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007a7a8
mov rcx, r8
vzeroupper
call fcn.1403f4db4
vmovups ymm0, ymmword [rbp - 0x49]
mov byte [rdi], 0
vmovups ymmword [rdi], ymm0
mov byte [rbp - 0x69], 0
jmp 0x14007a779
mov r13, qword [rbp - 0x51]
cmp r13, 0xf
jbe 0x14007a7bb
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a7b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a7b2
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.1403f4db4
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 0xf
jbe 0x14007a800
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a7f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007a7f8
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.1403f4db4
mov ecx, 0x448
vzeroupper
call fcn.1403f4d70
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.14002eb90
nop
mov rbx, qword [rsi + 0x30e0]
mov qword [rsi + 0x30e0], rax
test rbx, rbx
je 0x14007a843
mov rcx, rbx
call fcn.140081b50
mov edx, 0x448
mov rcx, rbx
call fcn.1403f4db4
mov qword [rsi + 0x30e8], r14
mov eax, dword [0x14143b124]
mov dword [rsi + 0x27c0], eax
movzx eax, byte [0x14143b134]
mov byte [rsi + 0x27bc], al
movzx eax, byte [0x14143b138]
mov byte [rsi + 0x27bd], al
movzx eax, byte [reloc.WS2_32.dll_connect]
mov byte [rsi + 0x27bf], al
cmp byte [rsi + 0x294], 0
je 0x14007a89f
mov rax, qword [rsi + 0xc08]
movzx ecx, word [rax + 0xc]
shl rcx, 0x20
mov eax, dword [rax + 8]
or rcx, rax
mov r14, qword [rcx + 0x28]
lea rdx, [rsi + 0x2798]
mov qword [rdx], r14
mov rax, qword [rsi + 0xd80]
mov qword [rsi + 0x27a0], rax
mov byte [rsi + 0x3210], 1
lea rcx, [rsi + 0x31c8]
call fcn.14006f040
lea rdx, [rsi + 0x31b0]
lea rcx, [rsi + 0x31c8]
call fcn.140070810
lea rdx, [rsi + 0x3230]
lea rcx, [rsi + 0x31c8]
call fcn.140070bf0
mov byte [rsi + 0x3248], al
cmp qword [rsi + 0x1058], 0
jne 0x14007a907
mov byte [rsi + 0x2fc9], 0
cmp qword [rsi + 0xd68], 0
jne 0x14007a918
mov byte [rsi + 0x2fc1], 1
cmp byte [rsi + 0x43e8], 0
je 0x14007a93a
mov rcx, qword [rsi + 0x43e0]
test rcx, rcx
je 0x14007a93a
lea rdx, [0x1413a5220]
call fcn.140025ba0
nop
mov rax, rsi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1403f4b10
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret