Function at 0x40f5e0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4846a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 4], ebx
mov eax, SysReAllocStringLen
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov byte [ebp - 4], 1
call fcn.00401110
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], eax
je 0x40f66f
cmp eax, ebx
je 0x40f66f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
push edx
push 0x20019
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov eax, esi
mov dword [ebp - 0x34], 0x20019
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f692
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x30]
call fcn.00430290
cmp edi, ebx
jne 0x40f7ce
mov edx, dword [0x484034]
mov eax, dword [edx + 0xc]
mov ecx, 0x484034
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
push ecx
push str.vsbootstrapper__d
lea edi, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00428b20
mov edi, dword [ebp - 0x44]
lea edx, [ebp - 0x3c]
add esp, 8
lea esi, [ebp - 0x74]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edi
call fcn.00404830
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
call fcn.00422970
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x40f71f
push eax
call fcn.0044ebcc
add esp, 4
cmp dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x5c]
jne 0x40f7a1
cmp eax, ebx
je 0x40f735
push eax
call fcn.0044ebcc
add esp, 4
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f755
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f778
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x40f78b
cmp dword [ebp - 0x3c], eax
je 0x40f78b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 8
jb 0x40f79d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044ebcc
add esp, 4
mov al, 1
jmp 0x40f818
cmp eax, ebx
je 0x40f7ae
push eax
call fcn.0044ebcc
add esp, 4
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f7ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f7f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x40f804
cmp dword [ebp - 0x3c], eax
je 0x40f804
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 8
jb 0x40f816
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044ebcc
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ebd7
mov esp, ebp
pop ebp
ret 4