Function at 0x140041f00
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 [0x1400c0030]
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 0x140042e26
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.14002a660
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400c5bc0]
lea rcx, [rsp + 0x310]
call fcn.14002a8c0
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.14002a660
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400c5980]
lea rcx, [rsp + 0x330]
call fcn.14002a8c0
lea rdx, [r15 + 8]
lea rcx, [rsp + 0x20]
call fcn.140045a50
nop
lea rcx, [rsp + 0x180]
call fcn.140044220
nop
lea rcx, [rsp + 0x70]
call fcn.140044100
nop
cmp qword [r15 + 0x38], 0x10
jb 0x140042027
mov rdx, qword [r15 + 0x20]
jmp 0x14004202b
lea rdx, [r15 + 0x20]
mov r8d, 1
lea rcx, [rsp + 0x190]
call fcn.140045480
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x180]
jne 0x140042069
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 0x140042074
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 0x140042104
lea rcx, [r15 + 0x20]
call fcn.1400294f0
mov qword [rsp + 0x38], rax
lea rdx, str.ConfigMgmt::ConfigMgmt
lea rcx, [rsp + 0x370]
call fcn.140029650
nop
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x2b0]
call fcn.1400242f0
nop
lea rdx, str.Could_not_open
mov rcx, rax
call fcn.14002d110
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14002d650
mov rdx, rax
lea rcx, [rsp + 0x480]
call fcn.1400243f0
lea rdx, [0x1400bc478]
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.140045480
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
jne 0x140042153
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 0x14004215e
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 0x1400421e0
lea rdx, str.ConfigMgmt::ConfigMgmt
lea rcx, [rsp + 0x370]
call fcn.140029650
nop
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x2b0]
call fcn.1400242f0
nop
lea rdx, str.Could_not_open
mov rcx, rax
call fcn.14002d110
lea rdx, [rsp + 0x310]
mov rcx, rax
call fcn.140038150
mov rdx, rax
lea rcx, [rsp + 0x4e0]
call fcn.1400243f0
lea rdx, [0x1400bc478]
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 0x1400426ff
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.140040df0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1400426ff
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x370]
call fcn.14003d230
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.140029590
mov rax, qword [rsp + 0x388]
cmp rax, 0x10
jb 0x1400422df
inc rax
mov rcx, qword [rsp + 0x370]
cmp rax, 0x1000
jb 0x1400422da
test cl, 0x1f
je 0x1400422aa
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 0x1400422ba
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 0x1400422ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400422d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14005c1c8
mov rsi, qword [rsp + 0x360]
test rsi, rsi
jne 0x140042313
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x70]
call fcn.140037b40
lea rdx, [0x140037d90]
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 0x140042200
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 0x14004235f
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x70]
call fcn.140037b40
lea rdx, [0x140037d90]
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 0x140042200
test rsi, rsi
je 0x1400422ec
cmp rsi, 1
jb 0x1400422ec
lea rdi, [rsp + 0x350]
cmp rdx, 0x10
cmovae rdi, rcx
nop word [rax + rax]
test rsi, rsi
je 0x1400422ec
mov r8, rsi
mov edx, 0x3d
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memchr]
mov rbx, rax
test rax, rax
je 0x1400422ec
cmp byte [rax], 0x3d
je 0x1400423ba
sub rdi, rax
dec rdi
add rsi, rdi
lea rdi, [rax + 1]
jmp 0x140042380
lea rax, [rsp + 0x350]
cmp qword [rsp + 0x368], 0x10
cmovae rax, qword [rsp + 0x350]
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x1400422ec
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x350]
call fcn.14003d000
nop
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.14003d230
nop
lea rcx, [rsp + 0x370]
call fcn.140029500
lea r8, [rbx + 1]
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x350]
call fcn.14003d000
nop
mov rdx, rax
lea rcx, [rsp + 0x3b0]
call fcn.140041720
nop
lea rcx, [rsp + 0x3d0]
call fcn.140029500
mov r14, qword [rsp + 0x3a0]
test r14, r14
je 0x1400426df
mov r15, qword [rsp + 0x20]
mov rdi, qword [r15 + 8]
mov rbx, r15
cmp byte [rdi + 0x19], 0
jne 0x140042564
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 0x1400424b2
mov rcx, qword [rcx]
mov rsi, qword [rsi]
mov r8, r14
cmp rsi, r14
cmovb r8, rsi
test r8, r8
je 0x1400424cd
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400424df
cmp rsi, r14
jae 0x1400424d7
or eax, 0xffffffff
jmp 0x1400424df
xor eax, eax
cmp rsi, r14
seta al
shr eax, 0x1f
test al, al
je 0x1400424ec
mov rdi, qword [rdi + 0x10]
jmp 0x1400424f2
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140042490
cmp rbx, r15
je 0x140042561
lea rdx, [rbx + 0x20]
lea rdi, [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004250f
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 0x14004253f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004253f
xor r12d, r12d
jmp 0x140042558
cmp r14, rdi
jae 0x14004254c
or eax, 0xffffffff
xor r12d, r12d
jmp 0x140042558
xor r12d, r12d
mov eax, r12d
cmp r14, rdi
seta al
shr eax, 0x1f
test al, al
jne 0x140042564
jmp 0x140042567
xor r12d, r12d
mov rbx, r15
cmp rbx, r15
mov r15, qword [rsp + 0x38]
je 0x1400426df
cmp byte [r15 + 0x18], 0
jne 0x140042658
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, [0x1400a4444]
lea rcx, [rsp + 0x2b0]
call fcn.140025060
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
lea rdx, str.Updated_line:
mov rcx, rax
call fcn.140025060
mov rdi, rax
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.140025250
mov rcx, rdi
call fcn.140041a10
lea rdx, [rbx + 0x40]
mov rcx, rax
call fcn.140025250
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024c00
lea rax, [rsp + 0x370]
mov qword [rsp + 0x40], rax
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x370]
call fcn.140029690
mov r14, rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x290]
call fcn.140029690
mov rsi, rax
mov rcx, qword [r15]
mov rdi, qword [rcx + 0x48]
mov rcx, rdi
call qword [fcn.14005d040]
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.140037b40
nop
lea rcx, [rsp + 0x3f0]
call fcn.140029500
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400438d0
nop
lea rcx, [rsp + 0x3b0]
call fcn.140029500
nop
lea rcx, [rsp + 0x390]
call fcn.140029500
jmp 0x140042200
mov rbx, qword [rsp + 0x20]
mov rbx, qword [rbx]
nop word [rax + rax]
cmp rbx, qword [rsp + 0x20]
je 0x14004291b
cmp byte [r15 + 0x18], 0
jne 0x1400427fe
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, [0x1400a4444]
lea rcx, [rsp + 0x2b0]
call fcn.140025060
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
lea rdx, str.New_line:
mov rcx, rax
call fcn.140025060
mov rdi, rax
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.140025250
mov rcx, rdi
call fcn.140041a10
lea rdx, [rbx + 0x40]
mov rcx, rax
call fcn.140025250
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024c00
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.14002a660
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.14002a660
mov rax, qword [r15]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [fcn.14005d040]
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.140037b40
nop
lea rcx, [rsp + 0x3b0]
call fcn.140029500
cmp byte [rbx + 0x19], 0
jne 0x140042710
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400428f2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140042710
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400428e1
jmp 0x140042710
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140042913
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140042913
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140042900
mov rbx, rax
jmp 0x140042710
lea rcx, [rsp + 0x78]
call fcn.140045400
test rax, rax
jne 0x140042948
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.140045400
test rax, rax
jne 0x14004297f
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.140029500
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 0x140042ace
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 0x140042ace
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.14002a0d0
mov qword [rsp + 0x2e8], r12
mov qword [rsp + 0x2f0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.14002a0d0
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, [0x1400a4444]
lea rcx, [rsp + 0x2b0]
call fcn.140025060
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Error_occured_when_trying_to_remove_old_backup_config_file:
call fcn.140025060
mov rcx, rax
mov rdx, rbx
call fcn.140025060
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024c00
jmp 0x140042dc0
lea rdx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rdx, qword [rsp + 0x330]
lea rdi, [r15 + 0x20]
cmp qword [rdi + 0x18], 0x10
jb 0x140042af8
mov rcx, qword [rdi]
jmp 0x140042afb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x140042c16
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.14002a0d0
mov qword [rsp + 0x2e8], r12
mov qword [rsp + 0x2f0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.14002a0d0
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 0x140042b8b
mov rdi, qword [rdi]
mov dword [rsp + 0x2fc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0x2b0]
call fcn.140025060
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Error_occured_when_trying_to_rename_file:
call fcn.140025060
mov rcx, rax
mov rdx, rdi
call fcn.140025060
mov rcx, rax
lea rdx, str._to:
call fcn.140025060
mov rcx, rax
mov rdx, rbx
call fcn.140025060
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024c00
jmp 0x140042dc0
cmp qword [rdi + 0x18], 0x10
jb 0x140042c22
mov rdx, qword [rdi]
jmp 0x140042c25
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 0x140042d57
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.14002a0d0
mov qword [rsp + 0x2e8], r12
mov qword [rsp + 0x2f0], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.14002a0d0
mov dword [rsp + 0x2f8], 1
cmp qword [rdi + 0x18], 0x10
jb 0x140042cb5
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, [0x1400a4444]
lea rcx, [rsp + 0x2b0]
call fcn.140025060
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Error_occured_when_trying_to_rename_file:
call fcn.140025060
mov rcx, rax
mov rdx, rbx
call fcn.140025060
mov rcx, rax
lea rdx, str._to:
call fcn.140025060
mov rcx, rax
mov rdx, rdi
call fcn.140025060
nop
lea rcx, [rsp + 0x2b0]
call fcn.140024c00
jmp 0x140042dc0
lea rcx, [rsp + 0x70]
call fcn.140042f40
nop
lea rcx, [rsp + 0x180]
call fcn.140042ed0
nop
mov r8, qword [rsp + 0x20]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400455e0
mov edx, 1
lea r8d, [rdx + 0x5f]
mov rcx, qword [rsp + 0x20]
call fcn.140023e30
nop
lea rcx, [rsp + 0x330]
call fcn.140029500
nop
lea rcx, [rsp + 0x310]
call fcn.140029500
mov al, 1
jmp 0x140042e6d
lea rcx, [rsp + 0x70]
call fcn.140042f40
nop
lea rcx, [rsp + 0x180]
call fcn.140042ed0
nop
mov r8, qword [rsp + 0x20]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400455e0
mov edx, 1
lea r8d, [rdx + 0x5f]
mov rcx, qword [rsp + 0x20]
call fcn.140023e30
nop
lea rcx, [rsp + 0x330]
call fcn.140029500
nop
lea rcx, [rsp + 0x310]
call fcn.140029500
xor al, al
jmp 0x140042e6d
lea rdx, str.configFileName_must_not_be_empty
lea rcx, [rsp + 0x3b0]
call fcn.140029650
nop
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x440]
call fcn.14002e050
lea rdx, [0x1400bc5d8]
lea rcx, [rsp + 0x440]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.14005beb0
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