Function at 0x180c6b16
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14c], esi
xor ecx, ecx
push 0xf
pop edx
lea eax, [esi + 0xac]
mov dword [esi + 0x14], ecx
mov dword [eax + 0x10], ecx
lea ebx, [esi + 0xf4]
mov byte [eax], cl
mov dword [eax + 0x14], edx
lea eax, [esi + 0xdc]
mov byte [esi + 4], cl
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x1c], cl
mov dword [esi + 0x44], ecx
mov byte [esi + 0x34], cl
mov dword [esi + 0x5c], ecx
mov byte [esi + 0x4c], cl
mov dword [esi + 0x74], ecx
mov byte [esi + 0x64], cl
mov dword [esi + 0x8c], ecx
mov byte [esi + 0x7c], cl
mov dword [esi + 0xa4], ecx
mov byte [esi + 0x94], cl
mov dword [esi + 0xd4], ecx
mov byte [esi + 0xc4], cl
mov dword [eax + 0x10], ecx
mov byte [eax], cl
mov dword [ebx + 0x10], ecx
mov byte [ebx], cl
lea ecx, [esi + 0x10c]
mov dword [esi], 0x181f9d2c
mov dword [esi + 0x18], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x78], edx
mov dword [esi + 0x90], edx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xd8], edx
mov dword [ebp - 0x160], eax
mov dword [eax + 0x14], edx
mov dword [ebx + 0x14], edx
call fcn.180d2e36
push 0xac
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.181620e0
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [ebp - 0x14]
cmp eax, 2
je 0x180c6c08
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x12c]
call fcn.180c5d12
lea eax, [ebp - 0x12c]
push eax
lea ecx, [esi + 0xac]
call fcn.18024d0c
lea ecx, [ebp - 0x12c]
call fcn.1801238a
push 0x182115f0
lea ecx, [esi + 0x7c]
call fcn.1806f75e
lea ecx, [ebp - 0x12c]
call fcn.180c696d
push eax
lea ecx, [esi + 4]
call fcn.18024d0c
lea ecx, [ebp - 0x12c]
call fcn.1801238a
lea ecx, [ebp - 0x12c]
call fcn.180c6133
push eax
lea ecx, [esi + 0x1c]
call fcn.18024d0c
lea ecx, [ebp - 0x12c]
call fcn.1801238a
lea edx, [esi + 0x64]
lea ecx, [esi + 0x4c]
call fcn.180c656a
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x180c6e01
push str.RtlConvertDeviceFamilyInfoToString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x180c6e01
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x158]
push ecx
call eax
cmp eax, 0xc0000023
jne 0x180c6e01
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x150]
call fcn.180c70ea
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x148]
call fcn.180c70ea
mov edi, dword [ebp - 0x148]
lea eax, [ebp - 0x154]
mov esi, dword [ebp - 0x150]
push edi
push esi
push eax
lea eax, [ebp - 0x158]
push eax
call dword [ebp - 0x15c]
and dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x118], 7
push esi
mov word [ebp - 0x12c], ax
call fcn.1800ded2
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x144]
call fcn.180aeb8e
mov ecx, dword [ebp - 0x160]
push eax
call fcn.18024d0c
lea ecx, [ebp - 0x144]
call fcn.1801238a
mov eax, dword [ebp - 0x118]
cmp eax, 8
jb 0x180c6dcb
mov ecx, dword [ebp - 0x12c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], ecx
cmp eax, 0x1000
jb 0x180c6dc2
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.18007386
mov eax, dword [ebp - 0x150]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
and dword [ebp - 0x11c], 0
xor eax, eax
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
test edi, edi
je 0x180c6df0
push edi
call fcn.1814d7cc
pop ecx
test esi, esi
je 0x180c6dfb
push esi
call fcn.1814d7cc
pop ecx
mov esi, dword [ebp - 0x14c]
mov edi, 0x104
lea eax, [ebp - 0x114]
push edi
push 0
push eax
call fcn.181620e0
add esp, 0xc
mov dword [ebp - 0x160], edi
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 2
push str.CommercialId
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
and dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x114]
push 0xf
pop edi
mov dword [ebp - 0x118], edi
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x180c6e65
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.18019812
lea eax, [ebp - 0x12c]
cmp ebx, eax
je 0x180c6ef7
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x180c6ed3
mov ecx, dword [ebx]
inc eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
cmp eax, 0x1000
jb 0x180c6eca
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.18007386
mov eax, dword [ebp - 0x14c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
xor eax, eax
mov dword [ebx + 0x14], edi
mov byte [ebp - 0x15c], al
mov ecx, ebx
push dword [ebp - 0x15c]
mov dword [ebx + 0x10], eax
mov byte [ebx], al
lea eax, [ebp - 0x12c]
push eax
call fcn.1801240b
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x180c6f46
mov ecx, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
cmp eax, 0x1000
jb 0x180c6f3d
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.18007386
mov eax, dword [ebp - 0x14c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1814cf3d
leave
ret 4