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

Disassembly:
push 0x144
mov eax, 0x462cf4
call fcn.0043fcc0
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 0x40e702
mov ecx, dword [0x4863cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a33b
push 0
lea eax, [ebp - 0x131]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x471efc
mov dword [ebp - 0x48], 0x46cf9c
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.0040ad35
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push dword [ebp + 8]
call fcn.0040b1db
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.0040ec5b
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 0x40ea74
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 0x40e765
xor eax, eax
push eax
push eax
push edi
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x144]
call fcn.0040b60a
test eax, eax
jne 0x40ea69
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 0x40e7ae
mov byte [ebp - 0x131], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x4767e0
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 0x46b7b4
lea ecx, [ebp - 0xa0]
call fcn.004065d0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0040ffd7
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00401500
cmp byte [ebp - 0x131], 0
je 0x40e811
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 0x40e840
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x471efc
mov dword [ebp - 0x78], 0x46cf9c
call fcn.004064e5
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], 0x471efc
mov dword [ebp - 0x48], 0x46cf9c
call fcn.004064e5
mov dword [ebp - 4], 8
test bl, 2
je 0x40e879
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffd
call fcn.00401500
mov byte [ebp - 4], 0xa
test bl, 1
je 0x40e88d
lea ecx, [ebp - 0x130]
call fcn.00401500
cmp dword [ebp - 0x5c], 0
jne 0x40ea3b
mov ecx, dword [0x4863cc]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040a2ab
xor ebx, ebx
push ebx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.0040af38
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.0040763b
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.0040763b
mov ebx, str..exe
push ebx
mov esi, eax
call fcn.0042c205
pop ecx
push eax
push 0
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040763b
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx], 0x22
je 0x40e9d1
test edi, edi
jne 0x40e94b
mov eax, dword [ebp - 0xbc]
jmp 0x40e967
cmp esi, 0xffffffff
je 0x40e95a
mov eax, dword [ebp - 0xec]
add eax, esi
jmp 0x40e967
cmp eax, 0xffffffff
je 0x40e964
add eax, 4
jmp 0x40e967
mov eax, dword [ebp - 0x2c]
mov ebx, 0x46beb0
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040fc26
cmp edi, 0xffffffff
jne 0x40e9bc
test esi, esi
jne 0x40e9bc
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.00408082
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.0040fac2
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
push ebx
call fcn.0042c205
pop ecx
push eax
push ebx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040fc50
jmp 0x40ea19
cmp edi, 0xffffffff
jne 0x40ea19
cmp esi, 1
jne 0x40ea19
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.00408082
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0040fac2
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406bc5
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.0040ec5b
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.0043fc6f
ret 4