Function at 0x454330
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a7d77
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ac]
xor ebx, ebx
push 0x206
lea eax, [esp + 0x92]
push ebx
push eax
mov word [esp + 0x98], bx
call fcn.0048a580
add esp, 0xc
push ebx
push 0x2b
lea ecx, [esp + 0x94]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x454407
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x48], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454407
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x90]
push edx
push ebx
push ebx
push str.CommonFilesDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xd
push str._UninsFolder_
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406d50
mov edx, esi
push edx
add ebp, 4
push ebp
mov dword [esp + 0x2ac], ebx
call fcn.004235e0
mov edi, eax
call fcn.00405f60
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x454461
mov eax, dword [esp + 0x1c]
push eax
call fcn.004692b1
add esp, 4
push 0xd
mov edi, 7
push str._UninsFolder_
lea esi, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406d50
mov ecx, esi
push ecx
push ebp
mov dword [esp + 0x2ac], 1
call fcn.004235e0
lea edx, [esp + 0x8c]
lea ecx, [edx + 2]
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x4544a1
sub edx, ecx
sar edx, 1
push edx
lea edx, [esp + 0x90]
push edx
mov ecx, eax
call fcn.00408260
mov dword [esp + 0x2a4], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x4544df
mov eax, dword [esp + 0x1c]
push eax
call fcn.004692b1
add esp, 4
push 0xa
push str._UninsVer_
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00406d50
mov dword [esp + 0x2a4], 2
push 0xd
push str._UninsFolder_
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00406d50
lea ecx, [esp + 0x54]
push ecx
push ebp
mov byte [esp + 0x2ac], 3
call fcn.004235e0
push eax
mov edx, str.CanonUIW_
lea edi, [esp + 0x74]
call fcn.00426a20
add esp, 4
mov edi, eax
mov edx, esi
push edx
push ebp
mov byte [esp + 0x2ac], 4
call fcn.004235e0
push ebx
mov esi, eax
push edi
or eax, 0xffffffff
call fcn.00408330
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x454583
mov eax, dword [esp + 0x74]
push eax
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x50], esi
mov edi, 7
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x4545ae
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x4545ce
mov edx, dword [esp + 0x58]
push edx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.00483bf3
add esp, 0x294
ret 4