Function at 0x140001816
Capabilities:
Set console window title
Set current directory

Disassembly:
jmp 0x140006ea0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x840
lea rdi, [rsp + 0x30]
mov ecx, 0x204
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x850]
mov rax, qword [0x140031038]
xor rax, rsp
mov qword [rsp + 0x830], rax
lea rcx, [0x140021550]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x858]
mov ecx, dword [rsp + 0x850]
call qword [sym.imp.DBd.dll_DBInitialize]
cmp eax, 1
je 0x140006f37
lea rax, str.Failed_initializing_DB_API
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [0x140021580]
mov edx, 0xd8
lea rcx, [0x140021590]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
mov eax, 1
jmp 0x1400079af
lea rax, [0x1400215d0]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021638]
mov edx, 0xdd
lea rcx, [0x140021648]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, [0x1400216b0]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021718]
mov edx, 0xde
lea rcx, [0x140021728]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str.__Note:_____________________________________________________________________________________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x1400217e8]
mov edx, 0xdf
lea rcx, [0x1400217f8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str._______move_suids_tars__out_of_tomes_suids_will_NOT_be_deleted_from_Semperdata______________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x1400218b8]
mov edx, 0xe0
lea rcx, [0x1400218c8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str._______input_csv_file_must_be_supplyed______________________________________________________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021998]
mov edx, 0xe1
lea rcx, [0x1400219a8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str._______output_will_be_located_on_each_storage_segment_under_the_moved.tars.from.sda_folder________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021a68]
mov edx, 0xe2
lea rcx, [0x140021a78]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, [0x140021ad0]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021b38]
mov edx, 0xe3
lea rcx, [0x140021b48]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str.__Params:___________________________________________________________________________________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021c08]
mov edx, 0xe4
lea rcx, [0x140021c18]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str._______dbip___________mandatory___param__ip_of_the_database________________________________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021cd8]
mov edx, 0xe5
lea rcx, [0x140021ce8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str._______dbport_________mandatory___param__port_of_the_database______________________________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021da8]
mov edx, 0xe6
lea rcx, [0x140021db8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str._______ifile__________mandatory___param__path_to_the_csv_file_move_suid_list_______________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021e78]
mov edx, 0xe7
lea rcx, [0x140021e88]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, str.____________________________________________________________________________________________________
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140021f58]
mov edx, 0xe8
lea rcx, [0x140021f68]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, [0x140021fb0]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022018]
mov edx, 0xe9
lea rcx, [0x140022028]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
call fcn.14000157d
mov r8, qword [rsp + 0x858]
mov edx, dword [rsp + 0x850]
mov rcx, qword [0x140033d18]
call qword [sym.imp.lcsyswind.dll_int___cdecl_cmd_ParseCommandLine_struct_tag_CommandLine____ptr64__int__char____ptr64____ptr64_]
test eax, eax
jne 0x1400071cd
lea rax, str.failed_to_parse_the_command_line
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022068]
mov edx, 0xef
lea rcx, [0x140022078]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
mov rcx, qword [0x140033d18]
call qword [sym.imp.lcsyswind.dll_int___cdecl_Free_CommandLine_struct_tag_CommandLine____ptr64_]
mov eax, 1
jmp 0x1400079af
call fcn.14000156e
test eax, eax
jne 0x140007218
lea rax, str.invalid_parameters_passed_in_the_command_line
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x1400220e8]
mov edx, 0xf6
lea rcx, [0x1400220f8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
mov rcx, qword [0x140033d18]
call qword [sym.imp.lcsyswind.dll_int___cdecl_Free_CommandLine_struct_tag_CommandLine____ptr64_]
mov eax, 1
jmp 0x1400079af
lea rax, str.Move_tars_started
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022138]
mov edx, 0xfb
lea rcx, [0x140022148]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x140022188]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140022198]
lea rcx, [0x1400221a8]
call qword [sym.imp.lcsyswind.dll_void___cdecl_prasys_LogStatsMessageReal_char_const____ptr64__char_const____ptr64_]
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public:_void___cdecl_CCSVFile::constructor_void____ptr64]
nop
lea rcx, [0x140033d48]
call fcn.1400010e6
mov byte [rsp + 0x20], 0x22
mov r9b, 0x2c
mov r8d, 0x64
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public_virtual:_int___cdecl_CCSVFile::Open_char_const____ptr64__int__unsigned_char__unsigned_char____ptr64]
test eax, eax
jne 0x14000735f
lea rax, str.csv.Open_csv_path__error
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x1400221d8]
mov edx, 0x103
lea rcx, [0x1400221e8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, [0x140021838]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022228]
mov edx, 0x104
lea rcx, [0x140022238]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
mov rcx, qword [0x140033d18]
call qword [sym.imp.lcsyswind.dll_int___cdecl_Free_CommandLine_struct_tag_CommandLine____ptr64_]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x140022278]
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov r8d, eax
lea rdx, [0x140022288]
lea rcx, [0x140022298]
call qword [sym.imp.lcsyswind.dll_void___cdecl_prasys_LogStatsMessageReal_char_const____ptr64__char_const____ptr64_]
mov dword [rsp + 0x6e0], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public_virtual:_void___cdecl_CCSVFile::destructor_void____ptr64]
mov eax, dword [rsp + 0x6e0]
jmp 0x1400079af
lea rcx, [rsp + 0x498]
call fcn.140001ca3
nop
xor edx, edx
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.DBd.dll_public:_void___cdecl_DBQuery::constructor_int____ptr64]
nop
lea rax, [rsp + 0x6e8]
mov qword [rsp + 0x710], rax
lea rdx, str.select_path_from_cfg.tome_order_by_nr_
mov rcx, qword [rsp + 0x710]
call fcn.140001550
mov qword [rsp + 0x7e0], rax
mov rdx, qword [rsp + 0x7e0]
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.DBd.dll_public:_class_DBQuery____ptr64___cdecl_DBQuery::setQuery_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64]
mov qword [rsp + 0x7e8], rax
mov rax, qword [rsp + 0x7e8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x7e8]
call qword [rax + 8]
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.DBd.dll_public:_class_DBResult____ptr64___cdecl_DBQuery::result_void____ptr64]
mov qword [rsp + 0x7f0], rax
mov rax, qword [rsp + 0x7f0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x7f0]
call qword [rax + 0x18]
mov dword [rsp + 0x4f4], eax
cmp dword [rsp + 0x4f4], 0
jne 0x1400074c5
lea rax, str.No_tomes_to_look_into.
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x1400222a8]
mov edx, 0x110
lea rcx, [0x1400222b8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
mov rcx, qword [0x140033d18]
call qword [sym.imp.lcsyswind.dll_int___cdecl_Free_CommandLine_struct_tag_CommandLine____ptr64_]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1400222f8]
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov r8d, eax
lea rdx, [0x140022308]
lea rcx, [0x140022318]
call qword [sym.imp.lcsyswind.dll_void___cdecl_prasys_LogStatsMessageReal_char_const____ptr64__char_const____ptr64_]
mov dword [rsp + 0x718], 0
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.DBd.dll_public_virtual:_void___cdecl_DBQuery::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x498]
call fcn.140001951
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public_virtual:_void___cdecl_CCSVFile::destructor_void____ptr64]
mov eax, dword [rsp + 0x718]
jmp 0x1400079af
lea rcx, [rsp + 0x508]
call fcn.140001a82
nop
mov dword [rsp + 0x524], 0
jmp 0x1400074f0
mov eax, dword [rsp + 0x524]
inc eax
mov dword [rsp + 0x524], eax
mov eax, dword [rsp + 0x4f4]
cmp dword [rsp + 0x524], eax
jge 0x140007610
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.DBd.dll_public:_class_DBResult____ptr64___cdecl_DBQuery::result_void____ptr64]
mov qword [rsp + 0x7f8], rax
mov rax, qword [rsp + 0x7f8]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x524]
lea rdx, [rsp + 0x720]
mov rcx, qword [rsp + 0x7f8]
call qword [rax + 0x60]
xor r8d, r8d
lea rdx, [rsp + 0x568]
mov rcx, rax
call qword [sym.imp.DBd.dll_public:_class_DBValue___cdecl_DBResultRow::operator___int____ptr64]
mov qword [rsp + 0x800], rax
mov rax, qword [rsp + 0x800]
mov qword [rsp + 0x808], rax
lea rdx, [rsp + 0x538]
mov rcx, qword [rsp + 0x808]
call qword [sym.imp.DBd.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_DBValue::as_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____void____ptr64]
nop
lea rcx, [rsp + 0x568]
call qword [sym.imp.DBd.dll_public_virtual:_void___cdecl_DBValue::destructor_void____ptr64]
lea rdx, [rsp + 0x538]
lea rcx, [rsp + 0x498]
call fcn.140001352
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x5a8]
lea rcx, [rsp + 0x538]
call fcn.14000160e
nop
lea r8, [rsp + 0x5a8]
lea rdx, [rsp + 0x730]
lea rcx, [rsp + 0x508]
call fcn.140001195
lea rcx, [rsp + 0x730]
call fcn.140001433
nop
lea rcx, [rsp + 0x5a8]
call fcn.14000123a
nop
lea rcx, [rsp + 0x538]
call fcn.14000123a
jmp 0x1400074e0
lea rdx, [rsp + 0x5e8]
lea rcx, [rsp + 0x508]
call fcn.1400019c9
nop
jmp 0x14000764d
xor r8d, r8d
lea rdx, [rsp + 0x750]
lea rcx, [rsp + 0x5e8]
call fcn.140001721
lea rcx, [rsp + 0x750]
call fcn.140001c44
lea rdx, [rsp + 0x770]
lea rcx, [rsp + 0x508]
call fcn.140001c3f
mov qword [rsp + 0x810], rax
mov rdx, qword [rsp + 0x810]
lea rcx, [rsp + 0x5e8]
call fcn.140001aa0
mov byte [rsp + 0x768], al
lea rcx, [rsp + 0x770]
call fcn.140001c44
movzx eax, byte [rsp + 0x768]
test eax, eax
je 0x14000777a
lea rcx, [rsp + 0x5e8]
call fcn.140001050
mov rdx, rax
lea rcx, [rsp + 0x618]
call fcn.14000118b
nop
lea r8, [0x140021ab8]
lea rdx, [rsp + 0x618]
lea rcx, [rsp + reloc.mfc140d.dll_Ordinal_1624]
call fcn.140001947
nop
lea rcx, [rsp + reloc.mfc140d.dll_Ordinal_1624]
call fcn.1400010e6
mov rcx, rax
call qword [sym.imp.lcsyswind.dll_bool___cdecl_prasys_ExistDirectory_char_const____ptr64_]
movzx eax, al
test eax, eax
jne 0x14000775a
lea r8, [0x140021114]
lea rdx, [rsp + 0x618]
lea rcx, [rsp + 0x698]
call fcn.140001947
nop
lea rcx, [rsp + 0x698]
call fcn.1400010e6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rcx, [rsp + 0x618]
call fcn.1400010e6
lea rdx, str.moved.tars.from.sda
mov rcx, rax
call qword [sym.imp.lcsyswind.dll_int___cdecl_prasys_CreateDirectory_char_const____ptr64__char_const____ptr64_]
nop
lea rcx, [rsp + 0x698]
call fcn.14000123a
nop
lea rcx, [rsp + reloc.mfc140d.dll_Ordinal_1624]
call fcn.14000123a
nop
lea rcx, [rsp + 0x618]
call fcn.14000123a
jmp 0x140007628
lea rcx, [rsp + 0x5e8]
call fcn.140001c44
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public:_int___cdecl_CCSVFile::NextLine_void____ptr64]
test eax, eax
je 0x140007900
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public:_int___cdecl_CCSVFile::GetCurrentLine_void_const___ptr64]
mov dword [rsp + 0x6c4], eax
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public_virtual:_char_const____ptr64___cdecl_CCSVFile::GetValueAtPos_int____ptr64]
mov qword [rsp + 0x6c8], rax
mov rax, qword [rsp + 0x6c8]
mov qword [rsp + 0x28], rax
lea rax, str.Moving_suid____s_
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022328]
mov edx, 0x132
lea rcx, [0x140022338]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
lea rax, [rsp + 0x788]
mov qword [rsp + 0x7b0], rax
lea rax, [rsp + 0x7b8]
mov qword [rsp + 0x7d0], rax
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x7b0]
call fcn.140001550
mov qword [rsp + 0x818], rax
mov rax, qword [rsp + 0x818]
mov qword [rsp + 0x820], rax
lea rdx, [rsp + 0x498]
mov rcx, qword [rsp + 0x7d0]
call fcn.140001a96
mov qword [rsp + 0x828], rax
mov rdx, qword [rsp + 0x820]
mov rcx, qword [rsp + 0x828]
call fcn.140001b13
mov dword [rsp + 0x6d0], eax
cmp dword [rsp + 0x6d0], 1
jne 0x1400078c3
mov rax, qword [rsp + 0x6c8]
mov qword [rsp + 0x28], rax
lea rax, str.Suid___s__found_and_moved.
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022398]
mov edx, 0x134
lea rcx, [0x1400223a8]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
jmp 0x1400078fb
mov rax, qword [rsp + 0x6c8]
mov qword [rsp + 0x28], rax
lea rax, str.Suid___s__not_found_and_unable_to_moved.
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [0x140022418]
mov edx, 0x135
lea rcx, [0x140022428]
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
jmp 0x140007787
lea rax, str.Move_tars_finished.
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, str.MoveTars
mov edx, 0x138
lea rcx, str.D:Sourcegit_atrium_move_src_sda_toolsmovetarsmovetars.cpp
call qword [sym.imp.lcsyswind.dll_prasys_LogMessageReal]
mov rcx, qword [0x140033d18]
call qword [sym.imp.lcsyswind.dll_int___cdecl_Free_CommandLine_struct_tag_CommandLine____ptr64_]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, str.MOVETARS
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov r8d, eax
lea rdx, str._d__d__s
lea rcx, str.DbConnStat
call qword [sym.imp.lcsyswind.dll_void___cdecl_prasys_LogStatsMessageReal_char_const____ptr64__char_const____ptr64_]
mov dword [rsp + 0x7d8], 0
lea rcx, [rsp + 0x508]
call fcn.140001b95
nop
lea rcx, [rsp + 0x4c8]
call qword [sym.imp.DBd.dll_public_virtual:_void___cdecl_DBQuery::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x498]
call fcn.140001951
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.lcommond.dll_public_virtual:_void___cdecl_CCSVFile::destructor_void____ptr64]
mov eax, dword [rsp + 0x7d8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140022e70]
call fcn.1400019ce
mov rax, rdi
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400015c8
add rsp, 0x840
pop rdi
ret