Function at 0x4084d0
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467c1f
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004318b0
test eax, eax
je 0x40858b
push 0
lea eax, [esp + 0x34]
push str.CInstall_::_SetupForRunScenario_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x130]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x130]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.004318b0
test eax, eax
je 0x4085c7
mov ecx, dword [esp + 0x740]
mov edx, dword [esp + 0x73c]
push ecx
push edx
lea eax, [esp + 0x38]
push str.pszExeName___s__pszCommandLine___s_n
push eax
call fcn.0044cb10
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
lea edx, [esp + 0x230]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4855a4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x734], 0
mov dword [esp + 0x10], eax
mov bl, 1
push str..EXE
lea ecx, [esp + 0x2c]
mov byte [esp + 0x738], bl
call fcn.0045ce46
mov esi, eax
mov eax, dword [esp + 0x73c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x738], 2
call fcn.0045ce46
mov edi, eax
push 0x47d160
lea ecx, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.0045ce46
lea ecx, [ebp + 0x3dc]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x740], 4
call fcn.0045cfbb
push edi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x73c], 5
push eax
call fcn.0045cfbb
push esi
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x740], 6
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x738], 7
call fcn.0045cec5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x734], 6
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x734], 5
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x734], 4
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x734], 3
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x734], 2
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x734], bl
call fcn.0045cdd8
mov edx, dword [esp + 0x740]
lea ecx, [esp + 0x24]
push edx
call fcn.0045ce46
mov esi, eax
mov byte [esp + 0x734], 8
push 0x47e064
lea ecx, [esp + 0x24]
call fcn.0045ce46
mov edi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x738], 9
call fcn.0045cb4d
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x740], 0xa
call fcn.0045cfbb
push esi
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x740], 0xb
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x738], 0xc
call fcn.0045cec5
lea ecx, [esp + 0x28]
mov byte [esp + 0x734], 0xb
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x734], 0xa
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x734], 9
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x734], 8
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x734], bl
call fcn.0045cdd8
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x234]
push eax
push ecx
lea ecx, [ebp + 0x364]
call fcn.00411a60
test eax, eax
jne 0x40881d
call fcn.004318b0
test eax, eax
je 0x40881d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x230]
push edx
push eax
lea ecx, [esp + 0x38]
push str.FAILED_CopyAFile_:_Source___s__Destination___s_n
push ecx
call fcn.0044cb10
add esp, 0x10
lea edx, [esp + 0x30]
push edx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
push 0x80000002
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x53c]
call fcn.0043a3a0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0045d1bc
mov esi, dword [esp + 0x740]
push eax
lea ecx, [esp + 0x540]
push esi
push ecx
lea ecx, [esp + 0x544]
call fcn.0043a950
test eax, eax
jne 0x408898
call fcn.004318b0
test eax, eax
je 0x408898
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push esi
push str.FAILED_Registry_WriteValue_:_pszExeName___s__csArg___s_n
push eax
call fcn.0044cb10
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.004318b0
test eax, eax
je 0x408938
push 0
lea edx, [esp + 0x438]
push str.CInstall_::_SetupForRunScenario_n
push edx
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x334]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x334]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x434]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x334]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x734], 0
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov dword [esp + 0x734], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x72c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x728
ret 8