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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [0x111024c]
mov ebx, 0x111024c
cmp eax, ebx
je 0x10e801a
test byte [eax + 0x1c], 1
je 0x10e801a
cmp byte [eax + 0x19], 4
jb 0x10e801a
push 0x1011b70
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
and dword [ebp - 0x18], 0
push 4
pop ecx
mov edi, 0x1007124
lea esi, [ebp - 0x14]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov byte [ebp - 0x1d], 0
jne 0x10e8047
push 0x1003f04
push 0x2b7
push 0x1011b94
call fcn.0107b644
lea eax, [ebp - 0x1d]
push eax
call fcn.01082380
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10e8092
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10e82a3
test byte [eax + 0x1c], 1
je 0x10e82a3
cmp byte [eax + 0x19], 2
jb 0x10e82a3
push dword [ebp - 0x1c]
push 0x1011b70
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
jmp 0x10e829e
cmp byte [ebp - 0x1d], 0
je 0x10e829e
cmp byte [ebp + 8], 0
mov ebx, 0x1111884
je 0x10e81ba
lea eax, [ebp - 0x18]
push eax
push 0
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x28]
mov esi, ebx
push dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0106ccc9
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10e810d
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e82a3
test byte [eax + 0x1c], 1
je 0x10e82a3
cmp byte [eax + 0x19], 2
jb 0x10e82a3
push dword [ebp - 0x1c]
push 0x1011b70
push 0x10
jmp 0x10e8082
mov eax, dword [0x111024c]
mov edi, 0x111024c
cmp eax, edi
je 0x10e813c
test byte [eax + 0x1c], 1
je 0x10e813c
cmp byte [eax + 0x19], 4
jb 0x10e813c
push dword [ebp - 0x18]
push 0x1011b70
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10e81a7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x10e81a7
call esi
test eax, eax
jle 0x10e8166
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10e82a3
test byte [eax + 0x1c], 1
je 0x10e82a3
cmp byte [eax + 0x19], 4
jb 0x10e82a3
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x1011b70
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x10e829e
cmp dword [ebp - 0x18], 0
je 0x10e81ba
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 1
sub esp, 0x10
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
push 0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0106ccc9
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10e821a
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e82a3
test byte [eax + 0x1c], 1
je 0x10e82a3
cmp byte [eax + 0x19], 2
jb 0x10e82a3
push dword [ebp - 0x1c]
push 0x1011b70
push 0x13
jmp 0x10e8082
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10e8271
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x10e829e
call esi
test eax, eax
jle 0x10e8244
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e82a3
test byte [eax + 0x1c], 1
je 0x10e82a3
cmp byte [eax + 0x19], 4
jb 0x10e82a3
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x1011b70
push 0x14
jmp 0x10e8197
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e82a3
test byte [eax + 0x1c], 1
je 0x10e82a3
cmp byte [eax + 0x19], 4
jb 0x10e82a3
push dword [ebp - 0x18]
push 0x1011b70
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
mov eax, dword [0x111024c]
cmp dword [ebp - 0x18], 0
je 0x10e82bb
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x18], 0
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10e82e0
test byte [eax + 0x1c], 1
je 0x10e82e0
cmp byte [eax + 0x19], 4
jb 0x10e82e0
push 0x1011b70
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x1c