Function at 0x401ec0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421fab
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x43153c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 1
push eax
push 0x429168
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
call fcn.004035b0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 2
call fcn.00403240
push 0xe
push str.uninstall.exe
lea ecx, [ebp - 0x848]
call fcn.00402a90
cmp dword [ebp - 0x834], 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call ebx
cmp eax, 0xffffffff
je 0x40216d
push 0x44
lea eax, [ebp - 0x898]
push 0
push eax
call fcn.00412190
xorps xmm0, xmm0
add esp, 0xc
cmp byte [0x4346b1], 0
mov dword [ebp - 0x898], 0x44
movq qword [ebp - 0x8a8], xmm0
movq qword [ebp - 0x8a0], xmm0
jne 0x401fcd
cmp dword [ebp + 0x30], 0
lea ecx, [ebp + 0x20]
jne 0x401fc1
push 8
push str._install
call fcn.004035b0
jmp 0x401fcd
push 9
push str.__install
call fcn.00402a90
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.00412190
add esp, 0xc
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp - 0x834], 8
push ecx
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push str.__s___s
lea eax, [ebp - 0x830]
push 0x820
push eax
call fcn.00401110
add esp, 0x14
cmp dword [ebp - 0x834], 8
lea ecx, [ebp - 0x8a8]
push ecx
lea ecx, [ebp - 0x898]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x830]
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402141
mov eax, dword [ebp - 0x8a8]
push str.Kernel32.dll
mov dword [ebp - 0x84c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40216d
push str.WaitForMultipleObjects
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4020a6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40216d
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x84c]
push ecx
push 1
call eax
push dword [ebp - 0x8a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8a4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00403240
call fcn.00402420
add esp, 0x18
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call ebx
cmp eax, 0xffffffff
je 0x402136
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402850
call fcn.00402420
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov bl, 1
jmp 0x40216f
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00403240
call fcn.00402420
add esp, 0x18
xor bl, bl
cmp dword [ebp - 0x834], 8
jb 0x402186
push dword [ebp - 0x848]
call fcn.0040e88d
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
jb 0x4021b4
push dword [ebp + 8]
call fcn.0040e88d
add esp, 4
xor eax, eax
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x4021d9
push dword [ebp + 0x20]
call fcn.0040e88d
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e58c
mov esp, ebp
pop ebp
ret