Function at 0x4221fd
Capabilities:
Create process on windows
Set registry value

Disassembly:
push 0x2c4
mov eax, 0x444588
call fcn.0043ee0c
mov ebx, ecx
lea eax, [ebx + 0x150]
push str.Bootstrapper::initialize
push eax
mov dword [ebp - 0x26c], ebx
call fcn.00402357
and dword [ebp - 4], 0
mov eax, dword [ebx]
pop ecx
pop ecx
mov ecx, ebx
call dword [eax + 0x38]
and dword [ebp - 0x228], 0
mov ecx, dword [ebx + 0x11c]
sub esp, 0x10
mov dword [ebp - 0x22c], 0x42a8c6
mov dword [ebp - 0x224], ebx
mov edi, esp
lea esi, [ebp - 0x22c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0x10
movsd dword es:[edi], dword [esi]
call fcn.0042d019
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
lea ecx, [ebp - 0x234]
push eax
call fcn.0040ab42
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x11c]
cmp dword [ebp - 0x220], 8
mov eax, dword [ecx]
lea esi, [ebp - 0x234]
cmovae esi, dword [ebp - 0x234]
call dword [eax + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.0040253d
mov ecx, ebx
call fcn.004230dc
cmp dword [0x46eb30], 0
mov cl, byte [ebx + 0x4d]
mov dword [ebp - 0x268], ecx
jne 0x422328
test cl, cl
je 0x422318
push str.OLEAUT32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4222f9
push str.RegisterTypeLibForUser
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46eb30], eax
jmp 0x4222fe
mov eax, dword [0x46eb30]
mov ecx, dword [ebp - 0x268]
xor edx, edx
movzx ecx, cl
test eax, eax
cmove ecx, edx
mov dword [ebp - 0x268], ecx
test cl, cl
jne 0x422322
mov eax, dword [sym.imp.OLEAUT32.dll_QueryPathOfRegTypeLib]
mov dword [0x46eb30], eax
mov byte [0x46eb34], cl
lea esi, [ebx + 0x150]
cmp cl, byte [ebx + 0x4d]
je 0x422346
push str.::GetProcAddress_hmodOleAut___RegisterTypeLibForUser___FAILED__install_farced_to_global_mode
push esi
call fcn.00402357
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
mov byte [ebx + 0x4d], cl
call fcn.00436cb2
movzx eax, al
push eax
push str.IsVistaPlus___d
push esi
call fcn.00402357
add esp, 0xc
call fcn.00436cb2
test al, al
je 0x422390
call fcn.00436d1a
movzx eax, al
push eax
push str.IsElevated___d
push esi
call fcn.00402357
add esp, 0xc
call fcn.00436db4
movzx eax, al
push eax
push str.IsUacEnabled___d
jmp 0x4223be
call fcn.00420999
movzx eax, al
push eax
push str.IsWinXP___d
push esi
call fcn.00402357
add esp, 0xc
call fcn.00420999
test al, al
je 0x4223c7
call fcn.00420c17
movzx eax, al
push eax
push str.IsAdminRunning___d
push esi
call fcn.00402357
add esp, 0xc
cmp byte [ebx + 0x4d], 0
je 0x42247f
cmp byte [ebx + 0x4a], 0
je 0x422469
mov esi, dword [ebx + 0x11c]
push 0
mov edi, dword [esi]
push str.Debug
call fcn.00436cb2
mov ecx, str.This_is_not_Vista
test al, al
mov edx, str.This_is_Vista
cmove edx, ecx
push edx
mov ecx, esi
call dword [edi + 4]
call fcn.00436cb2
test al, al
je 0x422461
mov esi, dword [ebx + 0x11c]
call fcn.00436d1a
mov edx, dword [esi]
mov cl, al
push 0
test cl, cl
mov eax, str.This_is_Elevated
mov edi, str.This_is_not_Elevated
push str.Debug
cmove eax, edi
push eax
mov ecx, esi
call dword [edx + 4]
call fcn.00436d1a
test al, al
je 0x422461
mov ecx, dword [ebx + 0x11c]
push 4
mov eax, dword [ecx]
push str.DEBUG
push str.Do_you_want_an_all_user_install_
call dword [eax + 4]
cmp eax, 7
sete al
mov byte [ebx + 0x4d], al
lea esi, [ebx + 0x150]
jmp 0x42247f
call fcn.00436cb2
test al, al
je 0x42247f
call fcn.00436d1a
test al, al
je 0x42247f
mov byte [ebx + 0x4d], 0
movzx eax, byte [ebx + 0x4d]
push eax
push str.perUser___d
push esi
call fcn.00402357
add esp, 0xc
push 0xc
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov ecx, eax
test ecx, ecx
je 0x4224af
mov al, byte [ebx + 0x4d]
and dword [ecx + 8], 0
mov dword [ecx], ebx
mov byte [ecx + 4], al
jmp 0x4224b1
xor ecx, ecx
mov eax, dword [ebx + 0x120]
push eax
mov dword [ebx + 0x120], ecx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [esp], str.Bootstrapper::initialize___calling_loadPrevVersions
push esi
call fcn.00402357
pop ecx
pop ecx
mov ecx, ebx
call fcn.00429b15
lea eax, [ebp - 0x24c]
push eax
mov ecx, ebx
call fcn.00406557
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], 0
jne 0x422504
push str.isUpdating__false
push esi
call fcn.00402357
pop ecx
pop ecx
jmp 0x42254a
cmp dword [ebp - 0x238], 0x10
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
push str.isUpdating__true___s
push esi
call fcn.00402357
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
call dword [eax + 0xec]
test al, al
je 0x42254a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf0]
test al, al
je 0x42254a
mov byte [ebx + 0x98], 1
cmp byte [ebx + 0x4b], 0
jne 0x422556
cmp byte [ebx + 0x4c], 0
jne 0x422564
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
test al, al
je 0x42256b
mov byte [ebx + 0x98], 1
mov ecx, dword [ebx + 0x11c]
mov al, byte [ebx + 0x98]
mov byte [ecx + 8], al
cmp byte [ebx + 0x4d], 0
jne 0x42276e
call fcn.00436cb2
test al, al
je 0x42276e
call fcn.00436d1a
test al, al
jne 0x42276e
call fcn.00436db4
test al, al
je 0x42273c
push str.re_launching_elevated
push esi
call fcn.00402357
pop ecx
pop ecx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ecx
mov word [ebp - 0x234], ax
xor edi, edi
mov byte [ebp - 4], 3
inc edi
mov eax, dword [sym.imp.MSVCR110.dll___argc]
cmp edi, dword [eax]
jge 0x422645
test ecx, ecx
je 0x422602
mov ecx, 0x44d5d4
call fcn.00405e95
push eax
push 0x44d5d4
lea ecx, [ebp - 0x234]
call fcn.0040c8ae
push 0x22
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040b928
mov eax, dword [sym.imp.MSVCR110.dll___wargv]
mov eax, dword [eax]
mov esi, dword [eax + edi*4]
mov ecx, esi
call fcn.00405e95
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040c8ae
push 0x22
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040b928
mov ecx, dword [ebp - 0x224]
inc edi
jmp 0x4225da
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [ebp - 0x2ac]
push 0
push eax
call sub.MSVCR110.dll_memset
xor ecx, ecx
add esp, 0xc
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2b0]
push eax
mov dword [ebp - 0x2b0], 0x3c
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2a4], str.runas
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x294], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4226ea
lea eax, [ebx + 0x150]
push str.ShellExecuteEx_succeeded
push eax
call fcn.00402357
pop ecx
pop ecx
jmp 0x42271e
lea ecx, [ebp - 0x268]
call fcn.00432127
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebx + 0x150]
push str.ShellExecuteEx_failed:__S
push eax
call fcn.00402357
add esp, 0xc
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.00402409
push 0
lea ecx, [ebp - 0x2c0]
call fcn.004312c7
push 0x459afc
lea eax, [ebp - 0x2c0]
push eax
call sub.MSVCR110.dll__CxxThrowException
cmp byte [ebx + 0x4b], 0
je 0x422754
mov ecx, dword [ebx + 0x11c]
push 0
mov eax, dword [ecx]
push str.This_operation_requires_administrator_priveleges
call dword [eax + 0x1c]
push 8
lea ecx, [ebp - 0x2d0]
call fcn.004312c7
push 0x459afc
lea eax, [ebp - 0x2d0]
jmp 0x422736
push ecx
xor eax, eax
cmp byte [ebx + 0x4d], al
push ecx
push 0x2001f
sete al
push ecx
push ecx
push str.SoftwareClasses
lea ecx, [ebx + 0x124]
add eax, 0x80000001
push eax
call fcn.0040d9f3
mov edx, str.Failed_to_create_HKSoftwareClasses
mov ecx, eax
call fcn.004320a9
cmp byte [ebx + 0x4d], 0
mov ecx, str.HKEY_LOCAL_MACHINE
mov eax, str.HKEY_CURRENT_USER
cmove eax, ecx
push eax
push str.classesKey___sSoftwareClasses
push esi
call fcn.00402357
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00436e5f
cmp dword [eax + 0x10], 0
push 0
push 1
lea ecx, [ebp - 0x234]
sete bl
call fcn.0040253d
test bl, bl
je 0x422856
push 0
xor edx, edx
push 0
push 1
inc edx
lea ecx, [ebp - 0x234]
call fcn.0043405b
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x234]
call fcn.00425813
push str.rbxcsettings.rbx
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x264]
call fcn.0042d0e9
pop ecx
mov ecx, eax
call fcn.00436f16
push 0
push 1
lea ecx, [ebp - 0x264]
call fcn.0040253d
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040253d
lea ecx, [ebp - 0x24c]
call fcn.00402286
call fcn.0043ed5e
ret