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

Disassembly:
push 0x164
mov eax, 0x1005e872
call fcn.1002cd53
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x160], ebx
and dword [ebp - 4], 0
lea eax, [ebp - 0x170]
push 1
push eax
call fcn.1000f420
add esp, 4
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x160], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.10006e35
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x16c]
pop ecx
push eax
call fcn.1000f4bf
push 0x10062458
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.1000683a
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.1000e189
add esp, 0x20
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.100076b8
push dword [ebp - 0x164]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp + 0x10]
push 0xf
pop esi
test eax, eax
je 0x1000f9b1
call fcn.10007316
push eax
lea ecx, [ebp - 0x168]
call fcn.10006523
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x164]
call fcn.1002adb0
pop ecx
pop ecx
test edi, edi
jne 0x1000f8ba
and dword [ebp - 0x48], edi
lea ecx, [ebp - 0x58]
push 0x20
push str.45476F8083D74BA28A2DD8ED399737B7
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], 0
call fcn.10008074
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002dea0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.1000b5fb
test esi, esi
je 0x1000f922
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x158]
cmovae eax, dword [ebp - 0x28]
push 0xfde9
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x15c]
push eax
call fcn.1000fbf0
mov byte [ebp - 4], 0xa
jmp 0x1000f8e6
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x158]
cmovae eax, dword [ebp - 0x40]
push 0xfde9
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x15c]
push eax
call fcn.1000fbf0
mov byte [ebp - 4], 0xb
push dword [ebp - 0x15c]
call fcn.10006c52
pop ecx
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x168]
call fcn.1000778f
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x15c], eax
je 0x1000f922
push dword [ebp - 0x15c]
call fcn.1003d932
pop ecx
mov esi, dword [ebp - 0x168]
cmp dword [esi - 0xc], 0
je 0x1000f989
add esi, 0xfffffff0
push esi
call fcn.10006e35
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x28]
mov dword [ebx], eax
call fcn.1000b5fb
lea ecx, [ebp - 0x40]
call fcn.1000b5fb
mov ecx, esi
call fcn.100076b8
mov ecx, dword [ebp - 0x164]
lea ecx, [ecx - 0x10]
call fcn.100076b8
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx - 0x10]
call fcn.100076b8
mov ecx, dword [ebp - 0x170]
add ecx, 0xfffffff0
call fcn.100076b8
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
jmp 0x1000fbdc
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.1000b5fb
lea ecx, [ebp - 0x40]
call fcn.1000b5fb
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.100076b8
call fcn.10007316
push eax
lea ecx, [ebp - 0x168]
call fcn.10006523
push 0
push 0x2710
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10010ae5
add esp, 0x10
test eax, eax
jne 0x1000f9fe
push 0x10062454
mov ecx, ebx
call fcn.100065ad
mov ecx, dword [ebp - 0x168]
lea ecx, [ecx - 0x10]
jmp 0x1000fba7
mov esi, dword [ebp - 0x168]
push dword [esi - 0xc]
push esi
push dword [ebp - 0x164]
call fcn.1002af90
add esp, 0xc
call fcn.10007316
push eax
lea ecx, [ebp - 0x160]
call fcn.10006523
mov byte [ebp - 4], 0xd
test edi, edi
jne 0x1000fb2b
push 0xf
xor eax, eax
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x28], al
push 0x20
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x40]
push str.45476F8083D74BA28A2DD8ED399737B7
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
call fcn.10008074
and dword [ebp - 0x48], edi
mov ecx, esi
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fa74
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.10008074
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1002dea0
add esp, 0xc
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.1000b5fb
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.1000b5fb
test edi, edi
je 0x1000fb1d
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x158]
cmovae eax, dword [ebp - 0x28]
push 0xfde9
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x15c]
push eax
call fcn.1000fbf0
push dword [ebp - 0x15c]
mov byte [ebp - 4], 0x11
call fcn.10006c52
pop ecx
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x160]
call fcn.1000778f
lea eax, [ebp - 0x158]
cmp dword [ebp - 0x15c], eax
je 0x1000fb1d
push dword [ebp - 0x15c]
call fcn.1003d932
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.1000b5fb
jmp 0x1000fb88
push 0xfde9
lea eax, [ebp - 0x158]
push esi
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x15c], eax
call fcn.1000fbf0
push dword [ebp - 0x15c]
mov byte [ebp - 4], 0x12
call fcn.10006c52
pop ecx
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x160]
call fcn.1000778f
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x15c], eax
je 0x1000fb88
push dword [ebp - 0x15c]
call fcn.1003d932
pop ecx
mov edi, dword [ebp - 0x160]
add edi, 0xfffffff0
push edi
call fcn.10006e35
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [ebx], eax
call fcn.100076b8
lea ecx, [esi - 0x10]
call fcn.100076b8
mov ecx, dword [ebp - 0x164]
lea ecx, [ecx - 0x10]
call fcn.100076b8
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx - 0x10]
call fcn.100076b8
mov ecx, dword [ebp - 0x170]
lea ecx, [ecx - 0x10]
call fcn.100076b8
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.100076b8
mov eax, ebx
call fcn.1002ccfd
ret