Function at 0x40e88b
Capabilities:
Accept command line arguments
Persist via run registry key

Disassembly:
push 0x144
mov eax, 0x464570
call fcn.004414e8
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov edi, 0x2001f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocStringLen
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], eax
call fcn.004013d0
push 2
pop ebx
test eax, eax
jne 0x40e98a
mov ecx, dword [0x4893cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409ad0
push 0
lea eax, [ebp - 0x131]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4745e4
mov dword [ebp - 0x48], 0x46ef78
call fcn.004033a0
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0x70]
push str.__IS_PREREQ____s
push eax
mov byte [ebp - 4], bl
call fcn.0040a4eb
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push dword [ebp + 8]
call fcn.0040b0b5
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 1
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x150]
call fcn.0040eee3
lea ecx, [ebp - 0x40]
call fcn.00401500
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.00401500
cmp byte [esi + 0x128], 0
je 0x40ecfc
xor eax, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 3
call fcn.004013d0
test eax, eax
je 0x40e9ed
xor eax, eax
push eax
push eax
push edi
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x144]
call fcn.0040b51e
test eax, eax
jne 0x40ecf1
mov ecx, dword [esi + 0xe8]
push 0x12
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
mov byte [ebp - 0x131], 0
call dword [eax + 0x1c]
cmp dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
jne 0x40ea36
mov byte [ebp - 0x131], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x478ed0
mov ecx, edx
test eax, eax
cmovne ecx, eax
test ecx, ecx
cmovne edx, ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004050d0
push 1
lea eax, [ebp - 0x132]
push eax
push 0x46d814
lea ecx, [ebp - 0xa0]
call fcn.00406761
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004101ef
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00401500
cmp byte [ebp - 0x131], 0
je 0x40ea99
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x130]
push edx
call dword [eax + 0x64]
xor ebx, ebx
mov byte [ebp - 4], 6
inc ebx
jmp 0x40eac8
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x4745e4
mov dword [ebp - 0x78], 0x46ef78
call fcn.00406676
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 7
push 0
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x70], 0x4745e4
mov dword [ebp - 0x48], 0x46ef78
call fcn.00406676
mov dword [ebp - 4], 8
test bl, 2
je 0x40eb01
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffd
call fcn.00401500
mov byte [ebp - 4], 0xa
test bl, 1
je 0x40eb15
lea ecx, [ebp - 0x130]
call fcn.00401500
cmp dword [ebp - 0x5c], 0
jne 0x40ecc3
mov ecx, dword [0x4893cc]
lea eax, [ebp - 0xd0]
push eax
call fcn.00409a40
xor ebx, ebx
push ebx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.0040a9e4
push dword [ebp - 0xbc]
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.0042d871
push dword [ebp - 0xec]
cmp dword [ebp - 0xe8], 8
lea ecx, [ebp - 0xfc]
cmovae ecx, dword [ebp - 0xfc]
push ebx
push ecx
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0042d871
mov ebx, str..exe
push ebx
mov esi, eax
call fcn.0042db31
pop ecx
push eax
push 0
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042d871
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx], 0x22
je 0x40ec59
test edi, edi
jne 0x40ebd3
mov eax, dword [ebp - 0xbc]
jmp 0x40ebef
cmp esi, 0xffffffff
je 0x40ebe2
mov eax, dword [ebp - 0xec]
add eax, esi
jmp 0x40ebef
cmp eax, 0xffffffff
je 0x40ebec
add eax, 4
jmp 0x40ebef
mov eax, dword [ebp - 0x2c]
mov ebx, 0x46df40
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040fe89
cmp edi, 0xffffffff
jne 0x40ec44
test esi, esi
jne 0x40ec44
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xd0]
push eax
push esi
lea eax, [ebp - 0x130]
push eax
call fcn.004078ad
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.0040fd25
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
push ebx
call fcn.0042db31
pop ecx
push eax
push ebx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040feb3
jmp 0x40eca1
cmp edi, 0xffffffff
jne 0x40eca1
cmp esi, 1
jne 0x40eca1
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xd0]
push eax
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.004078ad
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0040fd25
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406e0f
lea ecx, [ebp - 0x100]
call fcn.00401500
lea ecx, [ebp - 0xd0]
call fcn.00401500
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push 1
push eax
push str.__ISSetupPrerequisistes
lea ecx, [ebp - 0x144]
call fcn.0040eee3
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
lea ecx, [ebp - 0x144]
call fcn.004013a0
lea ecx, [ebp - 0x150]
call fcn.004013a0
call fcn.00441497
ret 4