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

Disassembly:
push 0xb8
mov eax, 0x1007351e
call fcn.1003d449
mov edi, ecx
mov esi, dword [ebp + 0x24]
xor ebx, ebx
mov dword [ebp - 0x5c], 7
push ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x1008a228
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], ax
call fcn.100016a0
push ebx
xor eax, eax
mov byte [ebp - 4], 1
push 0x1008a228
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.100016a0
push ebx
call fcn.10028ef9
and dword [ebp - 0x78], 0
mov ebx, eax
pop ecx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
and dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10003150
push dword [ebp + 8]
mov ecx, edi
call fcn.1000f764
test al, al
je 0x1000f3c4
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.1001fba2
add eax, dword [edi]
pop ecx
cmp eax, ebx
jl 0x1000f2f6
lea eax, [ebp - 0x40]
xor ebx, ebx
cmp esi, eax
je 0x1000f3bc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.100018c0
jmp 0x1000f3bc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000e1f6
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x1000f311
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1000bc5f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.100030b0
xor ebx, ebx
lea ecx, [ebp - 0xb8]
push ebx
push 1
call fcn.100015e0
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10005480
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000e2c0
test eax, eax
jne 0x1000f3c6
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x1000f36d
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.100018c0
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.10003150
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.10003150
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10003150
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1000fae1
xor esi, esi
inc esi
jmp 0x1000f670
xor ebx, ebx
cmp dword [ebp + 0x28], 0
jne 0x1000f3de
push ebx
push 0x1008a228
mov ecx, esi
call fcn.100016a0
jmp 0x1000f66e
cmp dword [esi + 0x10], ebx
jne 0x1000f493
cmp dword [ebp + 8], 0
je 0x1000f434
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x1000f3f8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10012372
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.100030b0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100015e0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100122e3
pop ecx
pop ecx
mov byte [ebp - 4], 8
jmp 0x1000f479
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x1000f43f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10012372
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.100030b0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100015e0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100122e3
pop ecx
pop ecx
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.10003460
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.100015e0
cmp dword [esi + 0x14], 8
jb 0x1000f49d
mov eax, dword [esi]
jmp 0x1000f49f
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x1000f4bf
cmp dword [esi + 0x14], 8
jb 0x1000f4b6
mov eax, dword [esi]
jmp 0x1000f4b8
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10003150
push 0x10077478
mov byte [ebp - 4], 0xa
call fcn.10020feb
pop ecx
push eax
push 0
push 0x10077478
lea ecx, [ebp - 0xa0]
call fcn.10003ae0
cmp eax, 0xffffffff
jne 0x1000f553
push 0x10077478
call fcn.10020feb
pop ecx
push eax
push 0x10077478
lea ecx, [ebp - 0xa0]
call fcn.10003330
push 0x1869f
push 0x2710
call fcn.1000f0d7
cdq
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000e350
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.10003460
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.100015e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push esi
call fcn.10003150
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.10003150
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.1000f6b4
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100015e0
cmp dword [esi + 0x14], 8
jb 0x1000f59e
mov eax, dword [esi]
jmp 0x1000f5a0
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x1000f5bb
xor ebx, ebx
mov ecx, esi
push ebx
push 0x1008a228
call fcn.100016a0
jmp 0x1000f660
cmp dword [ebp - 0x48], 0
jne 0x1000f615
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1000e1f6
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x1000f5df
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000bc5f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.100030b0
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.100015e0
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.10005480
jmp 0x1000f617
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push esi
call fcn.10003150
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.10003150
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10003150
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.1000fae1
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.100015e0
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.100015e0
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.100015e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.100015e0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.100015e0
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.100015e0
mov eax, esi
call fcn.1003d404
ret 0x24