Function at 0x419920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567353
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x684], ecx
mov dword [ebp - 4], 0
xor bl, bl
call fcn.0041e980
or edi, 0xffffffff
cmp al, 1
jne 0x419b86
push 0x5adca8
lea ecx, [ebp - 0x67c]
call fcn.004058d0
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x680], 0x104
mov dword [ebp - 0x688], 1
call fcn.0054cbf0
add esp, 0xc
lea eax, [ebp - 0x678]
push eax
push 0x20019
push 0
push str.SOFTWAREHNCSharedExecuteOption96
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419a8b
lea eax, [ebp - 0x680]
push eax
push 0
push 0
push 0
push str.LightSizeProductName
push dword [ebp - 0x678]
call esi
test eax, eax
jne 0x419a8b
lea eax, [ebp - 0x680]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x688]
push eax
push 0
push str.LightSizeProductName
push dword [ebp - 0x678]
call esi
mov eax, dword [ebp - 0x684]
lea ecx, [ebp - 0x67c]
add eax, 0x260
push eax
call fcn.00409360
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419a45
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.00408fb0
push 0xf
push str._Language_Pack_
lea ecx, [ebp - 0x67c]
call fcn.00408fb0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x67c]
push dword [eax - 0xc]
push eax
call fcn.00408fb0
push dword [ebp - 0x678]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x680], 0x104
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
mov dword [ebp - 0x684], 1
call fcn.0054cbf0
add esp, 0xc
lea eax, [ebp - 0x678]
push eax
push 0x20019
push 0
push dword [ebp - 0x67c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419b57
lea eax, [ebp - 0x680]
push eax
push 0
push 0
push 0
push str.LangPackCheckFile
push dword [ebp - 0x678]
call esi
test eax, eax
jne 0x419b57
lea eax, [ebp - 0x680]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x684]
push eax
push 0
push str.LangPackCheckFile
push dword [ebp - 0x678]
call esi
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
movzx ebx, bl
mov ecx, 1
push eax
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x678]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x67c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419b86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x419ba7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 4