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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x144]
push ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x148], ebx
call fcn.00489020
mov eax, 7
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], eax
xor edx, edx
push 0xa
mov eax, str._uninstall
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.00401d90
push 0x87
lea eax, [ebp - 0x10b]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00489020
push 0x49a334
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 0x10c], 0x88
call fcn.00478580
push eax
mov eax, 0x4a414c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00478670
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00401a30
mov edi, 8
cmp dword [ebp - 0x54], edi
jb 0x47c326
mov eax, dword [ebp - 0x68]
push eax
call fcn.00480641
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x70], edi
jb 0x47c34e
mov edx, dword [ebp - 0x84]
push edx
call fcn.00480641
add esp, 4
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x84]
call fcn.00479ea0
cmp dword [eax + 0x14], 0x10
jb 0x47c364
mov eax, dword [eax]
push 0x4000
lea ecx, [ebp - 0x10c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp dword [ebp - 0x70], 0x10
mov esi, eax
jb 0x47c38e
mov edx, dword [ebp - 0x84]
push edx
call fcn.00480641
add esp, 4
cmp esi, 0xffffffff
jne 0x47c44d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x47c3f3
cmp dword [ebp - 0x38], edi
jb 0x47c3b3
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00480641
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], edi
jb 0x47c3d5
mov edx, dword [ebp - 0x30]
push edx
call fcn.00480641
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp dword [ebp + 0x1c], edi
jb 0x47c57d
mov ecx, dword [ebp + 8]
push ecx
jmp 0x47c575
cmp dword [ebp - 0x38], edi
jb 0x47c404
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00480641
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], edi
jb 0x47c426
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00480641
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
cmp dword [ebp + 0x1c], edi
jb 0x47c443
mov eax, dword [ebp + 8]
push eax
call fcn.00480641
add esp, 4
mov eax, 1
jmp 0x47c57f
mov dword [ebp - 0x148], 0x3c
mov dword [ebp - 0x13c], str.open
mov dword [ebp - 0x144], 0x8040
cmp dword [ebp - 0x1c], edi
jb 0x47c47b
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x138], ecx
jmp 0x47c484
lea edx, [ebp - 0x30]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x38], edi
jb 0x47c494
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x134], eax
jmp 0x47c49d
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x134], ecx
lea edx, [ebp - 0x148]
push edx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x47c511
cmp dword [ebp - 0x38], edi
jb 0x47c4cb
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00480641
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], edi
jb 0x47c4ed
mov edx, dword [ebp - 0x30]
push edx
call fcn.00480641
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp dword [ebp + 0x1c], edi
jb 0x47c50a
mov ecx, dword [ebp + 8]
push ecx
call fcn.00480641
add esp, 4
mov eax, 2
jmp 0x47c57f
mov edx, dword [ebp - 0x110]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], edi
jb 0x47c53e
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00480641
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], edi
jb 0x47c560
mov eax, dword [ebp - 0x30]
push eax
call fcn.00480641
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
cmp dword [ebp + 0x1c], edi
jb 0x47c57d
mov edx, dword [ebp + 8]
push edx
call fcn.00480641
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048014c
mov esp, ebp
pop ebp
ret 0x1c