Function at 0x478240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3b23
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x52a0b0]
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], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
call fcn.00404190
mov byte [ebp - 4], 2
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040de70
mov byte [ebp - 4], 3
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4782dc
mov eax, dword [eax]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.00413a60
test eax, eax
sete bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00404c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov esi, dword [ebp - 0x84]
test bl, bl
je 0x478414
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 0x478392
cmp dword [ebp - 0x88], 4
jne 0x478392
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], 0x14a
call fcn.0040b3b0
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov dword [edi], eax
mov bl, 1
jmp 0x4784da
cmp byte [0x52aaa4], 0
jne 0x4783a8
cmp byte [0x530565], 0
je 0x4784d8
push 0
push ecx
push str.CommonMaintenanceRegistrar.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
call fcn.00406ce0
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], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x70]
push 0x150
lea ecx, [ebp - 0x40]
call fcn.0048e640
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00404850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
jmp 0x4784d3
cmp byte [0x52aaa4], 0
jne 0x47842a
cmp byte [0x530565], 0
je 0x4784d8
push 0
push ecx
push str.CommonMaintenanceRegistrar.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 0xd
push 0
push ecx
push str.Maintenance:_no_uninstall_key_present
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 0xf
cmp byte [0x52aaa4], 0
je 0x478497
cmp byte [0x530565], 0
jne 0x478489
call fcn.0048df20
test al, al
je 0x478490
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x4784c0
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x155
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e390
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.00404850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404850
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4784f6
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.004a103a
mov esp, ebp
pop ebp
ret 4