Function at 0x1419fb9c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r13, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rcx + 0x28]
mov eax, dword [rcx + 0x68]
test eax, eax
jne 0x1419fba2c
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1419d15a0
nop
mov r8, rax
mov edx, 0xd
mov rcx, rsi
call fcn.1419ec8c0
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1419fbc64
mov ebx, 0xffffffff
jmp 0x1419fbb44
test rbx, rbx
jne 0x1419fba59
test r13, r13
jne 0x1419fba59
mov edx, 0x57
lea rcx, [rsp + 0x30]
call fcn.1419d15a0
nop
mov r8, rax
mov edx, 8
mov rcx, rsi
call fcn.1419ec8c0
nop
jmp 0x1419fba14
xor r14d, r14d
mov r15d, 4
and r9d, 1
je 0x1419fba6f
mov ebp, 1
jmp 0x1419fba83
test al, 2
je 0x1419fba7a
mov ebp, 2
jmp 0x1419fba83
test al, 1
mov ebp, r14d
cmovne ebp, r15d
cmp qword [rcx + 0xb8], r14
jne 0x1419fbb6b
mov rax, qword [rcx + 0xb0]
cmp rax, 0xffffffffffffffff
jne 0x1419fbae1
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
je 0x1419fbabb
call fcn.141af639c
mov ecx, eax
call fcn.141af6220
cmp rax, 0xffffffffffffffff
jne 0x1419fbae1
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1419d15a0
nop
mov r8, rax
mov edx, 0xd
mov rcx, rsi
call fcn.1419ec8c0
nop
jmp 0x1419fba14
test byte [rdi + 0x68], 2
mov r8d, 2
cmovne r8d, r15d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0xb8], rax
test rax, rax
jne 0x1419fbb6b
mov ebx, 0xffffffff
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1419d15a0
nop
mov r8, rax
mov edx, 0xd
mov rcx, rsi
call fcn.1419ec8c0
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1419fbc64
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1419fbc64
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.1419a7030
jmp 0x1419fbc64
mov r15, rbx
sar r15, 0x20
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
dec eax
mov r14d, ebx
and r14d, eax
je 0x1419fbb8f
not eax
and ebx, eax
lea rax, [r14 + r13]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, r15d
mov edx, ebp
mov rcx, qword [rdi + 0xb8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x1419fbbdd
lea rbx, [r14 + rax]
mov qword [rsp + 0xb0], rbx
lea rcx, [rdi + 0xc0]
lea rdx, [rsp + 0xb0]
call fcn.1419fa1a0
mov dword [rax], r14d
mov rax, rbx
jmp 0x1419fbc66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xffffffff
lea rcx, [rsp + 0x30]
mov edx, ebx
cmp eax, 5
je 0x1419fbc0d
call fcn.1419d15a0
nop
mov r8, rax
mov edx, 8
mov rcx, rsi
call fcn.1419ec8c0
nop
jmp 0x1419fbc24
call fcn.1419d15a0
nop
mov r8, rax
mov edx, 0xd
mov rcx, rsi
call fcn.1419ec8c0
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1419fbc4c
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1419fbc4c
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.1419a7030
mov rcx, qword [rdi + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xb8], 0
xor eax, eax
lea r11, [rsp + 0x80]
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