Function at 0x140069d90
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov rbp, qword [rcx + 0x18]
cmp dword [rcx + 0x38], 0
jne 0x140069e25
mov edx, 5
lea rcx, [rax + 8]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 0xd
mov rcx, rbp
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rcx]
test eax, eax
je 0x140069e12
cmp eax, 0xffffffff
je 0x14006a0d0
lock dec dword [rcx]
jne 0x14006a0d0
mov rcx, qword [rsp + 0xd0]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x14006a0d0
test rdx, rdx
jne 0x140069e84
test r8, r8
jne 0x140069e84
lea edx, [r8 + 0x57]
lea rcx, [rsp + 0x48]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 8
mov rcx, rbp
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140069e71
cmp eax, 0xffffffff
je 0x14006a0d0
lock dec dword [rcx]
jne 0x14006a0d0
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x14006a0d0
mov edi, 2
lea r12d, [rdi + 2]
xor r14d, r14d
cmp qword [rcx + 0x80], r14
jne 0x140069f9c
mov rcx, qword [rcx + 0x78]
cmp rcx, 0xffffffffffffffff
jne 0x140069f1b
mov rcx, qword [rsi + 0x70]
test rcx, rcx
je 0x140069ec5
call fcn.1400ffdb4
mov ecx, eax
call fcn.1400fe8f8
mov rcx, rax
cmp rax, 0xffffffffffffffff
jne 0x140069f1b
mov edx, 5
lea rcx, [rsp + 0x40]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 0xd
mov rcx, rbp
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140069f08
cmp eax, 0xffffffff
je 0x14006a0d0
lock dec dword [rcx]
jne 0x14006a0d0
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x14006a0d0
mov eax, dword [rsi + 0x38]
and eax, edi
mov r8d, edi
cmovne r8d, r12d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsi + 0x80], rax
test rax, rax
jne 0x140069f9c
or edx, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 0xd
mov rcx, rbp
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140069f89
cmp eax, 0xffffffff
je 0x14006a0d0
lock dec dword [rcx]
jne 0x14006a0d0
mov rcx, qword [rsp + 0x50]
mov r8d, 8
mov rdx, rdi
call fcn.1400112a0
jmp 0x14006a0d0
mov ecx, dword [rsi + 0x38]
mov eax, ecx
and eax, 1
mov r13d, r14d
cmovne r13d, r12d
and ecx, edi
cmovne r13d, edi
mov rax, rbx
sar rax, 0x20
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
dec eax
mov r12d, ebx
and r12d, eax
je 0x140069fe0
not eax
and ebx, eax
lea rax, [r12 + r15]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, dword [rsp + 0xd0]
mov edx, r13d
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x14006a02e
lea rbx, [r12 + rax]
mov qword [rsp + 0x58], rbx
lea rcx, [rsi + 0x88]
lea rdx, [rsp + 0x58]
call fcn.140068b10
mov dword [rax], r12d
mov rax, rbx
jmp 0x14006a0d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
or edx, 0xffffffff
cmp eax, 5
je 0x14006a074
lea rcx, [rsp + 0x30]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 8
mov rcx, rbp
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006a0aa
cmp eax, 0xffffffff
je 0x14006a0b8
lock dec dword [rcx]
jne 0x14006a0b8
mov rcx, qword [rsp + 0x30]
jmp 0x14006a0aa
lea rcx, [rsp + 0x38]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 0xd
mov rcx, rbp
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006a0aa
cmp eax, 0xffffffff
je 0x14006a0b8
lock dec dword [rcx]
jne 0x14006a0b8
mov rcx, qword [rsp + 0x38]
mov r8d, 8
mov rdx, rdi
call fcn.1400112a0
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x80], 0
xor eax, eax
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret