Function at 0x180001d00
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x180032080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15, rax
test rax, rax
je 0x180001f8e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call fcn.1800211e0
lea rcx, [rbp - 0x30]
call fcn.1800030a0
nop
cmp qword [rbp + 0x58], 0
je 0x180001f27
mov r14, qword [rsp + 0x68]
cmp r14, qword [rsp + 0x70]
jae 0x180001ee7
movabs r12, 0x7fffffffffffffff
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180001ee7
cmp dword [rsp + 0x50], 0x1000
jne 0x180001ed5
mov eax, dword [rsp + 0x54]
cmp eax, 1
je 0x180001ed5
bt eax, 8
jb 0x180001ed5
xorps xmm0, xmm0
mov rdi, qword [rsp + 0x48]
movdqu xmmword [rbp - 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x60], rsi
test rdi, rdi
je 0x180001e67
cmp rdi, r12
ja 0x180002015
cmp rdi, 0x1000
jb 0x180001e38
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x18000200f
call fcn.180005864
test rax, rax
je 0x18000201b
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x180001e43
mov rcx, rdi
call fcn.180005864
mov rbx, rax
mov qword [rbp - 0x70], rbx
lea rsi, [rdi + rbx]
mov qword [rbp - 0x60], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.1800211e0
mov qword [rbp - 0x68], rsi
mov rdi, qword [rsp + 0x48]
jmp 0x180001e6b
mov rbx, qword [rbp - 0x70]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
mov rdx, qword [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180001e9d
mov r8, qword [rbp - 0x48]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180003460
nop
test rbx, rbx
je 0x180001ed5
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x180001eca
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000201b
mov rdx, rsi
mov rcx, rbx
call fcn.180005830
mov eax, dword [rsp + 0x64]
add r14, rax
cmp r14, qword [rsp + 0x70]
jb 0x180001da0
lea rcx, [rbp - 0x28]
call fcn.180003b20
test rax, rax
jne 0x180001f27
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x18], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x20]
and eax, 0x17
mov dword [rbp + rcx - 0x20], eax
mov edx, dword [rbp + rcx - 0x1c]
and edx, eax
jne 0x180001fbe
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.180002de0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x34], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x78]
call fcn.1800052e4
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180005810
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test dl, 4
je 0x180001fcc
lea rbx, str.ios_base::badbit_set
jmp 0x180001fe1
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x48]
call fcn.1800012e0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180001ba0
lea rdx, [0x180031038]
lea rcx, [rbp - 0x70]
call fcn.1800076e4
int3
call fcn.180001170
int3
call fcn.180004890
int3
call fcn.18000c700
int3