Function at 0x10001b20
Capabilities:
Check if file exists
Delete file
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68c
mov eax, dword [0x1001c460]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov eax, dword [0x1001e744]
add eax, 0x100
push eax
push 0
push 0x100187c0
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], 0x64616568
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, 1
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x688], ecx
cmp eax, ecx
jb 0x10001ed4
push ebx
push esi
push edi
nop
xor eax, eax
push ecx
lea edx, [ebp - 0x67c]
push 0x10019884
push edx
mov byte [ebp - 0x67c], 0
mov word [ebp - 0x67b], ax
mov byte [ebp - 0x679], al
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov word [ebp - 0xf], ax
mov byte [ebp - 0xd], al
call fcn.1000747f
mov eax, dword [0x1001e744]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
add eax, 0x100
push eax
push 0x20
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea edx, [ebp - 0x67c]
push edx
lea eax, [ebp - 0xc]
push eax
call esi
mov ecx, dword [0x1001e744]
add ecx, 0x100
push ecx
push 0
push 0x100187c8
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x10001eb8
mov ebx, dword [ebp - 0x684]
test ebx, ebx
je 0x10001eb8
lea ecx, [ebp - 0x2c]
push ecx
lea edi, [ebp - 0x680]
mov dword [ebp - 0x680], 0
call fcn.10001a60
mov edi, eax
add esp, 4
mov dword [ebp - 0x680], edi
cmp edi, 0xffffffff
je 0x10001c69
xor ebx, ebx
cmp edi, ebx
je 0x10001c6b
jg 0x10001eb8
xor ebx, ebx
push 0x1ff
lea edx, [ebp - 0x673]
push ebx
push edx
mov byte [ebp - 0x674], bl
call fcn.1000c490
push 0x103
lea eax, [ebp - 0x16f]
push ebx
push eax
mov byte [ebp - 0x170], bl
call fcn.1000c490
mov ecx, dword [0x1001e744]
add esp, 0x18
add ecx, 0x100
push ecx
push 0x200
lea edx, [ebp - 0x674]
push edx
push ebx
push 0x100187c4
lea eax, [ebp - 0x2c]
push eax
call esi
push 0x1ff
lea ecx, [ebp - 0x36f]
push ebx
push ecx
mov byte [ebp - 0x370], bl
call fcn.1000c490
lea edx, [ebp - 0x2c]
push edx
push str.SOFTWARESecurity
lea eax, [ebp - 0x370]
push str._s_s
push eax
call fcn.1000747f
push ebx
lea ecx, [ebp - 0x370]
push str.Path
push ecx
mov ecx, 1
lea edx, [ebp - 0x170]
call fcn.10006020
add esp, 0x28
lea edx, [ebp - 0x170]
push edx
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10001d43
mov byte [ebp - 0x675], bl
jmp 0x10001d4e
and al, 0x10
cmp al, 0x10
setne byte [ebp - 0x675]
push 0x3f
lea edx, [ebp - 0x6b]
push ebx
push edx
mov byte [ebp - 0x6c], bl
call fcn.1000c490
add esp, 0xc
cmp byte [ebp - 0x675], bl
je 0x10001d6c
cmp edi, ebx
jne 0x10001dbd
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x6c]
call fcn.100036d0
add esp, 4
test eax, eax
jne 0x10001d99
lea ecx, [ebp - 0x170]
push ecx
mov ecx, str.idle
call fcn.100036d0
add esp, 4
cmp edi, ebx
jne 0x10001dbd
lea ecx, [ebp - 0x6c]
call fcn.10002780
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x170]
push eax
xor ecx, ecx
lea edx, [ebp - 0x674]
call fcn.100052c0
add esp, 4
test eax, eax
je 0x10001eb8
push 1
lea ecx, [ebp - 0x370]
push str.Path
push ecx
mov ecx, 1
lea edx, [ebp - 0x170]
call fcn.10006020
mov edx, dword [0x1001e72c]
mov eax, dword [edx + 0x10]
add esp, 0xc
push 1
push 0
push 0
call eax
mov edx, dword [0x1001e72c]
push 0x10
lea ecx, [ebp - 0x6c]
mov edi, eax
mov eax, dword [edx + 0x14]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
je 0x10001e38
mov ecx, dword [0x1001e72c]
mov edx, dword [ecx + 0x30]
push 0
push 0
push esi
call edx
mov eax, dword [0x1001e72c]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [0x1001e72c]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x680]
cmp eax, 0xffffffff
jne 0x10001e93
push 1
lea ecx, [ebp - 0x6c]
push ecx
push str.SOFTWARESecuritySvc
lea ecx, [eax + 2]
lea edx, [ebp - 0x2c]
call fcn.10006020
push 1
lea edx, [ebp - 0x370]
push 0x100187c8
push edx
mov ecx, 4
lea edx, [ebp - 0x684]
call fcn.10006020
add esp, 0x18
jmp 0x10001eb8
test eax, eax
jne 0x10001eb8
push 1
lea eax, [ebp - 0x370]
push 0x100187c8
push eax
mov ecx, 4
lea edx, [ebp - 0x684]
call fcn.10006020
add esp, 0xc
mov ecx, dword [ebp - 0x688]
inc ecx
mov dword [ebp - 0x688], ecx
cmp ecx, dword [ebp - 0x68c]
jbe 0x10001b80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000680f
mov esp, ebp
pop ebp
ret