Function at 0x1400a7160
Capabilities:
Delete file

Disassembly:
sub rsp, 0x3e8
mov rax, qword [0x1400e4010]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x30], 0
xor r8d, r8d
xor edx, edx
lea rcx, str._Config
call fcn.14008b4a0
movzx eax, al
test eax, eax
je 0x1400a7c4f
xor r8d, r8d
xor edx, edx
mov ecx, 2
call fcn.14006e900
vmovss xmm1, dword [0x1400dbc38]
mov ecx, 1
call fcn.14006d500
vmovss xmm0, dword [0x1400dbc34]
call fcn.140035830
lea rcx, [rsp + 0x230]
call fcn.1400a7100
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x318]
mov rcx, qword [rsp + 0x78]
call fcn.1400a56a0
nop
lea rcx, [rsp + 0x230]
call fcn.1400a5c80
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400ee778], eax
jle 0x1400a7279
lea rcx, [0x1400ee778]
call fcn.1400b6708
cmp dword [0x1400ee778], 0xffffffff
jne 0x1400a7279
mov edx, 0x18
lea rcx, [0x1400ee760]
call fcn.1400031e0
lea rcx, [0x1400ee760]
call fcn.14000e000
lea rcx, [0x1400ba8b0]
call fcn.1400b6ac4
lea rcx, [0x1400ee778]
call fcn.1400b669c
mov edx, 0x18
lea rcx, [rsp + 0x2f0]
call fcn.1400031e0
lea rcx, [rsp + 0x2f0]
call fcn.14000e000
nop
lea rcx, [0x1400ee760]
call fcn.1400a8310
xor r8d, r8d
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x1b0]
call fcn.1400a9d80
nop
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x308]
call fcn.1400a6e30
nop
lea rax, [rsp + 0x308]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x1b0]
call fcn.1400a5c80
mov edx, 0x10
lea rcx, [rsp + 0x2d0]
call fcn.1400031e0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call fcn.1400a7c70
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x2d0]
call fcn.1400a6f40
nop
mov edx, 0x10
lea rcx, [rsp + 0x2e0]
call fcn.1400031e0
lea rax, [rsp + 0x200]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.1400a7c70
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x2e0]
call fcn.1400a6fe0
nop
jmp 0x1400a73a1
lea rcx, [rsp + 0x2d0]
call fcn.1400a6eb0
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x2d0]
call fcn.1400a6ef0
movzx eax, al
test eax, eax
je 0x1400a7575
lea rcx, [rsp + 0x2d0]
call fcn.1400a6e90
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400a6700
movzx eax, al
test eax, eax
je 0x1400a746b
xor r8d, r8d
lea rdx, [0x1400da398]
lea rcx, [rsp + 0x1d0]
call fcn.1400a9dd0
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x50]
call fcn.1400a66f0
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0xa0]
call fcn.1400a5aa0
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0xa8]
call fcn.1400a5c10
movzx eax, al
test eax, eax
je 0x1400a746b
mov dword [rsp + 0x38], 1
jmp 0x1400a7473
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x1400a749a
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x250]
call fcn.1400a5c80
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x1400a74b7
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x1d0]
call fcn.1400a5c80
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x1400a7570
mov rcx, qword [rsp + 0x50]
call fcn.1400a66f0
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0xb0]
call fcn.1400a5a10
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0xc8]
call fcn.1400a56a0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [0x1400ee760]
call fcn.1400a8490
nop
lea rcx, [rsp + 0x270]
call fcn.140003750
nop
lea rcx, [rsp + 0x290]
call fcn.1400a5c80
jmp 0x1400a7394
lea rcx, [rsp + 0x2e0]
call fcn.1400a6f80
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400a6f80
nop
lea rcx, [rsp + 0x308]
call fcn.1400a6f80
lea rax, [0x1400ee760]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140003b70
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.140003b60
mov qword [rsp + 0xe0], rax
jmp 0x1400a75db
mov rax, qword [rsp + 0x40]
add rax, 0x20
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x40], rax
je 0x1400a7623
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.14000e210
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x2f0]
call fcn.1400a8250
jmp 0x1400a75cd
lea rcx, [rsp + 0x2f0]
call fcn.140014770
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x2f0]
call fcn.1400a8230
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0xf8]
lea rdx, [0x1400ec728]
lea rcx, str.ConfigFiles
call fcn.140088260
call fcn.14006e060
vmovss xmm0, dword [0x1400dbc24]
call fcn.140035830
vmovss xmm2, dword [0x1400dbbf0]
vmovss xmm1, dword [0x1400dbc24]
lea rcx, [rsp + 0x100]
call fcn.140006790
lea rdx, [rsp + 0x100]
lea rcx, str.Load_Selected
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a772e
cmp dword [0x1400ec728], 0
jl 0x1400a772e
movsxd rax, dword [0x1400ec728]
mov qword [rsp + 0x108], rax
lea rcx, [0x1400ee760]
call fcn.1400a2ec0
mov rcx, qword [rsp + 0x108]
cmp rcx, rax
jae 0x1400a772e
movsxd rax, dword [0x1400ec728]
mov rdx, rax
lea rcx, [0x1400ee760]
call fcn.1400a8280
mov rdx, rax
lea rcx, [rsp + 0x338]
call fcn.14000e2b0
nop
lea rcx, [rsp + 0x338]
call fcn.1400aeb10
nop
lea rcx, [rsp + 0x338]
call fcn.140003750
vmovss xmm2, dword [0x1400dbbf0]
vmovss xmm1, dword [0x1400dbc24]
lea rcx, [rsp + 0x110]
call fcn.140006790
lea rdx, [rsp + 0x110]
lea rcx, str.Save_Selected
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a77d9
cmp dword [0x1400ec728], 0
jl 0x1400a77d9
movsxd rax, dword [0x1400ec728]
mov qword [rsp + 0x118], rax
lea rcx, [0x1400ee760]
call fcn.1400a2ec0
mov rcx, qword [rsp + 0x118]
cmp rcx, rax
jae 0x1400a77d9
movsxd rax, dword [0x1400ec728]
mov rdx, rax
lea rcx, [0x1400ee760]
call fcn.1400a8280
mov rdx, rax
lea rcx, [rsp + 0x358]
call fcn.14000e2b0
nop
lea rcx, [rsp + 0x358]
call fcn.1400ac660
nop
lea rcx, [rsp + 0x358]
call fcn.140003750
vmovss xmm2, dword [0x1400dbbf0]
vmovss xmm1, dword [0x1400dbc24]
lea rcx, [rsp + 0x120]
call fcn.140006790
lea rdx, [rsp + 0x120]
lea rcx, str.Delete_Selected
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a7850
cmp dword [0x1400ec728], 0
jl 0x1400a7850
movsxd rax, dword [0x1400ec728]
mov qword [rsp + 0x128], rax
lea rcx, [0x1400ee760]
call fcn.1400a2ec0
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
jae 0x1400a7850
xor edx, edx
lea rcx, str.reallyDelete
call fcn.140037620
xor edx, edx
lea rcx, [0x1400da3f0]
call fcn.140037ee0
movzx eax, al
test eax, eax
je 0x1400a7a38
xor edx, edx
lea rcx, [0x1400da418]
call fcn.14006f730
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [0x1400dbc00]
lea rcx, [rsp + 0x130]
call fcn.140006790
lea rdx, [rsp + 0x130]
lea rcx, [0x1400da410]
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a78b0
call fcn.140037c40
vmovss xmm1, dword [0x1400dbcdc]
vxorps xmm0, xmm0, xmm0
call fcn.140035550
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [0x1400dbc00]
lea rcx, [rsp + 0x138]
call fcn.140006790
lea rdx, [rsp + 0x138]
lea rcx, [0x1400da42c]
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a7a33
movsxd rax, dword [0x1400ec728]
mov rdx, rax
lea rcx, [0x1400ee760]
call fcn.1400a8280
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.14000e2b0
nop
lea r8, [0x1400da428]
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x2b0]
call fcn.1400a9e20
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
lea r8, [rsp + 0x378]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x3b8]
call fcn.1400a9f40
nop
lea rcx, [rsp + 0x2b0]
call fcn.140003750
lea rcx, [rsp + 0x3b8]
call fcn.14000e210
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x1400a7a12
lea rdx, [rsp + 0x198]
lea rcx, [0x1400ee760]
call fcn.1400a82b0
mov qword [rsp + 0x158], rax
movsxd rax, dword [0x1400ec728]
mov qword [rsp + 0x150], rax
mov r8, qword [rsp + 0x150]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x158]
call fcn.1400a81e0
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x160]
lea rdx, [rsp + 0x1a8]
lea rcx, [0x1400ee760]
call fcn.1400a83b0
mov dword [0x1400ec728], 0xffffffff
call fcn.140037c40
nop
lea rcx, [rsp + 0x3b8]
call fcn.140003750
nop
lea rcx, [rsp + 0x378]
call fcn.140003750
call fcn.140037f70
vmovss xmm2, dword [0x1400dbbf0]
vmovss xmm1, dword [0x1400dbc24]
lea rcx, [rsp + 0x168]
call fcn.140006790
lea rdx, [rsp + 0x168]
lea rcx, str.Reset_Config
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a7a7e
xor edx, edx
lea rcx, [0x1400da430]
call fcn.140037620
xor edx, edx
lea rcx, str.reallyReset
call fcn.140037ee0
movzx eax, al
test eax, eax
je 0x1400a7b32
xor edx, edx
lea rcx, str.Are_you_sure_
call fcn.14006f730
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [0x1400dbc00]
lea rcx, [rsp + 0x170]
call fcn.140006790
lea rdx, [rsp + 0x170]
lea rcx, [0x1400da474]
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a7ade
call fcn.140037c40
vmovss xmm1, dword [0x1400dbcdc]
vxorps xmm0, xmm0, xmm0
call fcn.140035550
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [0x1400dbc00]
lea rcx, [rsp + 0x178]
call fcn.140006790
lea rdx, [rsp + 0x178]
lea rcx, [0x1400da470]
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a7b2d
call fcn.1400a7cb0
call fcn.140037c40
call fcn.140037f70
mov r8b, 1
xor edx, edx
mov ecx, 1
call fcn.14006e900
call fcn.140073500
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, pe_nt_image_headers64
lea rdx, str.NewConfig
lea rcx, [0x1400da488]
call fcn.140077b70
vmovss xmm1, dword [0x1400dbcdc]
vxorps xmm0, xmm0, xmm0
call fcn.140035550
vmovss xmm2, dword [0x1400dbbf0]
vmovss xmm1, dword [0x1400dbc24]
lea rcx, [rsp + 0x180]
call fcn.140006790
lea rdx, [rsp + 0x180]
lea rcx, str.Create_Config
call fcn.1400707a0
movzx eax, al
test eax, eax
je 0x1400a7c2e
lea rdx, str.NewConfig
lea rcx, [rsp + 0x210]
call fcn.140003780
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
lea r8, str..config
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x398]
call fcn.1400a9ef0
nop
lea rcx, [rsp + 0x210]
call fcn.140003750
lea rcx, [rsp + 0x398]
call fcn.1400ac660
nop
lea rcx, [rsp + 0x398]
call fcn.140003750
call fcn.14008b580
nop
lea rcx, [rsp + 0x2f0]
call fcn.1400147a0
nop
lea rcx, [rsp + 0x318]
call fcn.140003750
mov rcx, qword [rsp + 0x3d8]
xor rcx, rsp
call fcn.1400b6640
add rsp, 0x3e8
ret