Function at 0x1400036b0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r14, 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 0x140003765
mov rax, rdi
shr rax, 0x20
je 0x140003701
mov rax, rdi
xor edx, edx
div rcx
jmp 0x140003707
mov eax, edi
xor edx, edx
div ecx
lea r12, [rcx + rdi]
sub r12, rdx
test rdx, rdx
cmove r12, rdi
test r12, r12
cmove r12, rcx
test rsi, rsi
je 0x140003754
shl rsi, 4
add rsi, rbx
mov rcx, 0xffffffffffffffff
xor r15d, r15d
mov edx, dword [rbx]
mov rax, qword [rbx + 8]
lea rdi, [0x14000394c]
movsxd rdx, dword [rdi + rdx*4]
add rdx, rdi
xor r11d, r11d
xor r10d, r10d
xor r8d, r8d
xor r9d, r9d
jmp rdx
mov al, 1
mov rcx, 0xffffffffffffffff
xor r15d, r15d
xor r8d, r8d
jmp 0x14000377f
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zeroVirtualFree_failed:__n
lea r8, str.C:UsersMECHREVO.cargo_registry_srcgithub.com_1ecc6299db9ec823mmap_0.1.1_srclib.rs
mov edx, 0x39
call fcn.140023cf0
ud2
test al, al
je 0x14000386f
mov r9d, 1
cmp rcx, 0xffffffffffffffff
jne 0x14000386f
test r15, r15
je 0x1400037a9
mov dword [r14 + 8], 8
jmp 0x140003934
mov rcx, r8
mov rdx, r12
mov r8d, 0x3000
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
je 0x1400037cb
mov qword [r14], 1
jmp 0x140003919
mov qword [r14 + 8], 0xa
jmp 0x140003934
mov r9b, 1
nop dword [rax + rax]
add rbx, 0x10
cmp rbx, rsi
je case.default.0x1400037f6
mov edx, dword [rbx]
mov rax, qword [rbx + 8]
movsxd rdx, dword [rdi + rdx*4]
add rdx, rdi
jmp rdx
mov r10b, 1
jmp case.0x1400037f6.10
mov r11b, 1
jmp case.0x1400037f6.10
mov r8, rax
jmp case.0x1400037f6.10
mov rcx, rax
jmp case.0x1400037f6.10
mov r15, rax
jmp case.0x1400037f6.10
test r10b, 1
sete al
test r11b, 1
jne 0x140003853
test r9b, 1
je 0x14000377f
mov eax, r10d
and al, 1
movzx eax, al
lea r9d, [rax + rax]
add r9d, 2
cmp rcx, 0xffffffffffffffff
je 0x140003797
xor eax, eax
test r10b, 1
sete al
lea esi, [rax + rax]
add esi, 2
jmp 0x1400038a6
test r9b, 1
jne 0x14000387c
test r10b, 1
jne 0x14000386f
mov r9d, 0x10
cmp rcx, 0xffffffffffffffff
je 0x140003797
mov dword [r14 + 8], 7
jmp 0x140003934
mov eax, r10d
and al, 1
movzx r9d, al
shl r9d, 5
add r9d, 0x20
cmp rcx, 0xffffffffffffffff
je 0x140003797
xor eax, eax
test r10b, 1
sete al
lea esi, [rax + rax]
add esi, 0x22
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, r9d
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingW
mov rdi, rax
call sub.KERNEL32.dll_GetLastError
test rdi, rdi
je 0x1400038e2
cmp eax, 0xb7
jne 0x1400038ec
mov dword [r14 + 8], 9
jmp 0x140003934
mov dword [r14 + 8], 0xb
jmp 0x140003930
mov r8, r12
shr r8, 0x20
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, esi
mov r9d, r15d
call sub.KERNEL32.dll_MapViewOfFile
test rax, rax
je 0x140003923
mov qword [r14], 0
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], r12
jmp 0x14000393b
call sub.KERNEL32.dll_GetLastError
mov dword [r14 + 8], 0xc
mov dword [r14 + 0xc], eax
mov qword [r14], 2
mov rax, r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret