Function at 0x420af0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e4fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 4], ebx
call fcn.00404d20
mov byte [ebp - 4], 1
mov edx, dword [0x4c833c]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push ecx
push edx
mov ecx, 0x80000001
call fcn.0041ff10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
xor ecx, ecx
add esp, 8
cmp eax, ebx
setne cl
lea edx, [ebp - 0x38]
push edx
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.004035a0
mov eax, 0x4c81c0
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004046a0
test byte [0x4c8650], 1
jne 0x420bb5
or dword [0x4c8650], 1
mov byte [ebp - 4], 3
call fcn.004169f0
push 0x496940
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 2
cmp byte [0x4c854c], 0
jne 0x420bc6
test esi, esi
je 0x420cce
test byte [sym.Okinstall.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x420bf0
or dword [sym.Okinstall.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 4
call fcn.00413bf0
push 0x495560
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 2
lea esi, [ebp - 0x18]
mov ecx, sym.Okinstall.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wra
call fcn.00414660
lea eax, [ebp - 0x14]
push eax
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov byte [ebp - 4], 5
call fcn.00404d20
push str._AutoRun
mov ecx, esi
push ecx
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 6
call fcn.00409300
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
mov edx, dword [ebp - 0x14]
add eax, eax
push eax
mov eax, dword [0x4c833c]
push eax
push edx
mov edx, 0x80000001
call fcn.0041fca0
add esp, 0xc
neg eax
sbb ebx, ebx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
inc ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4c81b8
test ebx, ebx
jne 0x420c80
mov eax, 0x4c81bc
lea edi, [ebp - 0x30]
call fcn.004046a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420cab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420cce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x4c8540], 1
jne 0x420ceb
or dword [0x4c8540], 1
push 0x4955b0
call fcn.004683c5
add esp, 4
push 0
mov ecx, 4
call fcn.004087f0
mov esi, eax
test esi, esi
je 0x420d2e
cmp dword [ebp - 0x24], 0
mov eax, 0x4c8280
jne 0x420d0d
mov eax, 0x4c827c
lea edi, [ebp - 0x34]
call fcn.004046a0
lea ecx, [ebp - 0x38]
call fcn.0040a220
mov ecx, esi
call fcn.00409c10
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea esi, [ebp - 0x38]
call fcn.00403810
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret