Function at 0x1401d8340
Capabilities:
Copy file
Create directory
Create process on windows
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8c0]
sub rsp, 0x9c0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0xa00], rbx
mov rax, qword [0x140324030]
xor rax, rsp
mov qword [rbp + 0x8b8], rax
mov r12, r8
mov r15, rdx
xor edi, edi
mov dword [rbp - 0x48], edi
lea r14, [rdx + 0x1c8]
mov qword [rbp - 0x58], r14
mov rcx, r14
call qword [sym.imp.MSVCP110.dll__Mtx_lock]
test eax, eax
je 0x1401d83a7
mov ecx, eax
call qword [sym.imp.MSVCP110.dll_void___cdecl_std::_Throw_C_error_int_]
mov byte [rbp - 0x50], 1
xor r13b, r13b
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x110], rdi
mov qword [rbp + reloc.mfc110u.dll_Ordinal_280], rdi
mov qword [rbp + 0x130], rdi
lea rcx, [rbp + 0x100]
call qword [sym.imp.mfc110u.dll_Ordinal_490]
nop
mov esi, 1
cmp byte [0x14034e5d6], sil
jne 0x1401d91cd
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
cmp byte [0x14034e5c6], r13b
jne 0x1401d84dd
movzx ebx, word [r15 + 0x1d8]
cmp byte [0x14034e5d3], sil
cmove ebx, esi
cmp byte [0x14034e5d4], sil
cmove ebx, edi
call fcn.140059ad0
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ebx
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
call fcn.140059ad0
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ebx
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d_result.rst
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
jmp 0x1401d8609
cmp word [r15 + 0x1d8], 0
jne 0x1401d8584
call fcn.140059b60
nop
movzx ecx, word [r15 + 0x1da]
movzx edx, word [r15 + 0x1d8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
call fcn.140059b60
nop
movzx ecx, word [r15 + 0x1da]
movzx edx, word [r15 + 0x1d8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d_result.rst
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
jmp 0x1401d8609
call fcn.140059b30
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
call fcn.140059b30
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d_result.rst
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
movzx r9d, word [r15 + 0x1da]
movzx r8d, word [r15 + 0x1d8]
lea rdx, str.d:LoadResult__d__d.rst
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
xor edx, edx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.MSVCR110.dll__waccess_s]
mov ebx, eax
test eax, eax
je 0x1401d8806
cmp word [0x14034e5c2], 3
jne 0x1401d877b
mov r13b, 1
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
call fcn.140059ad0
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], esi
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
call fcn.140059ad0
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], esi
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d_result.rst
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor edx, edx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.MSVCR110.dll__waccess_s]
mov ebx, eax
test eax, eax
je 0x1401d8806
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [rbp - 0x30]
mov r8, qword [r15 + reloc.mfc110u.dll_Ordinal_488]
lea rcx, [rbp - 0x48]
cmp ebx, 0xd
lea rdx, str.Cannot_access_rst_file..___I64d____s
je 0x1401d8741
lea rdx, str.Cannot_find_rst_file..___I64d____s
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
xor r8d, r8d
mov edx, 0x40000
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_2217]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
nop
jmp 0x1401d87dc
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [rbp - 0x30]
mov r8, r12
lea rcx, [rbp - 0x48]
cmp ebx, 0xd
lea rdx, str.Cannot_access_rst_file..___I64d____s
je 0x1401d87a4
lea rdx, str.Cannot_find_rst_file..___I64d____s
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
xor r8d, r8d
mov edx, 0x40000
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_2217]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x28]
jmp 0x1401d9656
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x30]
lea rdx, str.try_to_copy__s_to__s
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1401d886e
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
jmp 0x1401d88b8
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x30]
lea rdx, str.fail_to_copy__s_to__s
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
xor r8d, r8d
mov edx, 0x40000
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_2217]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rdx, str.Read_rst_file.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rcx, [rbp + 0x470]
call qword [sym.imp.ModelManager.dll_public:_void___cdecl_CJsLoadInspResult::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4829]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
cmp word [rax], 0
jne 0x1401d891c
mov r8, rdi
jmp 0x1401d892b
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d8920
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14004a180
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x470]
call qword [sym.imp.ModelManager.dll_public:_bool___cdecl_CJsLoadInspResult::LoadInspResultJsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64]
lea rdx, str.End_read_rst_file.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rdx, [rbp - 0x48]
lea rcx, [0x14032d720]
call fcn.1400b7d70
nop
mov rcx, rax
call qword [sym.imp.mfc110u.dll_Ordinal_4829]
cmp word [rax], 0
jne 0x1401d899f
mov r8, rdi
jmp 0x1401d89ae
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d89a3
mov rdx, rax
lea rcx, [rbp + 0x590]
call fcn.14004a180
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov byte [rbp + 0x6a1], 1
mov r14, qword [rbp + 0x718]
mov rax, qword [rbp + 0x720]
cmp r14, rax
je 0x1401d8ad4
nop word [rax + rax]
mov rsi, qword [r14]
cmp rsi, qword [r14 + 8]
je 0x1401d8ac2
nop dword [rax]
mov byte [rsi + 0xc0], 1
mov byte [rsi + 0x108], 1
mov byte [rsi + 0x134], 1
mov byte [rsi + reloc.mfc110u.dll_Ordinal_344], 1
lea rcx, [rsi + 0x110]
xor r8d, r8d
lea rdx, [0x14022253d]
call fcn.140001b00
mov rdi, qword [rsi + 0x1f0]
cmp rdi, qword [rsi + 0x1f8]
je 0x1401d8aaa
mov byte [rdi + 0x28], 1
mov rbx, qword [rdi + 0xd8]
cmp rbx, qword [rdi + 0xe0]
je 0x1401d8a9a
nop word [rax + rax]
mov byte [rbx + 0x20], 1
lea rcx, [rbx + 0x28]
xor r8d, r8d
lea rdx, [0x14022253d]
call fcn.140001b00
lea rcx, [rbx + 0x48]
xor r8d, r8d
lea rdx, [0x14022253d]
call fcn.140001b00
add rbx, 0xc8
cmp rbx, qword [rdi + 0xe0]
jne 0x1401d8a60
add rdi, 0x108
cmp rdi, qword [rsi + 0x1f8]
jne 0x1401d8a42
add rsi, 0x238
cmp rsi, qword [r14 + 8]
jne 0x1401d8a00
mov rax, qword [rbp + 0x720]
add r14, 0x48
cmp r14, rax
jne 0x1401d89f0
xor edi, edi
lea esi, [rdi + 1]
mov byte [rbp + 0x6a0], 1
cmp byte [r15 + 0x1d7], 1
jne 0x1401d8b32
mov rax, qword [0x14032d928]
cmp dword [rax + 0x31c4], 1
jne 0x1401d8b18
mov dword [r15 + 0x1e0], esi
mov dword [rbp + 0x748], esi
mov rax, qword [0x14032d928]
mov dword [rax + Ordinal_12743], edi
mov r8d, dword [rbp + 0x748]
jmp 0x1401d8b42
mov dword [r15 + 0x1e0], 2
mov r8d, 2
mov dword [rbp + 0x748], r8d
jmp 0x1401d8b42
mov dword [r15 + 0x1e0], edi
mov r8d, edi
mov dword [rbp + 0x748], edi
lea rdx, str.Spot_sample___d
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rdx, str.end_make_rst_file.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
cmp byte [0x14034e5c6], 0
jne 0x1401d8c15
movzx ebx, word [r15 + 0x1d8]
cmp byte [0x14034e5d3], 1
je 0x1401d8bc2
cmp r13b, 1
jne 0x1401d8bc4
mov ebx, esi
cmp byte [0x14034e5d4], 1
cmove ebx, edi
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
call fcn.140059ad0
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ebx
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
jmp 0x1401d8ca4
lea rdx, [rbp - 0x48]
lea rcx, [0x14034e310]
cmp word [r15 + 0x1d8], 0
jne 0x1401d8c6c
call fcn.140059b60
nop
movzx ecx, word [r15 + 0x1da]
movzx edx, word [r15 + 0x1d8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
jmp 0x1401d8ca4
call fcn.140059b30
nop
movzx ecx, word [r15 + 0x1da]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9, qword [r15 + 0x1f0]
mov r8, qword [rax]
lea rdx, str._sInspData_s_d_d_I64d
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov r8, qword [rbp - 0x18]
lea rdx, str.Create_rst_folder__s_.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rcx, [rbp + 0x360]
call qword [sym.imp.ModelManager.dll_public:_void___cdecl_JsonParserEx::constructor_void____ptr64]
nop
mov qword [rbp + 0x80], rdi
lea rax, [0x140249d48]
mov qword [rbp], rax
lea rax, [0x140228f90]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x48], esi
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rdi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x18], rdi
xor r14d, r14d
mov qword [rbp + 0x80], r14
mov dword [rbp + 0x88], r14d
mov r8, qword [rbp - 0x18]
lea rdx, str._s_result.rst
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, str.d:_resultTemp.rst
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
lea r8, [rbp]
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x360]
cmp dword [0x14034e5ec], 3
lea r9d, [r14 + 3]
je 0x1401d8dd6
lea r9d, [r14 + 1]
call qword [sym.imp.ModelManager.dll_public:_void___cdecl_JsonParserEx::unparsingJSONInspectInfo_struct_PanelInsp____ptr64__class_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char______ptr64__enum_JsonParserEx::JS_INSPECT_SAVE_TYPE____ptr64]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + reloc.mfc110u.dll_Ordinal_448], r14
mov qword [rbp + 0x1d8], r14
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_306]
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0x140]
call fcn.1400b7ee0
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1028]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
cmp qword [rbp + 0x1d8], 0
je 0x1401d8f1b
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP110.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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
lea rcx, [rbp + 0x148]
call fcn.1400b8be0
test rax, rax
jne 0x1401d8e75
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx + 0x140]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r8, qword [rbp - 0x38]
lea rdx, str.Save_Temp_rst_file__s_.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1401d8f0c
xor r8d, r8d
mov edx, 0x40000
lea rcx, str.rst_file_save_error__
call qword [sym.imp.mfc110u.dll_Ordinal_2217]
mov r8, qword [rbp - 0x10]
lea rdx, str.Cannot_save_rst_file.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
jmp 0x1401d8ffd
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1401d8ffd
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r14
mov qword [rbp + 0x2e8], r14
mov rdx, qword [rbp - 0x10]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_306]
nop
mov rdx, qword [rax]
lea rcx, [rbp + 0x250]
call fcn.1400b7ee0
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1028]
cmp qword [rbp + 0x2e8], 0
je 0x1401d8fac
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x250]
call qword [sym.imp.MSVCP110.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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
lea rcx, [rbp + 0x258]
call fcn.1400b8be0
test rax, rax
jne 0x1401d8fac
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx + 0x250]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x250], rbx
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x24c], edx
lea rcx, [rbp + 0x258]
call fcn.1400b8020
lea rcx, [rbp + 0x260]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov r8, qword [rbp - 0x10]
lea rdx, str.Save_rst_file__s_.
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdx, rax
lea rcx, [0x14034efc0]
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], rbx
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + reloc.mfc110u.dll_Ordinal_316], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x1d8], 0
je 0x1401d90a6
mov rax, qword [rbp + 0x160]
lea rcx, [rbp + 0x1c8]
cmp qword [rax], rcx
jne 0x1401d90a6
mov r8, qword [rbp + 0x1b8]
mov r9, r8
mov rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
cmp byte [rbp + 0x1d0], 0
je 0x1401d90bb
lea rcx, [rbp + 0x148]
call fcn.1400b8be0
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + reloc.mfc110u.dll_Ordinal_488]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], rsi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
mov qword [rbp + 0x18], rdi
test byte [rbp + 0x88], 1
je 0x1401d9127
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rax, qword [rbp + 0x38]
xor edi, edi
mov qword [rax], rdi
mov rax, qword [rbp + 0x58]
mov qword [rax], rdi
mov rax, qword [rbp + 0x70]
mov dword [rax], edi
mov qword [rbp + 0x80], rdi
and dword [rbp + 0x88], 0xfffffffe
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x360]
call qword [sym.imp.ModelManager.dll_public:_void___cdecl_JsonParserEx::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x470]
call qword [sym.imp.ModelManager.dll_public:_void___cdecl_CJsLoadInspResult::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea r14, [r15 + 0x1c8]
cmp byte [0x14032e8f8], 0
jne 0x1401d92a9
cmp byte [0x14032ed00], 0
jne 0x1401d92a9
cmp byte [0x14034e5d7], 1
jne 0x1401d95dd
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rdx, str.Cannot_connect_xNetAgent
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
lea rax, [rsp + 0x70]
mov qword [rbp - 8], rax
lea rdx, str.IDD_MES_DISCONNECT
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
mov rbx, rax
lea rdx, str.IDD_DEFECT_INFO
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x38]
mov r8, rbx
mov rdx, rax
lea rcx, [0x14034ef60]
call qword [sym.imp.MultiLang_x64.dll_public:_int___cdecl_CMultiLangManager::GetCaptionDef_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64____ptr64]
mov r9, qword [rbp - 0x38]
or r8d, 0xffffffff
lea rdx, str._From_xNetAgent__d__:__s
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
xor r8d, r8d
mov edx, 0x40000
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_2217]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor bl, bl
jmp 0x1401d965e
cmp byte [0x14034e5d7], 1
jne 0x1401d95dd
movzx esi, word [r15 + 0x1d8]
cmp byte [0x14034e5d3], 1
je 0x1401d92cd
cmp r13b, 1
jne 0x1401d92d2
mov esi, 1
cmp byte [0x14034e5d4], 1
cmove esi, edi
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
movzx eax, word [0x14034e5e8]
test ax, ax
jne 0x1401d93b8
movzx eax, word [r15 + 0x1da]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, qword [r15 + 0x1f0]
lea rdx, str.D:InspData_s_d_d_I64d
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov r8, qword [rbp - 0x18]
lea rdx, str._s_result.rst
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x20], rax
lea rdx, [0x140224a18]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
mov rdi, rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [0x140224a18]
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov r9b, 1
movzx r8d, word [r15 + 0x1da]
movzx edx, si
lea rcx, [0x14032de10]
call fcn.14018cd20
jmp 0x1401d95d1
cmp ax, 1
jne 0x1401d95d3
cmp byte [0x14034e6d4], 0
jne 0x1401d95d3
movzx eax, word [r15 + 0x1da]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, qword [r15 + 0x1f0]
lea rdx, str.D:InspData_s_d_d_I64d
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov r8, qword [rbp - 0x18]
lea rdx, str._s_result.rst
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [r15 + 0x208]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [r15 + 0x208]
mov r8, r12
lea rdx, str._Step5__Unload_Panel_Index_:__I64d____Barcode_:__s
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
lea rcx, [r15 + 0x160]
mov rdx, rax
call qword [sym.imp.LogMsgInterface.dll_public:_void___cdecl_CLogMsgInterface::writeLogData_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rdi, rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rbx, rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
mov byte [rsp + 0x68], 1
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x60], rcx
mov ecx, dword [r15 + 0x1e0]
mov dword [rsp + 0x58], ecx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
mov r9b, 1
movzx r8d, word [r15 + 0x1da]
movzx edx, si
lea rcx, [0x14032de10]
call fcn.14018d2c0
test al, al
jne 0x1401d95bc
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov ebx, dword [0x14032ef48]
lea rdx, [0x14032ef50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
mov dword [0x14032ef48], r12d
lea rdx, [0x140224a18]
lea rcx, [0x14032ef50]
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r9, qword [rbp - 0x40]
mov r8d, ebx
lea rdx, str._From_xNetAgent__d__:__s
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
xor r8d, r8d
mov edx, 0x40000
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_2217]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor bl, bl
jmp 0x1401d965e
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor edi, edi
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
cmp byte [0x14034e708], 0
je 0x1401d965c
lea rdx, str.C:PARMIjson2xmljson2xml.exe
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov r8, qword [rbp - 0x18]
mov r9, r8
lea rdx, str.__s_result.rst____s_result.xml_
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x38]
mov r8, qword [rbp - 8]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
test rax, rax
jne 0x1401d9647
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov bl, 1
lea rcx, [rbp + 0x100]
call qword [sym.imp.mfc110u.dll_Ordinal_1115]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
mov rcx, r14
call qword [sym.imp.MSVCP110.dll__Mtx_unlock]
test eax, eax
je 0x1401d96a2
mov ecx, eax
call qword [sym.imp.MSVCP110.dll_void___cdecl_std::_Throw_C_error_int_]
movzx eax, bl
mov rcx, qword [rbp + 0x8b8]
xor rcx, rsp
call fcn.1401e3980
mov rbx, qword [rsp + 0xa00]
add rsp, 0x9c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret