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

Disassembly:
push 0x110
mov eax, 0x461b3f
call fcn.0043f4b0
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysFreeString
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], ebx
call fcn.004013d0
push 8
pop edi
test eax, eax
jne 0x40e5cb
mov ecx, dword [0x485338]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a007
push ebx
lea eax, [ebp - 0x101]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004033a0
cmp dword [ebp - 0x88], edi
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0x40]
push str.__IS_PREREQ____s
push eax
mov byte [ebp - 4], 2
call fcn.0040aaa7
add esp, 0xc
lea ecx, [ebp - 0x100]
push 1
push dword [ebp + 8]
call fcn.0040afeb
cmp dword [ebp - 0xe8], edi
lea ecx, [ebp - 0xfc]
cmovae ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0x28], edi
push 1
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040ea2d
lea ecx, [ebp - 0x100]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.00401500
cmp byte [esi + 0x128], 0
je 0x40e846
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysFreeString
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.004013d0
test eax, eax
je 0x40e632
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysFreeString
lea ecx, [ebp - 0x110]
call fcn.0040b41a
test eax, eax
jne 0x40e83b
mov ecx, dword [esi + 0xe8]
push 0x12
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0x1c]
cmp dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
jne 0x40e66d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x476040
mov ecx, edx
test eax, eax
cmovne ecx, eax
test ecx, ecx
cmovne edx, ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004050c0
push 1
lea eax, [ebp - 0x101]
push eax
push 0x46a79c
lea ecx, [ebp - 0xa0]
call fcn.004065c0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0040fd6e
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00401500
mov ecx, dword [0x485338]
lea eax, [ebp - 0x70]
push eax
call fcn.00409f77
push ebx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.0040ad48
push dword [ebp - 0x5c]
cmp dword [ebp - 0x58], edi
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0040744c
push dword [ebp - 0xbc]
cmp dword [ebp - 0xb8], 8
lea ecx, [ebp - 0xcc]
cmovae ecx, dword [ebp - 0xcc]
push ebx
push ecx
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0040744c
mov ebx, str..exe
push ebx
mov esi, eax
call fcn.0042b990
pop ecx
push eax
push 0
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040744c
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx], 0x22
je 0x40e7c4
test edi, edi
jne 0x40e744
mov eax, dword [ebp - 0x5c]
jmp 0x40e760
cmp esi, 0xffffffff
je 0x40e753
mov eax, dword [ebp - 0xbc]
add eax, esi
jmp 0x40e760
cmp eax, 0xffffffff
je 0x40e75d
add eax, 4
jmp 0x40e760
mov eax, dword [ebp - 0x2c]
mov ebx, 0x46aea8
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040f98d
cmp edi, 0xffffffff
jne 0x40e7af
test esi, esi
jne 0x40e7af
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x70]
push eax
push esi
lea eax, [ebp - 0xa0]
push eax
call fcn.00407db9
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0040f829
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00401500
push ebx
call fcn.0042b990
pop ecx
push eax
push ebx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040f9b7
jmp 0x40e802
cmp edi, 0xffffffff
jne 0x40e802
cmp esi, 1
jne 0x40e802
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x70]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00407db9
push eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.0040f829
lea ecx, [ebp - 0xa0]
call fcn.00401500
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push 1
push eax
push str.__ISSetupPrerequisistes
lea ecx, [ebp - 0x110]
call fcn.0040ea2d
lea ecx, [ebp - 0xd0]
call fcn.00401500
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
lea ecx, [ebp - 0x110]
call fcn.004013a0
lea ecx, [ebp - 0x11c]
call fcn.004013a0
call fcn.0043f45f
ret 4