Function at 0x10015680
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092948
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100b70e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x24
jae 0x100156c9
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
cmp cx, word [eax + 0xe]
jne 0x100156b0
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x10], eax
call fcn.10004990
mov ecx, eax
test ecx, ecx
jne 0x100156ed
push 0x80004005
call fcn.10004d70
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x10015723
push 0x104
lea ecx, [ebp + 0xc]
call fcn.10003040
mov edi, dword [ebp + 0xc]
cmp dword [edi - 4], 1
jle 0x10015737
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.100026a0
mov edi, dword [ebp + 0xc]
push 0x104
push edi
push dword [0x100b96e0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [edi - 4], 1
jle 0x1001575d
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.100026a0
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
or ebx, 0xffffffff
mov esi, str.PhotoViewer
cmp dword [ebp - 0x10], 0
jne 0x10015814
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x10015795
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x10015789
jmp 0x100157a2
cmp eax, 1
jne 0x100157a2
mov esi, str.PdfReader
jmp 0x100157a2
cmp ecx, 1
mov eax, str.CaptureScreen
cmovne eax, esi
mov esi, eax
cmp dword [edi - 4], 1
jle 0x100157b6
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.100026a0
mov edi, dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [edi - 8]
push edi
call fcn.1006d3f7
add esp, 8
test eax, eax
js 0x1001591d
cmp eax, dword [edi - 8]
jg 0x1001591d
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [ebp + 0xc]
push str..exe
call fcn.10016380
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [eax + 0x24], 1
jne 0x1001584b
push 5
push 0
push str.__menu_
push edi
push 0x10095a80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x80070057
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10015835
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [eax + 0xc]
test esi, esi
je 0x10015916
mov eax, dword [esi + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
mov dword [ebp - 0x10], esi
call fcn.10016630
add esp, 4
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100158ef
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100158ef
call fcn.10004990
test eax, eax
je 0x100156e3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push 0x1009630c
push eax
call fcn.100030e0
mov esi, dword [ebp + 8]
add esp, 0xc
push 5
push 0
push esi
push edi
push 0x10095a80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100158ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1001590b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x10015856
or ebx, 0xffffffff
xor esi, esi
jmp 0x10015819
push 0x80070057
call fcn.10004d70
int3