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

Disassembly:
push 0xffffffffffffffff
push 0x442e9c
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x680], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457600]
xor eax, esp
push eax
lea eax, [esp + 0x698]
mov dword fs:[0], eax
push 0x206
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x82]
xor eax, eax
push ebx
push ecx
mov esi, edx
mov word [esp + 0x88], ax
call fcn.0042fb00
push 0x104
add edi, 0x18
push edi
lea edx, [esp + 0x90]
push 0x104
push edx
call fcn.0042e923
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esi + 0x210]
push ecx
lea edx, [esp + 0x80]
push 0x104
push edx
call fcn.0042eb59
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40aa11
mov dword [esi + 4], 4
add esi, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea ecx, [esp + 0x84]
push ecx
push esi
push str.MSG:_Install:_name_s__file_s__param_s__code_d
call fcn.0040c990
add esp, 0x14
xor al, al
jmp 0x40acaa
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x18]
call fcn.00406b70
mov dword [esp + 0x6a0], ebx
mov eax, dword [esp + 0x14]
push 0x2e
push eax
call fcn.0042e01f
add esp, 8
cmp eax, ebx
jne 0x40aa3e
or eax, 0xffffffff
jmp 0x40aa44
sub eax, dword [esp + 0x14]
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405220
mov byte [esp + 0x6a0], 1
mov edx, dword [esp + 0x14]
push 0x5c
push edx
call fcn.0042e01f
add esp, 8
cmp eax, ebx
jne 0x40aa74
or eax, 0xffffffff
jmp 0x40aa7a
sub eax, dword [esp + 0x14]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405220
mov byte [esp + 0x6a0], 2
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call fcn.0042e01f
add esp, 8
cmp eax, ebx
jne 0x40aaaa
or eax, 0xffffffff
jmp 0x40aab0
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
push ebx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
call fcn.004064c0
mov eax, dword [esp + 0x18]
push 0x44b99c
push eax
call fcn.0042dea5
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
add esp, 8
cmp eax, ebx
je 0x40ab88
push str.dotnetfx.exe
push ebp
call fcn.0042dea5
add esp, 8
cmp eax, ebx
je 0x40ab88
push 0x40e
lea edx, [esp + 0x28a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x290], cx
call fcn.0042fb00
lea eax, [esi + 0x418]
push eax
lea ecx, [esp + 0x8c]
push ecx
push str._s__s
lea edx, [esp + 0x29c]
call fcn.00409ef0
push 0x40
lea edx, [esp + 0x44]
push ebx
push edx
call fcn.0042fb00
add esp, 0x24
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
push ebx
push 0x20
push ebx
push ebx
mov eax, 5
mov word [esp + 0x70], ax
push ebx
lea eax, [esp + 0x2a4]
push eax
push ebx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x6c]
push 0xffffffffffffffff
push ecx
jmp 0x40abe0
push 0x3c
lea edx, [esp + 0x28]
push ebx
push edx
call fcn.0042fb00
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x24]
lea ecx, [esi + 0x418]
push edx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x5c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 4], 2
add esi, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea ecx, [esp + 0x84]
push ecx
push esi
push str.MSG:_Install:_name_s__file_s__param_s__code_d
call fcn.0040c990
lea eax, [edi - 0x10]
add esp, 0x14
mov byte [esp + 0x6a0], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ac32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x6a0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6a0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6a0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aca8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x698]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x680]
xor ecx, esp
call fcn.0042d791
add esp, 0x690
ret