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

Disassembly:
push 0xffffffffffffffff
push 0x441942
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x456600]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x456600]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
push 0x206
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x8a]
xor eax, eax
push ebp
push ecx
mov esi, edx
mov word [esp + 0x90], ax
call fcn.0042e640
push 0x104
add edi, 0x18
push edi
lea edx, [esp + 0x98]
push 0x104
push edx
call fcn.0042d465
add esp, 0x1c
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esi + 0x210]
push ecx
lea edx, [esp + 0x88]
push 0x104
push edx
call fcn.0042d69b
add esp, 0xc
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4094e8
mov dword [esi + 4], 4
call fcn.00410348
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40946d
push 0x80004005
call fcn.00404f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esi + 0x418]
push ecx
lea edx, [esp + 0x88]
push edx
add esi, 8
push esi
lea eax, [esp + 0x28]
push str._s__s__s__file_not_exist._
push eax
mov dword [esp + 0x6bc], ebp
call fcn.004048a0
mov esi, dword [esp + 0x30]
push 2
push esi
push str.Install:
call fcn.0040b6a0
lea eax, [esi - 0x10]
add esp, 0x20
mov dword [esp + 0x6a8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x409805
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004050b0
mov dword [esp + 0x6a8], 1
mov edx, dword [esp + 0x18]
push 0x2e
push edx
call fcn.0042cc58
add esp, 8
cmp eax, ebp
jne 0x40951c
or eax, 0xffffffff
jmp 0x409522
sub eax, dword [esp + 0x18]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.004042f0
mov byte [esp + 0x6a8], 2
mov ecx, dword [esp + 0x18]
push 0x5c
push ecx
call fcn.0042cc58
add esp, 8
cmp eax, ebp
jne 0x409552
or eax, 0xffffffff
jmp 0x409558
sub eax, dword [esp + 0x18]
sar eax, 1
inc eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
call fcn.004042f0
mov byte [esp + 0x6a8], 3
mov eax, dword [esp + 0x18]
push 0x5c
push eax
call fcn.0042cc58
add esp, 8
cmp eax, ebp
jne 0x409588
or eax, 0xffffffff
jmp 0x40958e
sub eax, dword [esp + 0x18]
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404a00
mov byte [esp + 0x6a8], 4
mov edx, dword [esp + 0x24]
push 0x44a1cc
push edx
call fcn.0042caff
mov ebx, dword [esp + 0x30]
add esp, 8
cmp eax, ebp
je 0x409671
mov eax, dword [esp + 0x20]
push str.dotnetfx.exe
push eax
call fcn.0042caff
add esp, 8
cmp eax, ebp
je 0x409671
push 0x40e
lea edx, [esp + 0x292]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x298], cx
call fcn.0042e640
lea edi, [esi + 0x418]
push edi
lea eax, [esp + 0x94]
push eax
push str._s__s
lea edx, [esp + 0x2a4]
call fcn.00408930
push 0x40
lea ecx, [esp + 0x4c]
push ebp
push ecx
call fcn.0042e640
add esp, 0x24
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebp
push 0x20
push ebp
push ebp
mov edx, 5
mov word [esp + 0x78], dx
push ebp
lea edx, [esp + 0x2ac]
push edx
push ebp
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
push eax
jmp 0x4096c9
push 0x3c
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.0042e640
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x2c]
lea edi, [esi + 0x418]
push eax
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 4], 2
call fcn.00410348
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4096f0
push 0x80004005
call fcn.00404f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push edi
lea ecx, [esp + 0x88]
push ecx
add esi, 8
push esi
lea edx, [esp + 0x28]
push str._s__s__s
push edx
mov byte [esp + 0x6bc], 5
call fcn.004048a0
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x1c]
push eax
push esi
push str.Install:
call fcn.0040b6a0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x6a8], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x6a8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409788
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6a8], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6a8], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6a8], 0xffffffff
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 0x409803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.0042c4f0
add esp, 0x698
ret