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

Disassembly:
push 0x144
mov eax, 0x46244f
call fcn.0043f429
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 0x40e6c9
mov ecx, dword [0x4863cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a2b7
push 0
lea eax, [ebp - 0x131]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x47602c
mov dword [ebp - 0x48], 0x46c7e0
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.0040acff
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push dword [ebp + 8]
call fcn.0040b1a2
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.0040ec22
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 0x40ea3b
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 0x40e72c
xor eax, eax
push eax
push eax
push edi
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x144]
call fcn.0040b5d1
test eax, eax
jne 0x40ea30
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 0x40e775
mov byte [ebp - 0x131], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x475ec0
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 0x46a7a4
lea ecx, [ebp - 0xa0]
call fcn.004065d0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0040ff7b
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00401500
cmp byte [ebp - 0x131], 0
je 0x40e7d8
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 0x40e807
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x47602c
mov dword [ebp - 0x78], 0x46c7e0
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], 0x47602c
mov dword [ebp - 0x48], 0x46c7e0
call fcn.004064e5
mov dword [ebp - 4], 8
test bl, 2
je 0x40e840
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffd
call fcn.00401500
mov byte [ebp - 4], 0xa
test bl, 1
je 0x40e854
lea ecx, [ebp - 0x130]
call fcn.00401500
cmp dword [ebp - 0x5c], 0
jne 0x40ea02
mov ecx, dword [0x4863cc]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040a227
xor ebx, ebx
push ebx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.0040aeff
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.0040756e
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.0040756e
mov ebx, str..exe
push ebx
mov esi, eax
call fcn.0043f134
pop ecx
push eax
push 0
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040756e
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx], 0x22
je 0x40e998
test edi, edi
jne 0x40e912
mov eax, dword [ebp - 0xbc]
jmp 0x40e92e
cmp esi, 0xffffffff
je 0x40e921
mov eax, dword [ebp - 0xec]
add eax, esi
jmp 0x40e92e
cmp eax, 0xffffffff
je 0x40e92b
add eax, 4
jmp 0x40e92e
mov eax, dword [ebp - 0x2c]
mov ebx, 0x46ae98
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040fbe8
cmp edi, 0xffffffff
jne 0x40e983
test esi, esi
jne 0x40e983
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.00407ffe
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.0040fa84
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
push ebx
call fcn.0043f134
pop ecx
push eax
push ebx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040fc12
jmp 0x40e9e0
cmp edi, 0xffffffff
jne 0x40e9e0
cmp esi, 1
jne 0x40e9e0
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.00407ffe
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0040fa84
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.0040ec22
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.0043f3d8
ret 4