Function at 0x46fbe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [edi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x71]
push 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.004042c0
mov byte [ebp - 4], 2
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408bb0
mov byte [ebp - 4], 3
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x46fc7c
mov eax, dword [eax]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.00413a20
test eax, eax
sete bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00404db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404db0
mov esi, dword [ebp - 0x84]
test bl, bl
je 0x46fdb4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x78], 0
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x90], 4
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push str.Language
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46fd32
cmp dword [ebp - 0x88], 4
jne 0x46fd32
push dword [ebp - 0x78]
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], str.CommonMaintenanceRegistrar.cpp
push str.Maintenance:_got_installed_language:__d
push eax
mov dword [ebp - 0x88], 0x147
call fcn.0040b080
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov dword [edi], eax
mov bl, 1
jmp 0x46fe7a
cmp byte [0x51caa5], 0
jne 0x46fd48
cmp byte [0x522582], 0
je 0x46fe78
push 0
push ecx
push str.CommonMaintenanceRegistrar.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 7
push 0
push ecx
push str.Maintenance:_uninstall_key_present_but_has_no_language_value
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 9
lea edx, [ebp - 0x70]
push 0x14d
lea ecx, [ebp - 0x40]
call fcn.00486f90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
jmp 0x46fe73
cmp byte [0x51caa5], 0
jne 0x46fdca
cmp byte [0x522582], 0
je 0x46fe78
push 0
push ecx
push str.CommonMaintenanceRegistrar.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0xd
push 0
push ecx
push str.Maintenance:_no_uninstall_key_present
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0xf
cmp byte [0x51caa5], 0
je 0x46fe37
cmp byte [0x522582], 0
jne 0x46fe29
call fcn.00486870
test al, al
je 0x46fe30
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x46fe60
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x152
cmovae ecx, dword [ebp - 0x6c]
call fcn.00486ce0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004049f0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x46fe96
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x84], 0
mov al, bl
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004996ca
mov esp, ebp
pop ebp
ret 4