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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8f98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x1022fe6c
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10003c10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.100636d0
add esp, 4
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.100033c0
cmp dword [ebp - 0x2c], 8
jb 0x10086e8f
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x10086eb7
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
push 0xe
xor eax, eax
mov dword [ebp - 0x14], 7
push str.uiplitex64.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10003c10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.100636d0
add esp, 4
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.100033c0
cmp dword [ebp - 0x2c], 8
jb 0x10086f0d
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x10086f35
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 7
push str.uipfull.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10003c10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.100636d0
add esp, 4
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.100033c0
cmp dword [ebp - 0x2c], 8
jb 0x10086f8b
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x10086fb3
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
push 0xe
xor eax, eax
mov dword [ebp - 0x14], 7
push str.uipfullx64.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10003c10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.100636d0
add esp, 4
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.100033c0
cmp dword [ebp - 0x2c], 8
jb 0x10087009
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x10087031
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x10087080
cmp ebx, edi
jbe 0x100870ea
cmp dword [esi + 0x14], 8
jb 0x10087060
mov eax, dword [esi]
jmp 0x10087062
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10087078
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100870e6
inc edi
add esi, 0x18
cmp ebx, edi
ja 0x10087056
xor bl, bl
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x100870c8
mov eax, dword [ebp - 0x48]
mov esi, edi
cmp edi, eax
je 0x100870bf
cmp dword [esi + 0x14], 8
jb 0x100870a5
push dword [esi]
call fcn.101a02f0
mov eax, dword [ebp - 0x48]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x10087092
push edi
call fcn.101a02f0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x10087082
push str.invalid_vector_T__subscript
call fcn.101874f4
int3