Function at 0x1400d6830
Capabilities:
Delete file

Disassembly:
sub rsp, 0x428
mov rax, qword [0x14014a340]
xor rax, rsp
mov qword [rsp + 0x418], rax
mov dword [rsp + 0x34], 0
lea rdx, [0x1401b8850]
lea rcx, [rsp + 0x358]
call fcn.1400221b0
nop
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1401b8960], eax
jle 0x1400d68ce
lea rcx, [0x1401b8960]
call fcn.140108278
cmp dword [0x1401b8960], 0xffffffff
jne 0x1400d68ce
mov edx, 0x18
lea rcx, [0x1401b8968]
call fcn.140007860
lea rcx, [0x1401b8968]
call fcn.140020780
lea rcx, [0x140112740]
call fcn.1401086cc
lea rcx, [0x1401b8960]
call fcn.140108218
mov edx, 0x18
lea rcx, [rsp + 0x330]
call fcn.140007860
lea rcx, [rsp + 0x330]
call fcn.140020780
nop
lea rcx, [0x1401b8968]
call fcn.1400d7da0
xor r8d, r8d
lea rdx, [rsp + 0x358]
lea rcx, [rsp + 0x1d0]
call fcn.140036c10
nop
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x348]
call fcn.1400d65f0
nop
lea rax, [rsp + 0x348]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x1d0]
call fcn.140032160
mov edx, 0x10
lea rcx, [rsp + 0x310]
call fcn.140007860
lea rax, [rsp + 0x250]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
call fcn.1400d75c0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x310]
call fcn.1400d6700
nop
mov edx, 0x10
lea rcx, [rsp + 0x320]
call fcn.140007860
lea rax, [rsp + 0x260]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.1400d75c0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x320]
call fcn.1400d67a0
nop
jmp 0x1400d69ea
lea rcx, [rsp + 0x310]
call fcn.1400d6670
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x310]
call fcn.1400d66b0
movzx eax, al
test eax, eax
je 0x1400d6bbe
lea rcx, [rsp + 0x310]
call fcn.1400d6650
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400d5f10
movzx eax, al
test eax, eax
je 0x1400d6ab4
xor r8d, r8d
lea rdx, [0x1401358e4]
lea rcx, [rsp + 0x1f0]
call fcn.1400d8b90
nop
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x58]
call fcn.1400d5f00
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x90]
call fcn.1400d5ac0
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x34]
or eax, 2
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x98]
call fcn.1400d5c30
movzx eax, al
test eax, eax
je 0x1400d6ab4
mov dword [rsp + 0x44], 1
jmp 0x1400d6abc
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x34]
and eax, 2
test eax, eax
je 0x1400d6ae3
and dword [rsp + 0x34], 0xfffffffd
lea rcx, [rsp + 0x270]
call fcn.140032160
nop
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1400d6b00
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0x1f0]
call fcn.140032160
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x1400d6bb9
mov rcx, qword [rsp + 0x58]
call fcn.1400d5f00
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0xa0]
call fcn.1400d5a30
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0xb8]
call fcn.1400d56c0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [0x1401b8968]
call fcn.1400d7f20
nop
lea rcx, [rsp + 0x290]
call fcn.1400083b0
nop
lea rcx, [rsp + 0x2b0]
call fcn.140032160
jmp 0x1400d69dd
lea rcx, [rsp + 0x320]
call fcn.1400d6740
nop
lea rcx, [rsp + 0x310]
call fcn.1400d6740
nop
lea rcx, [rsp + 0x348]
call fcn.1400d6740
lea rax, [0x1401b8968]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400087d0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400087c0
mov qword [rsp + 0xd0], rax
jmp 0x1400d6c24
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0x48], rax
je 0x1400d6c6c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140022040
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x330]
call fcn.1400d7d40
jmp 0x1400d6c16
movss xmm0, dword [0x1401396e0]
movss dword [rsp + 0x30], xmm0
call fcn.140059b80
movss dword [rsp + 0x38], xmm0
mov ecx, 0xffffffff
call fcn.1400917d0
movss dword [rsp + 0x50], xmm0
call fcn.140042ff0
movss xmm0, dword [rsp + 0x50]
subss xmm0, dword [rax + 0x4c]
movss xmm1, dword [rsp + 0x30]
mulss xmm1, dword [0x140139618]
subss xmm0, xmm1
movss dword [rsp + 0x40], xmm0
movss xmm2, dword [0x140139720]
movss xmm1, dword [0x140139700]
lea rcx, [rsp + 0x1b0]
call fcn.14000b6e0
mov rcx, rax
call fcn.140059c00
mov rcx, qword [0x1401b85b8]
call fcn.140098270
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
mov rcx, qword [0x1401b8510]
call fcn.140093b20
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
movss xmm0, dword [rsp + 0x40]
call fcn.140059d10
lea rcx, [rsp + 0x330]
call fcn.140038ee0
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x330]
call fcn.1400266b0
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0xe8]
lea rdx, [0x1401b52bc]
lea rcx, str.ConfigFiles
call fcn.1400a8cd0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
movss xmm2, dword [0x140139734]
movss xmm1, dword [0x1401397a8]
lea rcx, [rsp + 0xf0]
call fcn.14000b6e0
lea rdx, [rsp + 0xf0]
mov rcx, qword [0x1401b8528]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d6e6a
cmp dword [0x1401b52bc], 0
jl 0x1400d6e6a
movsxd rax, dword [0x1401b52bc]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1401b8968]
call fcn.1400d3ca0
mov rcx, qword [rsp + 0xf8]
cmp rcx, rax
jae 0x1400d6e6a
movsxd rax, dword [0x1401b52bc]
mov rdx, rax
lea rcx, [0x1401b8968]
call fcn.1400d7d70
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.1400221b0
nop
lea rdx, [rsp + 0x378]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140036920
mov qword [rsp + 0x100], rax
lea rdx, [0x140024880]
mov rcx, qword [rsp + 0x100]
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]
lea rcx, [rsp + 0x378]
call fcn.1400e0530
nop
lea rcx, [rsp + 0x378]
call fcn.1400083b0
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
movss xmm2, dword [0x140139734]
movss xmm1, dword [0x1401397a8]
lea rcx, [rsp + 0x108]
call fcn.14000b6e0
lea rdx, [rsp + 0x108]
mov rcx, qword [0x1401b85d8]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d6f58
cmp dword [0x1401b52bc], 0
jl 0x1400d6f58
movsxd rax, dword [0x1401b52bc]
mov qword [rsp + 0x110], rax
lea rcx, [0x1401b8968]
call fcn.1400d3ca0
mov rcx, qword [rsp + 0x110]
cmp rcx, rax
jae 0x1400d6f58
movsxd rax, dword [0x1401b52bc]
mov rdx, rax
lea rcx, [0x1401b8968]
call fcn.1400d7d70
mov rdx, rax
lea rcx, [rsp + 0x3f8]
call fcn.1400221b0
nop
lea rdx, [0x1401155fd]
lea rcx, [rsp + 0x210]
call fcn.1400083e0
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x3f8]
call fcn.1400dc890
nop
lea rcx, [rsp + 0x210]
call fcn.1400083b0
nop
lea rcx, [rsp + 0x3f8]
call fcn.1400083b0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
movss xmm2, dword [0x140139734]
movss xmm1, dword [0x1401397a8]
lea rcx, [rsp + 0x118]
call fcn.14000b6e0
lea rdx, [rsp + 0x118]
mov rcx, qword [0x1401b8558]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d6fe0
cmp dword [0x1401b52bc], 0
jl 0x1400d6fe0
movsxd rax, dword [0x1401b52bc]
mov qword [rsp + 0x120], rax
lea rcx, [0x1401b8968]
call fcn.1400d3ca0
mov rcx, qword [rsp + 0x120]
cmp rcx, rax
jae 0x1400d6fe0
xor edx, edx
lea rcx, [0x140136910]
call fcn.14005bb00
xor edx, edx
lea rcx, str.reallyDelete
call fcn.14005c3c0
movzx eax, al
test eax, eax
je 0x1400d71e3
xor edx, edx
lea rcx, [0x140136920]
call fcn.140093970
xor edx, edx
lea rcx, [0x14011c59c]
call fcn.140093970
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
xorps xmm2, xmm2
movss xmm1, dword [0x14013974c]
lea rcx, [rsp + 0x128]
call fcn.14000b6e0
lea rdx, [rsp + 0x128]
lea rcx, [0x14011c57c]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d705d
call fcn.14005c120
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
xorps xmm2, xmm2
movss xmm1, dword [0x14013974c]
lea rcx, [rsp + 0x130]
call fcn.14000b6e0
lea rdx, [rsp + 0x130]
lea rcx, [0x14011c5dc]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d71de
movsxd rax, dword [0x1401b52bc]
mov rdx, rax
lea rcx, [0x1401b8968]
call fcn.1400d7d70
mov rdx, rax
lea rcx, [rsp + 0x3b8]
call fcn.1400221b0
nop
lea r8, [0x14011c5b4]
lea rdx, [rsp + 0x358]
lea rcx, [rsp + 0x2d0]
call fcn.140036970
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
lea r8, [rsp + 0x3b8]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x398]
call fcn.1400d84c0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400083b0
lea rcx, [rsp + 0x398]
call fcn.140022040
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x1400d71bd
lea rdx, [rsp + 0x1b8]
lea rcx, [0x1401b8968]
call fcn.140021ba0
mov qword [rsp + 0x150], rax
movsxd rax, dword [0x1401b52bc]
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x148]
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x150]
call fcn.1400d7cf0
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov r8, qword [rsp + 0x158]
lea rdx, [rsp + 0x1c8]
lea rcx, [0x1401b8968]
call fcn.1400d7e40
mov dword [0x1401b52bc], 0xffffffff
call fcn.14005c120
nop
lea rcx, [rsp + 0x398]
call fcn.1400083b0
nop
lea rcx, [rsp + 0x3b8]
call fcn.1400083b0
call fcn.14005c450
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
movss xmm2, dword [0x140139734]
movss xmm1, dword [0x1401397a8]
lea rcx, [rsp + 0x160]
call fcn.14000b6e0
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1401b8520]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d7239
xor edx, edx
lea rcx, str.reallyReset
call fcn.14005bb00
xor edx, edx
lea rcx, [0x140136940]
call fcn.14005c3c0
movzx eax, al
test eax, eax
je 0x1400d7308
xor edx, edx
lea rcx, str._Are_you_sure_
call fcn.140093970
xor edx, edx
lea rcx, [0x14011c5ec]
call fcn.140093970
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
xorps xmm2, xmm2
movss xmm1, dword [0x14013974c]
lea rcx, [rsp + 0x168]
call fcn.14000b6e0
lea rdx, [rsp + 0x168]
lea rcx, [0x14011c6a4]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d72b6
call fcn.14005c120
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
xorps xmm2, xmm2
movss xmm1, dword [0x14013974c]
lea rcx, [rsp + 0x170]
call fcn.14000b6e0
lea rdx, [rsp + 0x170]
lea rcx, [0x14011c68c]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d7303
call fcn.1400d7600
call fcn.14005c120
call fcn.14005c450
call fcn.1400975f0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
mov rcx, qword [0x1401b8580]
call fcn.140098270
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
mov rcx, qword [0x1401b8600]
call fcn.140093b20
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1401396d4]
call fcn.140059d10
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x80
lea rdx, str.NewConfig
lea rcx, str.ConfigNameInput
call fcn.14009a8a0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
mov rcx, qword [0x1401b85c8]
call fcn.140093b20
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1401396d4]
call fcn.140059d10
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x80
lea rdx, str.Author
lea rcx, str.AuthorNameInput
call fcn.14009a8a0
call fcn.1400975f0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x30]
call fcn.140059c70
movss xmm2, dword [0x140139734]
movss xmm1, dword [0x1401397a8]
lea rcx, [rsp + 0x178]
call fcn.14000b6e0
lea rdx, [rsp + 0x178]
mov rcx, qword [0x1401b8560]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d750d
lea rdx, str.NewConfig
lea rcx, [rsp + 0x2f0]
call fcn.1400083e0
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
lea r8, str..cfg
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x3d8]
call fcn.1400d8470
nop
lea rcx, [rsp + 0x2f0]
call fcn.1400083b0
lea rdx, str.Author
lea rcx, [rsp + 0x230]
call fcn.1400083e0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x3d8]
call fcn.1400dc890
nop
lea rcx, [rsp + 0x230]
call fcn.1400083b0
nop
lea rcx, [rsp + 0x3d8]
call fcn.1400083b0
movss xmm1, dword [0x140139888]
xorps xmm0, xmm0
call fcn.1400599a0
movss xmm2, dword [0x140139734]
movss xmm1, dword [0x1401397a8]
lea rcx, [rsp + 0x1a0]
call fcn.14000b6e0
lea rdx, [rsp + 0x1a0]
mov rcx, qword [0x1401b8588]
call fcn.140094aa0
movzx eax, al
test eax, eax
je 0x1400d757f
lea rcx, [rsp + 0x358]
call fcn.140022040
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [0x1401b86f0]
call fcn.1400ccdd0
nop
lea rcx, [rsp + 0x330]
call fcn.140038f10
nop
lea rcx, [rsp + 0x358]
call fcn.1400083b0
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.1401080d0
add rsp, 0x428
ret