Function at 0x1000f41e
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xc4
mov eax, 0x1004f1ce
call fcn.10035d35
mov esi, ecx
cmp byte [esi + 0x3c], 0
mov dword [ebp - 0x78], esi
jne 0x1000f472
cmp dword [esi + 0x38], 8
jb 0x1000f443
mov eax, dword [esi + 0x24]
jmp 0x1000f446
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f472
cmp dword [esi + 0x38], 8
jb 0x1000f45c
mov eax, dword [esi + 0x24]
jmp 0x1000f45f
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000f472
mov al, 1
call fcn.10035db8
ret
lea ebx, [esi + 0x20]
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.100130bb
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x1000f491
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000f4b7
lea ecx, [ebp - 0x48]
call fcn.10012db6
test eax, eax
jne 0x1000f4b7
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.10002a1b
xor al, al
jmp 0x1000f46c
push 0x1005450a
lea ecx, [ebp - 0x64]
call fcn.10003a00
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [esi]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi]
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x88]
mov dword [ebp - 0x80], eax
call fcn.100105e8
test al, al
jne 0x1000f57d
call fcn.10006d4b
mov ecx, dword [eax + 0x34]
mov ecx, dword [ecx]
add eax, 0x1c
mov eax, dword [eax]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], eax
lea esi, [ebp - 0x88]
call fcn.10006d4b
mov ecx, dword [eax + 0x34]
add eax, 0x1c
mov eax, dword [eax]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], eax
call fcn.100105e8
test al, al
jne 0x1000f56a
call fcn.10006d4b
mov esi, eax
call fcn.1001134c
test al, al
je 0x1000f560
lea esi, [ebp - 0x6c]
call fcn.10006d4b
push 0xffffffffffffffff
add eax, 0x1c
push 0
lea esi, [ebp - 0x64]
call fcn.100065b4
lea esi, [ebp - 0x6c]
call fcn.1000fe52
jmp 0x1000f511
lea esi, [ebp - 0x88]
call fcn.10010174
mov esi, dword [ebp - 0x78]
jmp 0x1000f4db
xor edi, edi
cmp dword [ebp - 0x50], edi
je 0x1000f5fa
lea ecx, [ebp - 0x64]
lea esi, [ebp - 0x2c]
call fcn.1000f84a
push str.config15
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.10003a00
push str.config4
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.10003a00
mov eax, esi
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.1000eba5
push edi
push 1
lea ecx, [ebp - 0xd0]
call fcn.1000388a
push edi
push 1
lea ecx, [ebp - 0xb4]
call fcn.1000388a
push edi
push 1
mov ecx, esi
call fcn.1000388a
xor esi, esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 5
jmp 0x1000f626
xor edi, edi
cmp dword [ebp - 0x70], edi
je 0x1000f618
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x70], edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jge 0x1000f641
mov ecx, ebx
lea edi, [ebp - 0x70]
call fcn.10013108
test eax, eax
je 0x1000f605
push 8
pop esi
cmp dword [ebx + 0x18], esi
jb 0x1000f66e
mov eax, dword [ebx + 4]
jmp 0x1000f671
cmp dword [ebp - 0x70], edi
je 0x1000f64f
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.1000388a
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10002a1b
mov al, bl
jmp 0x1000f46c
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f6db
cmp dword [ebx + 0x18], esi
jb 0x1000f686
mov eax, dword [ebx + 4]
jmp 0x1000f689
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1000f6c7
cmp dword [ebx + 0x18], esi
jb 0x1000f69e
mov eax, dword [ebx + 4]
jmp 0x1000f6a1
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002683
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.10012f4a
push 0
push 1
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.10002a1b
jmp 0x1000f6db
cmp dword [ebx + 0x18], esi
jb 0x1000f6d1
mov eax, dword [ebx + 4]
jmp 0x1000f6d4
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
lea edi, [ebp - 0x90]
lea esi, [ebp - 0x6c]
mov dword [ebp - 0x90], eax
call fcn.100105e8
test al, al
jne 0x1000f832
call fcn.10006d4b
mov ecx, dword [eax + 0x34]
mov ecx, dword [ecx]
add eax, 0x1c
mov eax, dword [eax]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], eax
lea esi, [ebp - 0x6c]
call fcn.10006d4b
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
lea edi, [ebp - 0x98]
lea esi, [ebp - 0x80]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], eax
call fcn.100105e8
test al, al
jne 0x1000f822
call fcn.10006d4b
lea esi, [eax + 0x1c]
lea ecx, [ebp - 0xd0]
call fcn.10012cf3
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.10006d4b
mov esi, eax
lea ecx, [ebp - 0xb4]
call fcn.10012cf3
mov dword [ebp - 0x84], eax
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.10006d4b
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.10012cf3
push 8
pop esi
cmp dword [ebx + 0x18], esi
jb 0x1000f7ae
mov edx, dword [ebx + 4]
jmp 0x1000f7b1
lea edx, [ebx + 4]
cmp dword [edi + 0x18], esi
jb 0x1000f7bb
mov edi, dword [edi + 4]
jmp 0x1000f7be
add edi, 4
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x18], esi
jb 0x1000f7ce
mov ecx, dword [ecx + 4]
jmp 0x1000f7d1
add ecx, 4
cmp dword [eax + 0x18], esi
jb 0x1000f7db
mov eax, dword [eax + 4]
jmp 0x1000f7de
add eax, 4
push edx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002a1b
push esi
push 1
lea ecx, [ebp - 0xb4]
call fcn.10002a1b
push esi
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.10002a1b
lea esi, [ebp - 0x80]
call fcn.1000fe52
jmp 0x1000f727
lea esi, [ebp - 0x6c]
call fcn.10010174
mov ecx, dword [ebp - 0x78]
jmp 0x1000f6eb
cmp dword [ebp - 0x70], 0
je 0x1000f841
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
xor edi, edi
jmp 0x1000f651