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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504e80
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [0x553cc8]
mov edi, 1
cmp dword [ecx + 0x44], edi
jne 0x487bfb
lea esi, [ebp - 0x18]
mov eax, ecx
call fcn.00469d40
mov eax, dword [eax]
mov dword [ebp - 0x14], edi
mov ecx, 0x51517c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x487be9
test dx, dx
je 0x487be5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x487be9
add eax, 4
add ecx, 4
test dx, dx
jne 0x487bc3
xor eax, eax
jmp 0x487bee
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x487bfb
mov bl, 1
jmp 0x487bfd
xor bl, bl
test byte [ebp - 0x14], 1
je 0x487c22
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487c22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x487c3c
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 4
mov eax, dword [0x553cc8]
lea esi, [ebp - 0x14]
call fcn.00469d70
mov dword [ebp - 4], 0
mov ecx, dword [0x553cc8]
cmp dword [ecx + 0x44], edi
je 0x487c91
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487c91
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.0045cb40
add eax, 0x10
mov dword [edi], eax
call fcn.00487ef0
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x487ca4
push 0x51517c
lea edx, [ebp - 0x14]
push edx
xor ebx, ebx
call fcn.00459440
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xb4]
sub eax, 0x10
call fcn.0045cb40
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0xd
push str.OtherInst.exe
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0045af80
push 0x44
lea ecx, [ebp - 0x74]
push 0
push ecx
call fcn.004e4be0
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
add esp, 0xc
mov eax, edi
mov dword [ebp - 0x48], 0x80
call fcn.0045cb40
add eax, 0x10
mov dword [ebp + 8], eax
push 1
push 0x51742c
lea ebx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0045af80
push 1
push 0x5185a8
call fcn.0045af80
mov eax, dword [esi - 0xc]
push eax
push esi
call fcn.0045af80
push 1
push 0x5185a8
call fcn.0045af80
push 1
push 0x51742c
call fcn.0045af80
push 1
push 0x5185a8
call fcn.0045af80
mov eax, dword [0x553cc8]
lea esi, [ebp - 0x1c]
call fcn.00469d40
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.0045af80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x487d85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x5185a8
lea ebx, [ebp + 8]
call fcn.0045af80
mov esi, dword [ebp + 8]
mov ebx, 1
cmp dword [esi - 4], ebx
jle 0x487db1
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.00459320
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x487ded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487e0a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487e30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 4