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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028da6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1003b014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], 0
call fcn.100082f0
test eax, eax
je 0x1000e7c1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
lea edx, [ebp - 0x18]
push dword [ebp + 0xc]
xor ecx, ecx
push 1
call fcn.1000d900
mov esi, dword [ebp - 0x18]
add esp, 8
cmp dword [esi - 0xc], 0
jne 0x1000e63e
call fcn.100082f0
test eax, eax
je 0x1000e7c1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x1000e7a3
lea ecx, [ebp - 0x10]
call fcn.1000ea60
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x1000e6a7
call fcn.100082f0
test eax, eax
je 0x1000e7c1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e698
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add esi, 0xfffffff0
jmp 0x1000e79b
push 0x11
push str.__o_enumsolutions
lea ecx, [ebp - 0x10]
call fcn.10007d60
mov ebx, dword [ebp + 8]
lea edx, [esi - 0x10]
or edi, 0xffffffff
mov dword [ebp - 0x28], edx
mov ecx, dword [ebx]
sub ecx, 0x10
mov dword [ebp - 0x20], ecx
cmp edx, ecx
je 0x1000e718
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x1000e70d
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1000e70d
mov ecx, edx
call fcn.10007ad0
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x24], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000e706
mov esi, dword [ebp - 0x20]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebx], eax
jmp 0x1000e718
push dword [esi - 0xc]
mov ecx, ebx
push esi
call fcn.10007bb0
push 1
push 0x10033e14
mov ecx, ebx
call fcn.10007d60
push 0xe
push str.Solutions.list
mov ecx, ebx
call fcn.10007d60
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000e748
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
push ecx
push dword [ebx]
push ecx
xor ecx, ecx
call fcn.10002490
mov esi, dword [ebp - 0x28]
add esp, 0xc
mov ecx, esi
call fcn.10007ad0
mov ebx, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e794
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1000e7ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100084e0
int3