Function at 0x1400065a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push r13
push r14
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400841b0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, rcx
and dword [rsp + 0x20], 0
xor ecx, ecx
lea r8d, [rcx + 0xa]
test dl, dl
lea edx, [rcx + 2]
jne 0x1400065f4
lea edx, [rcx + 3]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000662c
lea r9, str.Failed_to_find_xml_in_resources
mov edx, 0xd8
lea r8, str.amcorewcd_sensedlp_srcexe_src_sensecemain.cpp
mov rcx, qword [rbp + 0xa8]
call fcn.140008ea8
jmp 0x14000694f
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
jne 0x140006650
lea r9, str.Failed_to_load_xml_from_resources
mov edx, 0xdb
jmp 0x140006614
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140006675
lea r9, str.Failed_to_get_pointer_to_xml_content_in_resources
mov edx, 0xde
jmp 0x140006614
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14000669d
lea r9, str.Failed_to_get_size_of_xml_content_in_resources
mov edx, 0xe1
jmp 0x140006614
lea rax, [0x14005c9c0]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.msvcp_win.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop dword [rax + rax]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp_win.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r13
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rax, [rsp + 0x58]
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.msvcp_win.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop dword [rax + rax]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
and qword [rbp - 0x40], 0
mov dword [rbp - 0x38], 4
mov ecx, 0x40
call fcn.14004e2fc
mov rbx, rax
mov qword [rbp + 0x40], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.msvcp_win.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
nop dword [rax + rax]
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__5_.0
mov qword [rbx], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x50]
add rcx, rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.msvcp_win.dll_public:_class_std::locale___cdecl_std::ios_base::getloc_void____ptr64]
nop dword [rax + rax]
nop
mov rcx, qword [rax + 8]
call qword [sym.imp.msvcp_win.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
mov rcx, qword [sym.imp.msvcp_win.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.msvcp_win.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
nop dword [rax + rax]
mov r8, rax
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcp_win.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
nop dword [rax + rax]
mov rax, qword [rsp + 0x30]
and dword [rax + 0x20], 0
mov rcx, qword [rsp + 0x30]
add rcx, 0x28
lea rdx, [0x14005c9a0]
call qword [sym.imp.msvcp_win.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140006822
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14003db4e.0]
mov r8, rax
test rax, rax
je 0x140006822
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14003db4e.0]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0x40]
call qword [sym.imp.msvcp_win.dll_public:_class_std::locale___cdecl_std::basic_ios_char__struct_std::char_traits_char__::imbue_class_std::locale_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14000687c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14003db4e.0]
mov r8, rax
test rax, rax
je 0x14000687c
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14003db4e.0]
nop
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcp_win.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
nop dword [rax + rax]
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140007744
nop
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140005974
mov rdx, rax
mov rcx, r14
call fcn.140008d38
lea rcx, [rbp + 0x40]
call fcn.14000a1c0
nop
lea rcx, [rbp + 0x60]
call fcn.140009c70
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140006901
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14003db4e.0]
mov r8, rax
test rax, rax
je 0x140006901
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [case.0x14003db4e.0]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r13
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140007ec0
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp - 0x28]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14004ddf0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret