Function at 0x140041220
Capabilities:
Delete file
Move file

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x550
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
cmp qword [rcx + 0x30], r12
je 0x140042146
mov qword [r11 - 0x250], 0xf
mov qword [r11 - 0x258], r12
mov byte [rsp + 0x310], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rcx + 0x20]
lea rcx, [r11 - 0x268]
call fcn.14002a650
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400c4b90]
lea rcx, [rsp + 0x310]
call fcn.14002a8b0
mov qword [rsp + 0x348], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x340], r12
mov byte [rsp + 0x330], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [r15 + 0x20]
lea rcx, [rsp + 0x330]
call fcn.14002a650
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400c4950]
lea rcx, [rsp + 0x330]
call fcn.14002a8b0
lea rdx, [r15 + 8]
lea rcx, [rsp + 0x20]
call fcn.140044d70
nop
lea rcx, [rsp + 0x180]
call fcn.140043540
nop
lea rcx, [rsp + 0x70]
call fcn.140043420
nop
cmp qword [r15 + 0x38], 0x10
jb 0x140041347
mov rdx, qword [r15 + 0x20]
jmp 0x14004134b
lea rdx, [r15 + 0x20]
mov r8d, 1
lea rcx, [rsp + 0x190]
call fcn.1400447a0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x180]
jne 0x140041389
add rcx, rax
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x140041394
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x190], 6
je 0x140041424
lea rcx, [r15 + 0x20]
call fcn.1400294e0
mov qword [rsp + 0x38], rax
lea rdx, str.ConfigMgmt::ConfigMgmt
lea rcx, [rsp + 0x370]
call fcn.140029640
nop
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x2b0]
call fcn.1400242e0
nop
lea rdx, str.Could_not_open
mov rcx, rax
call fcn.14002d100
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14002d640
mov rdx, rax
lea rcx, [rsp + 0x480]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0x480]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [rsp + 0x310]
cmp qword [rsp + 0x328], 0x10
cmovae rdx, qword [rsp + 0x310]
mov r8d, 2
lea rcx, [rsp + 0x78]
call fcn.1400447a0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
jne 0x140041473
add rcx, rax
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x14004147e
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x80], 6
je 0x140041500
lea rdx, str.ConfigMgmt::ConfigMgmt
lea rcx, [rsp + 0x370]
call fcn.140029640
nop
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x2b0]
call fcn.1400242e0
nop
lea rdx, str.Could_not_open
mov rcx, rax
call fcn.14002d100
lea rdx, [rsp + 0x310]
mov rcx, rax
call fcn.140037470
mov rdx, rax
lea rcx, [rsp + 0x4e0]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0x4e0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rsp + 0x368], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x360], r12
mov byte [rsp + 0x350], 0
nop dword [rax]
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x190], 0
jne 0x140041a1f
lea rax, [rsp + 0x180]
add rcx, rax
mov dl, 0xa
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 + 0x350]
lea rcx, [rsp + 0x180]
call fcn.140040110
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140041a1f
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x370]
call fcn.14003c550
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.140029580
mov rax, qword [rsp + 0x388]
cmp rax, 0x10
jb 0x1400415ff
inc rax
mov rcx, qword [rsp + 0x370]
cmp rax, 0x1000
jb 0x1400415fa
test cl, 0x1f
je 0x1400415ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400415da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400415ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400415f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14005b418
mov rsi, qword [rsp + 0x360]
test rsi, rsi
jne 0x140041633
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x70]
call fcn.140036e60
lea rdx, [0x1400370b0]
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]
jmp 0x140041520
lea rax, [rsp + 0x350]
mov rcx, qword [rsp + 0x350]
mov rdx, qword [rsp + 0x368]
cmp rdx, 0x10
cmovae rax, rcx
cmp byte [rax], 0x23
jne 0x14004167f
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x70]
call fcn.140036e60
lea rdx, [0x1400370b0]
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]
jmp 0x140041520
test rsi, rsi
je 0x14004160c
cmp rsi, 1
jb 0x14004160c
lea rdi, [rsp + 0x350]
cmp rdx, 0x10
cmovae rdi, rcx
nop word [rax + rax]
test rsi, rsi
je 0x14004160c
mov r8, rsi
mov edx, 0x3d
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memchr]
mov rbx, rax
test rax, rax
je 0x14004160c
cmp byte [rax], 0x3d
je 0x1400416da
sub rdi, rax
dec rdi
add rsi, rdi
lea rdi, [rax + 1]
jmp 0x1400416a0
lea rax, [rsp + 0x350]
cmp qword [rsp + 0x368], 0x10
cmovae rax, qword [rsp + 0x350]
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x14004160c
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x350]
call fcn.14003c320
nop
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.14003c550
nop
lea rcx, [rsp + 0x370]
call fcn.1400294f0
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x350]
call fcn.14003c320
nop
mov rdx, rax
lea rcx, [rsp + 0x3b0]
call fcn.140040a40
nop
lea rcx, [rsp + 0x3d0]
call fcn.1400294f0
mov r14, qword [rsp + 0x3a0]
test r14, r14
je 0x1400419ff
mov r15, qword [rsp + 0x20]
mov rdi, qword [r15 + 8]
mov rbx, r15
cmp byte [rdi + 0x19], 0
jne 0x140041884
mov r12, qword [rsp + 0x3a8]
mov r13, qword [rsp + 0x390]
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x390]
cmp r12, 0x10
cmovae rdx, r13
lea rsi, [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400417d2
mov rcx, qword [rcx]
mov rsi, qword [rsi]
mov r8, r14
cmp rsi, r14
cmovb r8, rsi
test r8, r8
je 0x1400417ed
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400417ff
cmp rsi, r14
jae 0x1400417f7
or eax, 0xffffffff
jmp 0x1400417ff
xor eax, eax
cmp rsi, r14
seta al
shr eax, 0x1f
test al, al
je 0x14004180c
mov rdi, qword [rdi + 0x10]
jmp 0x140041812
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1400417b0
cmp rbx, r15
je 0x140041881
lea rdx, [rbx + 0x20]
lea rdi, [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004182f
mov rdx, qword [rdx]
lea rcx, [rsp + 0x390]
cmp r12, 0x10
cmovae rcx, r13
mov rdi, qword [rdi]
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
test r8, r8
je 0x14004185f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004185f
xor r12d, r12d
jmp 0x140041878
cmp r14, rdi
jae 0x14004186c
or eax, 0xffffffff
xor r12d, r12d
jmp 0x140041878
xor r12d, r12d
mov eax, r12d
cmp r14, rdi
seta al
shr eax, 0x1f
test al, al
jne 0x140041884
jmp 0x140041887
xor r12d, r12d
mov rbx, r15
cmp rbx, r15
mov r15, qword [rsp + 0x38]
je 0x1400419ff
cmp byte [r15 + 0x18], 0
jne 0x140041978
lea rax, vtable.LogItem.0
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x2d0], 7
mov qword [rsp + 0x2c8], r12
mov word [rsp + 0x2b8], r12w
mov qword [rsp + 0x2f0], 7
mov qword [rsp + 0x2e8], r12
mov word [rsp + 0x2d8], r12w
mov dword [rsp + 0x2f8], 1
mov dword [rsp + 0x2fc], 1
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0x2b0]
call fcn.140025050
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
lea rdx, str.Updated_line:
mov rcx, rax
call fcn.140025050
mov rdi, rax
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.140025240
mov rcx, rdi
call fcn.140040d30
lea rdx, [rbx + 0x40]
mov rcx, rax
call fcn.140025240
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024bf0
lea rax, [rsp + 0x370]
mov qword [rsp + 0x40], rax
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x370]
call fcn.140029680
mov r14, rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x290]
call fcn.140029680
mov rsi, rax
mov rcx, qword [r15]
mov rdi, qword [rcx + 0x48]
mov rcx, rdi
call qword [fcn.14005c290]
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x3f0]
mov rcx, r15
call rdi
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140036e60
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400294f0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140042bf0
nop
lea rcx, [rsp + 0x3b0]
call fcn.1400294f0
nop
lea rcx, [rsp + 0x390]
call fcn.1400294f0
jmp 0x140041520
mov rbx, qword [rsp + 0x20]
mov rbx, qword [rbx]
nop word [rax + rax]
cmp rbx, qword [rsp + 0x20]
je 0x140041c3b
cmp byte [r15 + 0x18], 0
jne 0x140041b1e
lea rsi, vtable.LogItem.0
mov qword [rsp + 0x2b0], rsi
mov qword [rsp + 0x2d0], 7
mov qword [rsp + 0x2c8], r12
mov word [rsp + 0x2b8], r12w
mov qword [rsp + 0x2f0], 7
mov qword [rsp + 0x2e8], r12
mov word [rsp + 0x2d8], r12w
mov dword [rsp + 0x2f8], 1
mov dword [rsp + 0x2fc], 1
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0x2b0]
call fcn.140025050
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
lea rdx, str.New_line:
mov rcx, rax
call fcn.140025050
mov rdi, rax
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.140025240
mov rcx, rdi
call fcn.140040d30
lea rdx, [rbx + 0x40]
mov rcx, rax
call fcn.140025240
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024bf0
lea rax, [rsp + 0x390]
mov qword [rsp + 0x30], rax
lea rdx, [rbx + 0x40]
mov qword [rsp + 0x3a8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x3a0], r12
mov byte [rsp + 0x390], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x390]
call fcn.14002a650
nop
lea rdx, [rbx + 0x20]
mov qword [rsp + 0x388], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x380], r12
mov byte [rsp + 0x370], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x370]
call fcn.14002a650
mov rax, qword [r15]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [fcn.14005c290]
lea r9, [rsp + 0x390]
lea r8, [rsp + 0x370]
lea rdx, [rsp + 0x3b0]
mov rcx, r15
call rdi
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140036e60
nop
lea rcx, [rsp + 0x3b0]
call fcn.1400294f0
cmp byte [rbx + 0x19], 0
jne 0x140041a30
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140041c12
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140041a30
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140041c01
jmp 0x140041a30
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140041c33
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140041c33
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140041c20
mov rbx, rax
jmp 0x140041a30
lea rcx, [rsp + 0x78]
call fcn.140044720
test rax, rax
jne 0x140041c68
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rsp + 0x190]
call fcn.140044720
test rax, rax
jne 0x140041c9f
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x180]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rsp + 0x350]
call fcn.1400294f0
nop
lea rcx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rcx, qword [rsp + 0x330]
lea rdx, [rsp + 0x410]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x140041dee
lea rcx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rcx, qword [rsp + 0x330]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140041dee
lea rax, vtable.LogItem.0
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x2d0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2b8]
call fcn.14002a0c0
mov qword [rsp + 0x2e8], r12
mov qword [rsp + 0x2f0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.14002a0c0
mov dword [rsp + 0x2f8], 1
lea rbx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rbx, qword [rsp + 0x330]
mov dword [rsp + 0x2fc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0x2b0]
call fcn.140025050
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Error_occured_when_trying_to_remove_old_backup_config_file:
call fcn.140025050
mov rcx, rax
mov rdx, rbx
call fcn.140025050
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024bf0
jmp 0x1400420e0
lea rdx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rdx, qword [rsp + 0x330]
lea rdi, [r15 + 0x20]
cmp qword [rdi + 0x18], 0x10
jb 0x140041e18
mov rcx, qword [rdi]
jmp 0x140041e1b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x140041f36
lea rax, vtable.LogItem.0
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x2d0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2b8]
call fcn.14002a0c0
mov qword [rsp + 0x2e8], r12
mov qword [rsp + 0x2f0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.14002a0c0
mov dword [rsp + 0x2f8], 1
lea rbx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rbx, qword [rsp + 0x330]
cmp qword [rdi + 0x18], 0x10
jb 0x140041eab
mov rdi, qword [rdi]
mov dword [rsp + 0x2fc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0x2b0]
call fcn.140025050
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Error_occured_when_trying_to_rename_file:
call fcn.140025050
mov rcx, rax
mov rdx, rdi
call fcn.140025050
mov rcx, rax
lea rdx, str._to:
call fcn.140025050
mov rcx, rax
mov rdx, rbx
call fcn.140025050
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024bf0
jmp 0x1400420e0
cmp qword [rdi + 0x18], 0x10
jb 0x140041f42
mov rdx, qword [rdi]
jmp 0x140041f45
mov rdx, rdi
lea rcx, [rsp + 0x310]
cmp qword [rsp + 0x328], 0x10
cmovae rcx, qword [rsp + 0x310]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x140042077
lea rax, vtable.LogItem.0
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x2d0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2b8]
call fcn.14002a0c0
mov qword [rsp + 0x2e8], r12
mov qword [rsp + 0x2f0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.14002a0c0
mov dword [rsp + 0x2f8], 1
cmp qword [rdi + 0x18], 0x10
jb 0x140041fd5
mov rdi, qword [rdi]
lea rbx, [rsp + 0x310]
cmp qword [rsp + 0x328], 0x10
cmovae rbx, qword [rsp + 0x310]
mov dword [rsp + 0x2fc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0x2b0]
call fcn.140025050
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Error_occured_when_trying_to_rename_file:
call fcn.140025050
mov rcx, rax
mov rdx, rbx
call fcn.140025050
mov rcx, rax
lea rdx, str._to:
call fcn.140025050
mov rcx, rax
mov rdx, rdi
call fcn.140025050
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024bf0
jmp 0x1400420e0
lea rcx, [rsp + 0x70]
call fcn.140042260
nop
lea rcx, [rsp + 0x180]
call fcn.1400421f0
nop
mov r8, qword [rsp + 0x20]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140044900
mov edx, 1
lea r8d, [rdx + 0x5f]
mov rcx, qword [rsp + 0x20]
call fcn.140023e20
nop
lea rcx, [rsp + 0x330]
call fcn.1400294f0
nop
lea rcx, [rsp + 0x310]
call fcn.1400294f0
mov al, 1
jmp 0x14004218d
lea rcx, [rsp + 0x70]
call fcn.140042260
nop
lea rcx, [rsp + 0x180]
call fcn.1400421f0
nop
mov r8, qword [rsp + 0x20]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140044900
mov edx, 1
lea r8d, [rdx + 0x5f]
mov rcx, qword [rsp + 0x20]
call fcn.140023e20
nop
lea rcx, [rsp + 0x330]
call fcn.1400294f0
nop
lea rcx, [rsp + 0x310]
call fcn.1400294f0
xor al, al
jmp 0x14004218d
lea rdx, str.configFileName_must_not_be_empty
lea rcx, [rsp + 0x3b0]
call fcn.140029640
nop
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x440]
call fcn.14002e040
lea rdx, [0x1400bb1c8]
lea rcx, [rsp + 0x440]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.14005b100
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret