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

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x7c
mov eax, 0x45c656
call fcn.0043ac8b
mov ecx, dword [ebp + 0x814]
mov eax, dword [ebp + 0x80c]
mov esi, dword [ebp + 0x818]
mov edi, dword [ebp + 0x81c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x820]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x824]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x828]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x82c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x830]
mov dword [ebp - 0x34], ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402197
xor ebx, ebx
push 0x47bc90
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00402172
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str.__updateidAF868A92_0866_45d4_9BD8_A8EE2BB2033F__SECTIONIDDCEC36FC_64A3_471f_9DEE_7D01310E1E2C__NOTIFYWINDOW_d__NAME51FA7BCF_DF17_4b1a_8052_C4D98AA5F93D___UPDATETYPEE7CF2847_EEE7_4dc3_9BD5_23902EBF1D89
push eax
mov byte [ebp - 4], 1
call fcn.00404c93
add esp, 0xc
cmp dword [ebp + 0x810], ebx
je 0x40ee9f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push 0x4618c4
push eax
call fcn.0040ea68
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404bfc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004014f1
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea ecx, [ebp - 0x10]
push str.AF868A92_0866_45d4_9BD8_A8EE2BB2033F
call fcn.0040e82e
push dword [esi]
lea ecx, [ebp - 0x10]
push str.DCEC36FC_64A3_471f_9DEE_7D01310E1E2C
call fcn.0040e82e
mov eax, dword [ebp - 0x28]
push dword [eax]
lea ecx, [ebp - 0x10]
push str.51FA7BCF_DF17_4b1a_8052_C4D98AA5F93D
call fcn.0040e82e
push dword [edi]
lea ecx, [ebp - 0x10]
push str.E7CF2847_EEE7_4dc3_9BD5_23902EBF1D89
call fcn.0040e82e
push 0x4618ac
lea ecx, [ebp - 0x10]
call fcn.00404c49
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.00405a73
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f01d
push dword [ebp - 0x14]
call fcn.00401aac
pop ecx
test eax, eax
je 0x40f01d
push 0x40
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0043a190
xor eax, eax
mov dword [ebp - 0x44], ebx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 5
pop eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x14]
push eax
mov esi, 0x4618a8
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x5c], 1
call fcn.0040ea68
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040ea04
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00404bfc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004014f1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004014f1
mov esi, 0x400
push esi
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.0043a779
push esi
lea eax, [ebp]
push 0x4618a4
push eax
call fcn.0043b4f3
push esi
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.0043b4f3
add esp, 0x24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x40f008
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x40f008
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.0040ec64
jmp 0x40f01f
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004014f1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004014f1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x804
leave
ret 0x28