Function at 0x14000d720
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
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 rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rcx + 0x18], 0xc0000000
mov qword [rcx + 0x20], 0xffffffffffffffff
mov r15, qword [rdx]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
lea r8d, [r12 + 4]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
test rax, rax
je 0x14000d8c1
mov qword [rbp - 0x51], rax
cmp qword [0x14047e860], r12
jne 0x14000d7b7
lea rcx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 4
call fcn.14000bd50
mov qword [rsp + 0x20], r12
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r8, [rbp - 0x49]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
jne 0x14000d8f2
mov rbx, qword [rbp - 0x39]
test rbx, rbx
js 0x14000d924
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test rax, rax
je 0x14000d953
mov qword [rdi], rax
mov qword [rdi + 0x10], r12
mov qword [rdi + 8], rbx
mov rcx, rsi
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], r12d
mov dword [rsp + 0x20], r12d
lea r9, [rdi + 0x20]
mov r8, rbx
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14000d888
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.140006a00
mov rcx, rdi
call fcn.1400096c0
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.140006a00
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call sub.KERNEL32.dll_GetLastError
nop
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.140006a00
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp - 0x61]
call fcn.1400069f0
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x61]
call fcn.140006a00
xor r8d, r8d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3