Function at 0x14012efa0
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x728
mov rax, qword [0x1404e6228]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x190], rax
lea rdx, [0x14032f6a8]
mov rcx, qword [rsp + 0x190]
call fcn.1400a4430
mov qword [rsp + 0x198], rax
mov r8, qword [rsp + 0x198]
mov rdx, qword [rsp + 0x740]
mov rcx, qword [rsp + 0x730]
call fcn.1400ee680
movzx eax, al
test eax, eax
je 0x14012f13d
lea rdx, str.version_ext
mov rcx, qword [rsp + 0x740]
call fcn.1401a88a0
mov rcx, rax
call fcn.1401a8d00
mov dword [rsp + 0x44], eax
call fcn.14012ef40
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.1401a7a10
nop
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jle 0x14012f06e
mov byte [rsp + 0x24], 1
jmp 0x14012f073
mov byte [rsp + 0x24], 0
movzx edx, byte [rsp + 0x24]
lea rcx, [rsp + 0x4e0]
call fcn.1400e54c0
nop
lea rdx, [0x14032f6c8]
lea rcx, [rsp + 0x50]
call fcn.1401a7b30
lea rdx, [rsp + 0x4e0]
mov rcx, rax
call fcn.1401a8560
nop
lea rcx, [rsp + 0x4e0]
call fcn.1400d3c50
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x550]
call fcn.1400d3a40
nop
lea rdx, [0x14032f6d8]
lea rcx, [rsp + 0x50]
call fcn.1401a7b30
lea rdx, [rsp + 0x550]
mov rcx, rax
call fcn.1401a8560
nop
lea rcx, [rsp + 0x550]
call fcn.1400d3c50
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1400d3ba0
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x70], rax
lea rdx, [0x14032f448]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4430
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x740]
mov rcx, qword [rsp + 0x730]
call fcn.1400ee680
movzx eax, al
test eax, eax
je 0x14012f260
call fcn.14012ef40
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x60]
call fcn.1401a7a10
nop
xor edx, edx
lea rcx, [rsp + 0x5c0]
call fcn.1400e54c0
nop
lea rdx, str.updateNeeded
lea rcx, [rsp + 0x60]
call fcn.1401a7b30
lea rdx, [rsp + 0x5c0]
mov rcx, rax
call fcn.1401a8560
nop
lea rcx, [rsp + 0x5c0]
call fcn.1400d3c50
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x630]
call fcn.1400d3a40
nop
lea rdx, str.currentVersion
lea rcx, [rsp + 0x60]
call fcn.1401a7b30
lea rdx, [rsp + 0x630]
mov rcx, rax
call fcn.1401a8560
nop
lea rcx, [rsp + 0x630]
call fcn.1400d3c50
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x60]
call fcn.1400d3ba0
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rax, [rsp + 0x210]
mov qword [rsp + 0x80], rax
lea rdx, [0x14032f708]
mov rcx, qword [rsp + 0x80]
call fcn.1400a4430
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x740]
mov rcx, qword [rsp + 0x730]
call fcn.1400ee460
movzx eax, al
test eax, eax
je 0x14012fc35
lea rdx, str.data_ext
mov rcx, qword [rsp + 0x740]
call fcn.1401a88a0
lea rdx, [rsp + 0x390]
mov rcx, rax
call fcn.1401a8e60
nop
lea rax, [rsp + 0x230]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x390]
mov rcx, qword [rsp + 0x90]
call fcn.140087760
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.14019dd10
movzx eax, al
test eax, eax
je 0x14012fbf0
lea rcx, [rsp + 0x3d0]
call fcn.14012ed40
nop
lea rax, [rsp + 0x250]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0xb0], rax
lea rdx, [0x14032f728]
mov rcx, qword [rsp + 0xa0]
call fcn.1400a4430
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x3d0]
mov rcx, qword [rsp + 0xb0]
call fcn.140087760
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x370]
call fcn.1400f3ab0
nop
lea rcx, [rsp + 0x370]
call fcn.1400bcdf0
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
lea rax, [rsp + 0x290]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0xc8]
call fcn.140087760
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x430]
call fcn.1400f3d80
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400bcdf0
lea rdx, [0x14032f40c]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x430]
call fcn.140088270
cmp qword [rsp + 0x30], 0
jne 0x14012f454
lea rcx, str.Error_in_creating_the_configuration_file
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
lea rdx, [rsp + 0x4b0]
mov ecx, eax
call fcn.14012e830
cmp eax, 0xffffffff
jne 0x14012f488
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea rcx, [0x14032f778]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
lea rcx, [rsp + 0x370]
call fcn.1400bcdf0
mov rcx, rax
call fcn.14012ea40
cmp qword [rsp + 0x30], 0
je 0x14012faf3
lea rcx, [rsp + 0x390]
call fcn.1400c89c0
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x390]
call fcn.1400bcdf0
mov r9, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
mov r8, rcx
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea rcx, str.New_configuration_file_created_n
call fcn.1400eda30
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0xf8], rax
lea rdx, [0x14032f7a8]
mov rcx, qword [rsp + 0xe8]
call fcn.1400a4430
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x3d0]
mov rcx, qword [rsp + 0xf8]
call fcn.140087760
mov qword [rsp + 0x108], rax
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x3b0]
call fcn.1400f3ab0
nop
lea rcx, [rsp + 0x3f0]
call fcn.140087860
nop
lea rcx, [rsp + 0x3b0]
call fcn.1400bcdf0
lea rdx, [rsp + 0x3f0]
mov rcx, rax
call fcn.14019ddf0
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x14012f645
lea rcx, [0x14032f618]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x3f0]
call fcn.140088270
nop
lea rcx, [rsp + 0x3b0]
call fcn.140088270
nop
lea rcx, [rsp + 0x370]
call fcn.140088270
nop
lea rcx, [rsp + 0x3d0]
call fcn.140088270
nop
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rcx, [rsp + 0x3b0]
call fcn.1400bcdf0
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14012f6ed
lea rcx, [0x14032f7c8]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x3f0]
call fcn.140088270
nop
lea rcx, [rsp + 0x3b0]
call fcn.140088270
nop
lea rcx, [rsp + 0x370]
call fcn.140088270
nop
lea rcx, [rsp + 0x3d0]
call fcn.140088270
nop
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x3b0]
call fcn.1400bcdf0
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x110]
call fcn.140087760
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x450]
call fcn.1400f3d80
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.1400bcdf0
mov rcx, qword [rsp + 0x128]
mov rdx, rcx
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x450]
call fcn.140088270
cmp dword [rsp + 0x28], 0
je 0x14012fa10
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x3b0]
mov rcx, qword [rsp + 0x130]
call fcn.140087760
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x470]
call fcn.1400f3d80
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.1400bcdf0
lea rdx, [0x14032f444]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x470]
call fcn.140088270
cmp qword [rsp + 0x38], 0
jne 0x14012f814
lea rcx, str.Error_in_restoring_the_configuration_file
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rcx, qword [rsp + 0x38]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
lea rdx, [rsp + 0x4b0]
mov ecx, eax
call fcn.14012e830
cmp eax, 0xffffffff
jne 0x14012f848
mov rcx, qword [rsp + 0x38]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea rcx, [0x14032f818]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
cmp qword [rsp + 0x38], 0
je 0x14012f89e
lea rcx, [rsp + 0x3f0]
call fcn.1400c89c0
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x3f0]
call fcn.1400bcdf0
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x148]
mov r8, rcx
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, qword [rsp + 0x38]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
jmp 0x14012f977
lea rdx, [0x14032f828]
lea rcx, [rsp + 0x410]
call fcn.1400a4430
nop
lea rdx, [0x14032f848]
lea rcx, [rsp + 0x410]
call fcn.1400b3af0
lea rcx, [rsp + 0x410]
call fcn.1400bcdf0
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
lea rcx, [rsp + 0x370]
call fcn.1400bcdf0
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x410]
call fcn.140088270
nop
lea rcx, [rsp + 0x3f0]
call fcn.140088270
nop
lea rcx, [rsp + 0x3b0]
call fcn.140088270
nop
lea rcx, [rsp + 0x370]
call fcn.140088270
nop
lea rcx, [rsp + 0x3d0]
call fcn.140088270
nop
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rcx, [rsp + 0x370]
call fcn.1400bcdf0
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
lea rcx, [0x14032f868]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_perror
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x3f0]
call fcn.140088270
nop
lea rcx, [rsp + 0x3b0]
call fcn.140088270
nop
lea rcx, [rsp + 0x370]
call fcn.140088270
nop
lea rcx, [rsp + 0x3d0]
call fcn.140088270
nop
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rcx, [rsp + 0x1a0]
call fcn.1401a7a10
nop
mov dl, 1
lea rcx, [rsp + 0x6a0]
call fcn.1400e54c0
nop
lea rdx, [0x14032f888]
lea rcx, [rsp + 0x1a0]
call fcn.1401a7b30
lea rdx, [rsp + 0x6a0]
mov rcx, rax
call fcn.1401a8560
nop
lea rcx, [rsp + 0x6a0]
call fcn.1400d3c50
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x1a0]
call fcn.1400d3ba0
nop
lea rcx, [rsp + 0x3f0]
call fcn.140088270
nop
lea rcx, [rsp + 0x3b0]
call fcn.140088270
nop
lea rcx, [rsp + 0x370]
call fcn.140088270
nop
lea rcx, [rsp + 0x3d0]
call fcn.140088270
nop
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rax, [rsp + 0x310]
mov qword [rsp + 0x160], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov ecx, dword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rdx, rax
lea rcx, [rsp + 0x490]
call fcn.1400a4430
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x158]
lea rdx, str.Error_creating_new_config_file:
mov rcx, qword [rsp + 0x160]
call fcn.14012d7a0
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x738]
mov rcx, qword [rsp + 0x730]
call fcn.1400ee2d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x490]
call fcn.140088270
nop
lea rcx, [rsp + 0x370]
call fcn.140088270
nop
lea rcx, [rsp + 0x3d0]
call fcn.140088270
nop
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x390]
call fcn.140088270
nop
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rax, [rsp + 0x330]
mov qword [rsp + 0x170], rax
lea rdx, [0x14032f8b8]
mov rcx, qword [rsp + 0x170]
call fcn.1400a4430
mov qword [rsp + 0x178], rax
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x740]
mov rcx, qword [rsp + 0x730]
call fcn.1400ee460
movzx eax, al
test eax, eax
je 0x14012fcb6
mov rcx, qword [rsp + 0x738]
call fcn.1401a7a10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
lea rax, [rsp + 0x350]
mov qword [rsp + 0x180], rax
lea rdx, str.Missing_or_invalid_args_version_version_ext_or_data_data_ext
mov rcx, qword [rsp + 0x180]
call fcn.1400a4430
mov qword [rsp + 0x188], rax
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x738]
mov rcx, qword [rsp + 0x730]
call fcn.1400ee2d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x740]
call fcn.1400d3c50
mov rax, qword [rsp + 0x738]
jmp 0x14012fd2f
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.1401a6870
add rsp, 0x728
ret