Function at 0x1400f30c0
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 [0x140262958]
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 0x1400f3159
cmp r8d, 0xc0000000
je 0x1400f3297
cmp r8d, 0xc0000001
je 0x1400f328d
cmp r8d, 0xc0000002
jne 0x1400f32da
mov eax, 4
or r14d, eax
mov qword [rbp - 0x61], rcx
mov rcx, qword [0x1402706e0]
test rcx, rcx
jne 0x1400f3182
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 0x1400f31e1
lea ecx, [rbx + 4]
call fcn.140115948
and qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x18]
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [case.0x1401a7275.0]
test eax, eax
jne 0x1400f3309
mov rbx, qword [rbp - 0x49]
cmp rbx, r12
jl 0x1400f336c
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 0x1400f333b
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 0x1400f32a1
mov rax, rdi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14016b720
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 0x1400f315e
mov eax, 2
jmp 0x1400f315e
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400ff740
mov rcx, rdi
call fcn.140126568
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400ff7bc
lea rdx, [0x14025db68]
lea rcx, [rbp - 0x41]
call fcn.14016cfc8
int3
mov edx, 0x11
lea rcx, [rbp - 0x69]
call fcn.1400ff770
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.1400ff7bc
lea rdx, [0x14025db68]
lea rcx, [rbp - 0x41]
call fcn.14016cfc8
nop
call sub.KERNEL32.dll_GetLastError
nop
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400ff740
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400ff7bc
lea rdx, [0x14025db68]
lea rcx, [rbp - 0x41]
call fcn.14016cfc8
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400ff740
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400ff7bc
lea rdx, [0x14025db68]
lea rcx, [rbp - 0x41]
call fcn.14016cfc8
int3
mov edx, 0x12
lea rcx, [rbp - 0x71]
call fcn.1400ff770
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400ff7bc
lea rdx, [0x14025db68]
lea rcx, [rbp - 0x41]
call fcn.14016cfc8
int3