Function at 0x14011e574
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov eax, dword [rcx + 0x38]
xor r12d, r12d
mov r15, qword [rcx + 0x18]
mov r14, rdx
mov rdi, rcx
test eax, eax
jne 0x14011e5ec
lea edx, [rax + 5]
lea rcx, [rbp + 0x40]
call fcn.140145228
lea edx, [r12 + 0xd]
mov r8, rax
mov rcx, r15
call fcn.14011d4bc
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14011e5e2
cmp eax, 0xffffffff
je 0x14011e7cb
sub eax, 1
mov dword [rcx], eax
jne 0x14011e7cb
mov rcx, qword [rbp + 0x40]
mov edx, 2
jmp 0x14011e6da
test r14, r14
jne 0x14011e609
test r8, r8
jne 0x14011e609
lea edx, [r14 + 0x57]
lea rcx, [rbp + 0x40]
call fcn.140145228
lea edx, [r14 + 8]
jmp 0x14011e5b5
mov ebx, 2
lea esi, [rbx - 1]
test sil, r9b
jne 0x14011e62c
test bl, al
je 0x14011e61e
mov esi, ebx
jmp 0x14011e62c
test sil, al
mov esi, r12d
mov eax, 4
cmovne esi, eax
cmp qword [rcx + 0x80], r12
jne 0x14011e6ea
mov rcx, qword [rcx + 0x78]
cmp rcx, 0xffffffffffffffff
jne 0x14011e668
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x14011e661
call fcn.140177648
mov ecx, eax
call fcn.140172dc0
mov rcx, rax
cmp rax, 0xffffffffffffffff
jne 0x14011e668
mov edx, 5
jmp 0x14011e69c
mov eax, dword [rdi + 0x38]
and al, bl
mov qword [rsp + 0x28], r12
neg al
mov dword [rsp + 0x20], r12d
sbb r8d, r8d
xor r9d, r9d
and r8d, ebx
xor edx, edx
add r8d, ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x80], rax
test rax, rax
jne 0x14011e6ea
or edx, 0xffffffff
lea rcx, [rbp + 0x40]
call fcn.140145228
mov r8, rax
mov edx, 0xd
mov rcx, r15
call fcn.14011d4bc
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14011e6d7
cmp eax, 0xffffffff
je 0x14011e7cb
sub eax, 1
mov dword [rcx], eax
jne 0x14011e7cb
mov rcx, qword [rbp + 0x40]
mov rdx, rbx
mov r8d, 8
call fcn.14010b388
jmp 0x14011e7cb
mov rax, r14
lea rcx, [rbp - 0x30]
sar rax, 0x20
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp - 8]
mov r12d, r14d
dec eax
and r12d, eax
je 0x14011e711
not eax
and r14d, eax
mov rax, qword [rbp + 0x50]
mov r9d, r14d
mov r8d, dword [rbp + 0x40]
mov edx, esi
mov rcx, qword [rdi + 0x80]
mov r13d, r12d
add rax, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x14011e75b
lea rbx, [rax + r12]
lea rcx, [rdi + 0x88]
mov qword [rbp + 0x40], rbx
lea rdx, [rbp + 0x40]
call fcn.14011d4dc
mov dword [rax], r12d
mov rax, rbx
jmp 0x14011e7cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
or edx, 0xffffffff
lea rcx, [rbp + 0x40]
cmp eax, 5
je 0x14011e779
call fcn.140145228
mov edx, 8
jmp 0x14011e783
call fcn.140145228
mov edx, 0xd
mov r8, rax
mov rcx, r15
call fcn.14011d4bc
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14011e7a8
cmp eax, 0xffffffff
je 0x14011e7b6
sub eax, 1
mov dword [rcx], eax
jne 0x14011e7b6
mov rcx, qword [rbp + 0x40]
mov r8d, 8
mov rdx, rbx
call fcn.14010b388
mov rcx, qword [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0x80], 0
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret