Function at 0x418720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567252
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5d51c0]
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 ebx, ecx
mov dword [ebp - 0x22c], ebx
call fcn.0041e980
cmp al, 1
jne 0x418bb0
lea ecx, [ebp - 0x258]
call fcn.00433543
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x234], 0x104
mov dword [ebp - 0x240], 1
call fcn.0054cbf0
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0x20019
push 0
push str.SOFTWAREHNCSharedCommon9.6
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41882a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0
push str.Common_Path
push dword [ebp - 0x228]
call esi
test eax, eax
jne 0x41882a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
push str.Common_Path
push dword [ebp - 0x228]
call esi
push str.Language_List.txt
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0054b5e8
add esp, 0xc
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x258]
call fcn.0043380a
cmp eax, 1
jne 0x418b9e
call fcn.004206b9
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x418871
push 0x80004005
call fcn.00405730
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x230]
mov edx, dword [ebx + 0x250]
push ecx
mov ecx, dword [ebx + 0x24c]
call fcn.00419ec0
mov eax, dword [ebx + 0x24c]
lea ecx, [ebp - 0x258]
add esp, 8
mov dword [ebx + 0x250], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0043398d
or ebx, 0xffffffff
test eax, eax
je 0x418b72
lea esp, [esp]
push 0x5adca8
lea ecx, [ebp - 0x220]
call fcn.004058d0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x21c]
push ecx
mov dword [ebp - 0x224], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x418917
cmp ecx, dword [esi - 0x10]
jne 0x418917
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x418950
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x418bcc
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0054b0a9
add esp, 0x10
mov ecx, dword [ebp - 0x224]
lea eax, [edi + 0x10]
mov dword [ecx], eax
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.00417800
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4189d4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4189c5
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4189c5
push edx
call fcn.004092f0
add esp, 4
mov dword [ebp - 0x224], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4189ba
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x224]
add eax, 0x10
mov dword [ebp - 0x220], eax
jmp 0x4189d4
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00405780
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4189f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x418a23
cmp ecx, dword [esi - 0x10]
jne 0x418a23
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x418a5c
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x418bcc
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0054b0a9
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x220]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x418a95
cmp ecx, dword [esi - 0x10]
jne 0x418a95
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x418ace
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x418bcc
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0054b0a9
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 5
lea ecx, [ecx + 0x24c]
call fcn.00419c40
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418b16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418b35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418b58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x258]
call fcn.0043398d
test eax, eax
jne 0x4188d0
lea ecx, [ebp - 0x258]
call fcn.004336e2
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x418b9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
call fcn.0043356e
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.0054a22c
mov esp, ebp
pop ebp
ret
call fcn.00405610
int3