Function at 0x18000f0a0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x34]
test rcx, rcx
je 0x18000f152
mov rax, rbx
shr rax, 0x20
je 0x18000f0f4
mov rax, rbx
xor edx, edx
div rcx
jmp 0x18000f0fa
mov eax, ebx
xor edx, edx
div ecx
lea rdi, [rcx + rbx]
sub rdi, rdx
test rdx, rdx
cmove rdi, rbx
test rdi, rdi
cmove rdi, rcx
test r14, r14
je 0x18000f142
shl r14, 4
add r14, r15
xor ebx, ebx
mov eax, dword [r15]
mov r12, qword [r15 + 8]
lea r9, [0x18003e6c8]
movsxd r13, dword [r9 + rax*4]
add r13, r9
xor edx, edx
xor r11d, r11d
xor r8d, r8d
xor ecx, ecx
xor r10d, r10d
jmp r13
xor ebx, ebx
xor edx, edx
xor ecx, ecx
xor r8d, r8d
test r8b, r8b
je 0x18000f16c
jmp 0x18000f17c
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zeroUnmapViewOfFile_failed:__n
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fmmap_fixed_fixed_0.1.3_srclib.rs
mov edx, 0x39
call fcn.180034940
ud2
mov r9d, 1
cmp rdx, 1
jne 0x18000f2ae
mov dword [rsi + 8], 7
jmp 0x18000f360
mov r10b, 1
nop dword [rax + rax]
add r15, 0x10
cmp r15, r14
je case.default.0x18000f1a7
mov r13d, dword [r15]
mov r12, qword [r15 + 8]
movsxd r13, dword [r9 + r13*4]
add r13, r9
jmp r13
mov r8b, 1
jmp case.0x18000f1a7.10
mov r11b, 1
jmp case.0x18000f1a7.10
mov rcx, r12
jmp case.0x18000f1a7.10
mov edx, 1
mov rax, r12
jmp case.0x18000f1a7.10
mov rbx, r12
jmp case.0x18000f1a7.10
test r11b, 1
jne 0x18000f1df
test r10b, 1
jne 0x18000f200
and r8b, 1
test r8b, r8b
je 0x18000f16c
jmp 0x18000f17c
test r10b, 1
jne 0x18000f22f
test r8b, 1
jne 0x18000f17c
mov r9d, 0x10
cmp rdx, 1
jne 0x18000f2ae
jmp 0x18000f17c
mov r9d, r8d
and r9b, 1
movzx r9d, r9b
lea r9d, [r9*2 + 2]
cmp rdx, 1
jne 0x18000f2ae
xor ecx, ecx
test r8b, 1
sete cl
lea ebp, [rcx*2 + 2]
jmp 0x18000f258
mov r9d, r8d
and r9b, 1
movzx r9d, r9b
shl r9d, 5
add r9d, 0x20
cmp rdx, 1
jne 0x18000f2ae
xor ecx, ecx
test r8b, 1
sete cl
lea ebp, [rcx*2 + 0x22]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, r9d
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingW
mov r14, rax
call sub.KERNEL32.dll_GetLastError
mov r15d, eax
mov rcx, r15
shl rcx, 0x20
or rcx, 2
call fcn.180008470
test r14, r14
je 0x18000f2fb
cmp r15d, 0xb7
jne 0x18000f308
mov dword [rsi + 8], 9
jmp 0x18000f360
test rbx, rbx
je 0x18000f2bf
mov dword [rsi + 8], 8
jmp 0x18000f360
mov rdx, rdi
mov r8d, 0x3000
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
je 0x18000f2db
mov qword [rsi], 1
jmp 0x18000f335
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
call fcn.180008470
mov dword [rsi + 8], 0xa
jmp 0x18000f35d
mov dword [rsi + 8], 0xb
mov dword [rsi + 0xc], r15d
jmp 0x18000f360
mov r8, rdi
shr r8, 0x20
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, ebp
mov r9d, ebx
call sub.KERNEL32.dll_MapViewOfFile
test rax, rax
je 0x18000f33f
mov qword [rsi], 0
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdi
jmp 0x18000f367
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
call fcn.180008470
mov dword [rsi + 8], 0xc
mov dword [rsi + 0xc], edi
mov qword [rsi], 2
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret