Function at 0x1400f29b0
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 [0x140222818]
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 0x1400f2a49
cmp r8d, 0xc0000000
je 0x1400f2b87
cmp r8d, 0xc0000001
je 0x1400f2b7d
cmp r8d, 0xc0000002
jne 0x1400f2bca
mov eax, 4
or r14d, eax
mov qword [rbp - 0x61], rcx
mov rcx, qword [0x14022d7b0]
test rcx, rcx
jne 0x1400f2a72
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 0x1400f2ad1
lea ecx, [rbx + 4]
call fcn.140103f60
and qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x18]
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [case.0x140174a01.0]
test eax, eax
jne 0x1400f2bf9
mov rbx, qword [rbp - 0x49]
cmp rbx, r12
jl 0x1400f2c5c
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 0x1400f2c2b
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 0x1400f2b91
mov rax, rdi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14013a2d0
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 0x1400f2a4e
mov eax, 2
jmp 0x1400f2a4e
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400f4620
mov rcx, rdi
call fcn.14010abd8
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f465c
lea rdx, [0x14021e528]
lea rcx, [rbp - 0x41]
call fcn.14013bac8
int3
mov edx, 0x11
lea rcx, [rbp - 0x69]
call fcn.1400f4650
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.1400f465c
lea rdx, [0x14021e528]
lea rcx, [rbp - 0x41]
call fcn.14013bac8
nop
call sub.KERNEL32.dll_GetLastError
nop
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400f4620
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f465c
lea rdx, [0x14021e528]
lea rcx, [rbp - 0x41]
call fcn.14013bac8
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.1400f4620
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f465c
lea rdx, [0x14021e528]
lea rcx, [rbp - 0x41]
call fcn.14013bac8
int3
mov edx, 0x12
lea rcx, [rbp - 0x71]
call fcn.1400f4650
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1400f465c
lea rdx, [0x14021e528]
lea rcx, [rbp - 0x41]
call fcn.14013bac8
int3