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

Disassembly:
push 0x144
mov eax, 0x462aa7
call fcn.0043fa79
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 0x40e625
mov ecx, dword [0x4863cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a227
push 0
lea eax, [ebp - 0x131]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x47686c
mov dword [ebp - 0x48], 0x46d060
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.0040ac21
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push dword [ebp + 8]
call fcn.0040b0c4
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.0040eb7e
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 0x40e997
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 0x40e688
xor eax, eax
push eax
push eax
push edi
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x144]
call fcn.0040b52d
test eax, eax
jne 0x40e98c
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 0x40e6d1
mov byte [ebp - 0x131], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x476700
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.0040fdba
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00401500
cmp byte [ebp - 0x131], 0
je 0x40e734
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 0x40e763
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x47686c
mov dword [ebp - 0x78], 0x46d060
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], 0x47686c
mov dword [ebp - 0x48], 0x46d060
call fcn.004064e5
mov dword [ebp - 4], 8
test bl, 2
je 0x40e79c
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffd
call fcn.00401500
mov byte [ebp - 4], 0xa
test bl, 1
je 0x40e7b0
lea ecx, [ebp - 0x130]
call fcn.00401500
cmp dword [ebp - 0x5c], 0
jne 0x40e95e
mov ecx, dword [0x4863cc]
lea eax, [ebp - 0xd0]
push eax
call fcn.0040a197
xor ebx, ebx
push ebx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.0040ae21
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.0042bf62
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.0042bf62
mov ebx, str..exe
push ebx
mov esi, eax
call fcn.0043f784
pop ecx
push eax
push 0
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042bf62
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx], 0x22
je 0x40e8f4
test edi, edi
jne 0x40e86e
mov eax, dword [ebp - 0xbc]
jmp 0x40e88a
cmp esi, 0xffffffff
je 0x40e87d
mov eax, dword [ebp - 0xec]
add eax, esi
jmp 0x40e88a
cmp eax, 0xffffffff
je 0x40e887
add eax, 4
jmp 0x40e88a
mov eax, dword [ebp - 0x2c]
mov ebx, 0x46bea0
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040fa27
cmp edi, 0xffffffff
jne 0x40e8df
test esi, esi
jne 0x40e8df
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.00407f6e
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.0040f8c3
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
push ebx
call fcn.0043f784
pop ecx
push eax
push ebx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040fa51
jmp 0x40e93c
cmp edi, 0xffffffff
jne 0x40e93c
cmp esi, 1
jne 0x40e93c
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.00407f6e
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0040f8c3
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.00401500
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406bef
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.0040eb7e
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.0043fa28
ret 4