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

Disassembly:
push 0xffffffffffffffff
push 0x4a683c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x5a]
push ebx
push eax
mov edi, ecx
mov word [esp + 0x60], bx
call fcn.0048a580
add esp, 0xc
push ebx
push 0x2b
lea ecx, [esp + 0x5c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4554f3
lea eax, [esp + 0x30]
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 0x4554f3
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push ebx
push str.CommonFilesDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x11
push str._UninsWrapperExe_
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00406d50
mov edx, esi
push edx
lea ebp, [edi + 4]
push ebp
mov dword [esp + 0x270], ebx
call fcn.004235e0
mov edi, eax
call fcn.00405f60
mov edi, 8
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x455551
mov eax, dword [esp + 0x18]
push eax
call fcn.004692b1
add esp, 4
push 0x11
push str._UninsWrapperExe_
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00406d50
mov ecx, esi
push ecx
push ebp
mov dword [esp + 0x270], 1
call fcn.004235e0
lea edx, [esp + 0x54]
lea ecx, [edx + 2]
lea ecx, [ecx]
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x455590
sub edx, ecx
sar edx, 1
push edx
lea edx, [esp + 0x58]
push edx
mov ecx, eax
call fcn.00408260
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x4555ca
mov eax, dword [esp + 0x18]
push eax
call fcn.004692b1
add esp, 4
push 0x11
push str._UninsWrapperExe_
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00406d50
mov ecx, esi
push ecx
push ebp
mov dword [esp + 0x270], 2
call fcn.004235e0
push 0xb
push str.CanonUIW_
mov ecx, eax
call fcn.00408260
mov dword [esp + 0x268], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x45562b
mov edx, dword [esp + 0x18]
push edx
call fcn.004692b1
add esp, 4
push 0x11
push str._UninsWrapperExe_
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00406d50
mov eax, esi
push eax
push ebp
mov dword [esp + 0x270], 3
call fcn.004235e0
push 0x14
push str.UninstallWrapper.exe
mov ecx, eax
call fcn.00408260
cmp dword [esp + 0x50], edi
jb 0x455681
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004692b1
add esp, 4
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00483bf3
add esp, 0x258
ret