Function at 0x1400c34d0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140292cc0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, rcx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rcx + 0x18], r8d
mov qword [rcx + 0x20], 0xffffffffffffffff
mov r15, qword [rdx]
cmp r8d, 0x80000000
je 0x1400c3590
cmp r8d, 0xc0000000
je 0x1400c3584
cmp r8d, 0xc0000001
je 0x1400c3578
cmp r8d, 0xc0000002
je 0x1400c3590
lea edx, [r13 + 0x11]
lea rcx, [rbp - 0x61]
call fcn.1400b63e0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1400b64a0
lea rdx, [0x140253bf8]
lea rcx, [rbp - 0x31]
call fcn.14018a240
int3
mov r8d, 8
lea r14d, [r8 - 7]
jmp 0x1400c359a
mov r8d, 4
lea r14d, [r8 - 2]
jmp 0x1400c359a
mov r8d, 2
lea r14d, [r8 + 2]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbx, rax
test rax, rax
jne 0x1400c35e8
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.1400b63f0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1400b64a0
lea rdx, [0x140253bf8]
lea rcx, [rbp - 0x31]
call fcn.14018a240
int3
mov qword [rbp - 0x51], rbx
cmp qword [0x1402a96a0], 0
jne 0x1400c3600
lea rcx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 4
call fcn.1400ba470
mov qword [rsp + 0x20], r13
mov r9d, 0x18
lea r8, [rbp - 0x49]
xor edx, edx
mov rcx, rbx
call rax
test eax, eax
je 0x1400c3652
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.1400b63f0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1400b64a0
lea rdx, [0x140253bf8]
lea rcx, [rbp - 0x31]
call fcn.14018a240
int3
mov rsi, qword [rbp - 0x39]
test rsi, rsi
jns 0x1400c3687
mov edx, 0x12
lea rcx, [rbp - 0x61]
call fcn.1400b63e0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1400b64a0
lea rdx, [0x140253bf8]
lea rcx, [rbp - 0x31]
call fcn.14018a240
int3
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test rax, rax
jne 0x1400c36d6
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.1400b63f0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1400b64a0
lea rdx, [0x140253bf8]
lea rcx, [rbp - 0x31]
call fcn.14018a240
int3
mov qword [rdi], rax
mov qword [rdi + 0x10], r13
mov qword [rdi + 8], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [rdi + 0x20]
mov r8, rbx
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1400c3758
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.1400b63f0
mov rcx, rdi
call fcn.1400b87c0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1400b64a0
lea rdx, [0x140253bf8]
lea rcx, [rbp - 0x31]
call fcn.14018a240
int3
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401557c0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret