Function at 0x140115df4
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 [0x140268998]
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 0x140115e8d
cmp r8d, 0xc0000000
je 0x140115fcb
cmp r8d, 0xc0000001
je 0x140115fc1
cmp r8d, 0xc0000002
jne 0x14011600e
mov eax, 4
or r14d, eax
mov qword [rbp - 0x61], rcx
mov rcx, qword [0x1402768e0]
test rcx, rcx
jne 0x140115eb6
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 0x140115f15
lea ecx, [rbx + 4]
call fcn.14012ce34
and qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x18]
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, qword [rbp - 0x69]
call qword [case.0x1401ab3a5.0]
test eax, eax
jne 0x14011603d
mov rbx, qword [rbp - 0x49]
cmp rbx, r12
jl 0x1401160a0
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 0x14011606f
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 0x140115fd5
mov rax, rdi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14016f860
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 0x140115e92
mov eax, 2
jmp 0x140115e92
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.140119080
mov rcx, rdi
call fcn.14013d6e8
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1401190bc
lea rdx, [0x1402641a0]
lea rcx, [rbp - 0x41]
call fcn.140171108
int3
mov edx, 0x11
lea rcx, [rbp - 0x69]
call fcn.1401190b0
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.1401190bc
lea rdx, [0x1402641a0]
lea rcx, [rbp - 0x41]
call fcn.140171108
nop
call sub.KERNEL32.dll_GetLastError
nop
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.140119080
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1401190bc
lea rdx, [0x1402641a0]
lea rcx, [rbp - 0x41]
call fcn.140171108
int3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rbp - 0x71]
call fcn.140119080
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1401190bc
lea rdx, [0x1402641a0]
lea rcx, [rbp - 0x41]
call fcn.140171108
int3
mov edx, 0x12
lea rcx, [rbp - 0x71]
call fcn.1401190b0
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x41]
call fcn.1401190bc
lea rdx, [0x1402641a0]
lea rcx, [rbp - 0x41]
call fcn.140171108
int3