Function at 0x1400f2d00
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc0
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rbp - 1], rax
mov r12, r9
mov rdi, rcx
mov r9, qword [rbp + 0x77]
mov qword [rbp - 0x71], r9
mov rbx, qword [rbp + 0x6f]
xor r10d, r10d
mov qword [rcx], r10
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r10
mov dword [rcx + 0x18], r8d
or rcx, 0xffffffffffffffff
mov qword [rdi + 0x20], rcx
mov rax, qword [rdx]
mov qword [rbp - 0x69], rax
mov r14d, dword [rbp + 0x7f]
cmp r14d, 0xffffffff
cmove r14d, r10d
cmp r8d, 0x80000000
je 0x1400f2d99
cmp r8d, 0xc0000000
je 0x1400f2ed7
cmp r8d, 0xc0000001
je 0x1400f2ecd
cmp r8d, 0xc0000002
jne 0x1400f2f1a
mov eax, 4
or r14d, eax
mov qword [rbp - 0x61], rcx
mov rcx, qword [0x14023eab0]
test rcx, rcx
jne 0x1400f2dc2
lea rcx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x19]
mov r9, qword [rbp - 0x71]
xor edx, edx
mov rax, r12
div rcx
mov rsi, rdx
mov r15, r12
sub r15, rdx
mov r13, r9
sub r13, rdx
test r9, r9
cmove r13, r9
test rbx, rbx
jne 0x1400f2e21
lea ecx, [rbx + 4]
call fcn.140109c24
and qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x18]
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [str.PLe_]
test eax, eax
jne 0x1400f2f49
mov rbx, qword [rbp - 0x49]
cmp rbx, r12
jl 0x1400f2fac
sub rbx, r12
add rbx, rsi
lea rax, [rbx + rsi]
mov r8, r15
shr r8, 0x20
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov edx, r14d
mov r14, qword [rbp - 0x69]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test rax, rax
je 0x1400f2f7b
add rax, rsi
mov qword [rdi], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 8], rbx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
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
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rdi + 0x20]
mov r8, rbx
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400f2ee1
mov rax, rdi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140149000
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
jmp 0x1400f2d9e
mov eax, 2
jmp 0x1400f2d9e
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400f609c
mov rcx, rdi
call fcn.140119cd8
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f60d8
lea rdx, [0x14022f8b8]
lea rcx, [rbp - 0x41]
call fcn.14014a7f8
int3
mov edx, 0x11
lea rcx, [rbp - 0x69]
call fcn.1400f60cc
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.1400f60d8
lea rdx, [0x14022f8b8]
lea rcx, [rbp - 0x41]
call fcn.14014a7f8
nop
call sub.KERNEL32.dll_GetLastError
nop
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400f609c
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f60d8
lea rdx, [0x14022f8b8]
lea rcx, [rbp - 0x41]
call fcn.14014a7f8
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400f609c
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f60d8
lea rdx, [0x14022f8b8]
lea rcx, [rbp - 0x41]
call fcn.14014a7f8
int3
mov edx, 0x12
lea rcx, [rbp - 0x71]
call fcn.1400f60cc
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f60d8
lea rdx, [0x14022f8b8]
lea rcx, [rbp - 0x41]
call fcn.14014a7f8
int3