Function at 0x408a3f
Capabilities:
Accept command line arguments
Persist via run registry key
Set registry value

Disassembly:
mov eax, 0x45edf7
call fcn.0043bc08
sub esp, 0xb4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x14]
mov edi, 0xf003f
push eax
push edi
push ebx
mov esi, SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersion
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x408b67
lea ecx, [ebp - 0x18]
call fcn.00408e81
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x408b67
mov ecx, dword [0x47d3ac]
lea eax, [ebp - 0x48]
push eax
call fcn.004034ad
lea eax, [ebp - 0x1d]
push ebx
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
mov dword [ebp - 0x98], 0x466594
mov dword [ebp - 0x78], 0x46658c
call fcn.00401a4d
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x408ade
mov eax, 0x466588
push eax
lea eax, [ebp - 0x98]
push str.__IS_PREREQ____s
push eax
call fcn.004055eb
add esp, 0xc
lea ecx, [ebp - 0x70]
push 1
push dword [ebp + 8]
call fcn.0040a47d
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], 0x466588
cmp eax, ebx
je 0x408b14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp + 8], 0x4665fc
cmp eax, ebx
je 0x408b25
mov dword [ebp + 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x70]
call fcn.00405fcc
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00401257
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00401257
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x100], bl
jne 0x408b83
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00408e81
jmp 0x408e5b
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
push edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x408bb5
lea ecx, [ebp - 0x10]
call fcn.00408e81
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
je 0x408bef
lea eax, [ebp - 0x14]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x408e3e
lea ecx, [ebp - 0x10]
call fcn.00408e81
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x408e3e
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x48]
push 0x12
push edx
mov ecx, dword [eax + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 4
jne 0x408c24
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
jne 0x408c1b
mov eax, 0x47d330
push eax
lea ecx, [ebp - 0x48]
call fcn.00401bf1
lea eax, [ebp + 0xb]
push 1
push eax
push 0x475360
lea ecx, [ebp - 0xc0]
call fcn.00401b55
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
call fcn.0040a3b8
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.00401257
mov ecx, dword [0x47d3ac]
lea eax, [ebp - 0x70]
push eax
call fcn.004035dd
lea eax, [ebp - 0x98]
push ebx
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00405506
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x6c]
neg eax
sbb eax, eax
push ebx
and eax, ecx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 7
call fcn.0040b4e6
mov dword [ebp + 8], eax
lea eax, [ebp - 0x98]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x94]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b4e6
mov esi, str..exe
mov edi, eax
push esi
mov dword [ebp - 0x1c], edi
call fcn.0043bfdf
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00402422
push ebx
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0040cbdc
cmp word [eax], 0x22
je 0x408d94
cmp dword [ebp + 8], ebx
jne 0x408cf3
mov edi, dword [ebp - 0x64]
jmp 0x408d10
mov eax, dword [0x46659c]
cmp eax, edi
je 0x408d06
mov eax, dword [ebp - 0x8c]
add edi, eax
jmp 0x408d10
cmp eax, esi
lea edi, [esi + 4]
jne 0x408d10
mov edi, dword [ebp - 0x3c]
mov esi, 0x475a3c
push esi
call fcn.0043bfdf
pop ecx
push eax
push esi
push edi
lea ecx, [ebp - 0x44]
call fcn.0040b452
mov eax, dword [ebp + 8]
cmp dword [0x46659c], eax
jne 0x408d80
cmp dword [ebp - 0x1c], ebx
jne 0x408d80
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x70]
sub eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00401d6e
push dword [0x46659c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 8
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040becf
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.00401257
push esi
call fcn.0043bfdf
pop ecx
push eax
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040b452
jmp 0x408ded
mov eax, dword [ebp + 8]
cmp dword [0x46659c], eax
jne 0x408ded
cmp edi, 1
jne 0x408ded
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x70]
sub eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00401d6e
push dword [0x46659c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 9
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.0040becf
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.00401257
mov esi, dword [ebp - 0x40]
cmp esi, ebx
jne 0x408df9
mov esi, 0x466588
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push str.__ISSetupPrerequisistes
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
call fcn.00401257
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00401257
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00401257
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x408e51
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x18], ebx
je 0x408e5b
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4