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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026658
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10035b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x2d4]
call fcn.10009830
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000aff6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x1000b12a
mov edx, dword [0x10035b04]
mov eax, dword [edx + 0xc]
mov ecx, 0x10035b04
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [0x10035b04]
mov eax, dword [edx + 0xc]
mov ecx, 0x10035b04
mov dword [ebp - 4], 0
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [esi + 0x2dc]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10004b90
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push str._S__s
push eax
call fcn.100022d0
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [esi + 0x2d4]
call fcn.10009830
mov edi, eax
mov ebx, dword [ebp - 0x10]
cmp dword [ebx - 4], 1
mov byte [ebp - 4], 2
jle 0x1000b086
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.100019b0
mov ebx, dword [ebp - 0x10]
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x1000b099
mov eax, dword [eax - 0xc]
push eax
mov ecx, edi
call fcn.100019b0
mov edi, dword [edi]
push 1
push 0
push ebx
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b0d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0x20
ja 0x1000b13e
cmp edi, 5
jne 0x1000b0e4
mov dword [esi + 0x2c8], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b107
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b12a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
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 0
mov ecx, esi
mov dword [esi + 0x2a8], 2
call fcn.1000af00
mov ecx, esi
mov dword [esi + 0x2ac], 0x28
call fcn.1000a840
mov eax, dword [esi + 0x2a4]
push 0
push eax
mov eax, dword [esi + 0x2f8]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x2f8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.10009f50
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000b1b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b1db
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret