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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x111127c]
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 [0x111124c]
mov ebx, 0x111124c
cmp eax, ebx
je 0x10e8144
test byte [eax + 0x1c], 1
je 0x10e8144
cmp byte [eax + 0x19], 4
jb 0x10e8144
push 0x1011a78
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
and dword [ebp - 0x18], 0
push 4
pop ecx
mov edi, 0x100cbcc
lea esi, [ebp - 0x14]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov byte [ebp - 0x1d], 0
jne 0x10e8171
push 0x1003efc
push 0x2b7
push 0x1011a9c
call fcn.0107b4be
lea eax, [ebp - 0x1d]
push eax
call fcn.010822cd
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10e81bc
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10e83cd
test byte [eax + 0x1c], 1
je 0x10e83cd
cmp byte [eax + 0x19], 2
jb 0x10e83cd
push dword [ebp - 0x1c]
push 0x1011a78
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x10e83c8
cmp byte [ebp - 0x1d], 0
je 0x10e83c8
cmp byte [ebp + 8], 0
mov ebx, 0x1112884
je 0x10e82e4
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.0106cb35
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10e8237
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e83cd
test byte [eax + 0x1c], 1
je 0x10e83cd
cmp byte [eax + 0x19], 2
jb 0x10e83cd
push dword [ebp - 0x1c]
push 0x1011a78
push 0x10
jmp 0x10e81ac
mov eax, dword [0x111124c]
mov edi, 0x111124c
cmp eax, edi
je 0x10e8266
test byte [eax + 0x1c], 1
je 0x10e8266
cmp byte [eax + 0x19], 4
jb 0x10e8266
push dword [ebp - 0x18]
push 0x1011a78
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10e82d1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x10e82d1
call esi
test eax, eax
jle 0x10e8290
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
mov eax, dword [0x111124c]
cmp eax, edi
je 0x10e83cd
test byte [eax + 0x1c], 1
je 0x10e83cd
cmp byte [eax + 0x19], 4
jb 0x10e83cd
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x1011a78
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
jmp 0x10e83c8
cmp dword [ebp - 0x18], 0
je 0x10e82e4
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.0106cb35
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x10e8344
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e83cd
test byte [eax + 0x1c], 1
je 0x10e83cd
cmp byte [eax + 0x19], 2
jb 0x10e83cd
push dword [ebp - 0x1c]
push 0x1011a78
push 0x13
jmp 0x10e81ac
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10e839b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x10e83c8
call esi
test eax, eax
jle 0x10e836e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e83cd
test byte [eax + 0x1c], 1
je 0x10e83cd
cmp byte [eax + 0x19], 4
jb 0x10e83cd
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x1011a78
push 0x14
jmp 0x10e82c1
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e83cd
test byte [eax + 0x1c], 1
je 0x10e83cd
cmp byte [eax + 0x19], 4
jb 0x10e83cd
push dword [ebp - 0x18]
push 0x1011a78
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
mov eax, dword [0x111124c]
cmp dword [ebp - 0x18], 0
je 0x10e83e5
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x18], 0
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e840a
test byte [eax + 0x1c], 1
je 0x10e840a
cmp byte [eax + 0x19], 4
jb 0x10e840a
push 0x1011a78
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0x1c