Function at 0x466620
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c7f2
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.005336c0
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [ebp - 0x66c], eax
lea ecx, [ebp - 0x644]
push ecx
mov dword [ebp - 4], 0
call fcn.004b7260
add esp, 4
mov edi, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], edi
jb 0x4666c6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x668]
call fcn.00422540
mov bl, 3
mov byte [ebp - 4], bl
cmp dword [ebp - 0x630], edi
jb 0x4666ee
mov edx, dword [ebp - 0x644]
push edx
call int.0042bfd0
add esp, 4
lea ecx, [ebp - 0x668]
xor eax, eax
push ecx
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], ax
call fcn.0046eb60
add esp, 4
push 0x11
push str.tempuninstall.ini
lea ecx, [ebp - 0x668]
call fcn.00422060
mov esi, dword [ebp - 0x668]
lea edx, [ebp - 0x420]
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x466740
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466dbb
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x420]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x591ff8
push str.localappdata
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466791
sub eax, edx
sar eax, 1
je 0x4667c1
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x664], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b1b0
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x591ff8
push str.appdatapath
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4667f0
sub eax, edx
sar eax, 1
je 0x466820
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x664], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b140
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x591ff8
push str.newcurinstallpath
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466850
sub eax, edx
sar eax, 1
je 0x4668c2
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x660]
push eax
call fcn.00437d10
add esp, 8
mov eax, dword [ebp - 0x660]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x64c], edi
jae 0x46688f
lea eax, [ebp - 0x660]
push ecx
mov ecx, esp
mov dword [ebp - 0x664], esp
push eax
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b400
mov byte [ebp - 4], bl
cmp dword [ebp - 0x64c], edi
jb 0x4668c2
mov ecx, dword [ebp - 0x660]
push ecx
call int.0042bfd0
add esp, 4
lea edx, [ebp - 0x420]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x591ff8
push str.startmenudir
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4668f0
sub eax, edx
sar eax, 1
je 0x466920
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x664], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b220
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x591ff8
push str.waitclearlist
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466950
sub eax, edx
sar eax, 1
je 0x466980
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x664], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b390
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x591ff8
push str.languages
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4669b0
sub eax, edx
sar eax, 1
je 0x466a0d
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x664]
call fcn.00422540
lea eax, [ebp - 0x664]
push eax
mov ecx, 0x5ffab8
mov byte [ebp - 4], 5
call fcn.0049c010
mov eax, dword [ebp - 0x664]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466a0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x420]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x592368
push str.2019icdisable
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466a40
sub eax, edx
sar eax, 1
je 0x466a9d
mov ecx, 0x595524
lea eax, [ebp - 0x218]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466a86
test dx, dx
je 0x466a82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466a86
add eax, 4
add ecx, 4
test dx, dx
jne 0x466a60
xor eax, eax
jmp 0x466a8b
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
push ecx
mov ecx, 0x5ff680
call fcn.00478330
lea edx, [ebp - 0x420]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x591ff8
push str.AutoRecoverFilePath
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466ad0
sub eax, edx
sar eax, 1
je 0x466b00
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x664], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b470
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x591ff8
push str.OldAutoRecoverFilePath
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466b30
sub eax, edx
sar eax, 1
je 0x466b60
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x664], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b4e0
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x592368
push str.delbackupdisable
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466b90
sub eax, edx
sar eax, 1
je 0x466bed
mov ecx, 0x595524
lea eax, [ebp - 0x218]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466bd6
test dx, dx
je 0x466bd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466bd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x466bb0
xor eax, eax
jmp 0x466bdb
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
sete dl
mov ecx, 0x5ff680
push edx
call fcn.00478340
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x592368
push str.delcustombackupdisable
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466c20
sub eax, edx
sar eax, 1
je 0x466c7d
mov ecx, 0x595524
lea eax, [ebp - 0x218]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466c66
test dx, dx
je 0x466c62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466c66
add eax, 4
add ecx, 4
test dx, dx
jne 0x466c40
xor eax, eax
jmp 0x466c6b
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
sete dl
mov ecx, 0x5ff680
push edx
call fcn.00478350
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x592368
push str.deladdondisable
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466cb0
sub eax, edx
sar eax, 1
je 0x466d0d
mov ecx, 0x595524
lea eax, [ebp - 0x218]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466cf6
test dx, dx
je 0x466cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x466cd0
xor eax, eax
jmp 0x466cfb
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
sete dl
mov ecx, 0x5ff680
push edx
call fcn.00478380
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x592368
push str.silentdefaultdeldisable
push str.install
call esi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466d40
sub eax, edx
sar eax, 1
je 0x466d9d
mov ecx, 0x595524
lea eax, [ebp - 0x218]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466d86
test dx, dx
je 0x466d82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466d86
add eax, 4
add ecx, 4
test dx, dx
jne 0x466d60
xor eax, eax
jmp 0x466d8b
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
test eax, eax
sete dl
mov ecx, 0x5ff680
push edx
call fcn.00478360
push 1
mov ecx, 0x5ff680
call fcn.00478300
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x466e69
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x626]
push edx
mov word [ebp - 0x628], cx
call fcn.005336c0
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x1a
call fcn.0046e6d0
lea ecx, [ebp - 0x664]
push ecx
call fcn.0048dfc0
add esp, 0x1c
mov edx, dword [ebp - 0x664]
cmp dword [edx - 0xc], 0
mov byte [ebp - 4], 6
je 0x466e19
lea eax, [ebp - 0x664]
push eax
mov ecx, 0x5ffab8
call fcn.0049c010
push ecx
lea edx, [ebp - 0x628]
mov ecx, esp
mov dword [ebp - 0x670], esp
push edx
call fcn.00422540
mov ecx, 0x5ff680
call fcn.0047b140
push 0
mov ecx, 0x5ff680
call fcn.00478300
mov eax, dword [ebp - 0x664]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466e69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466e8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x66c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466eb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret