Function at 0x180cd262
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x1822b00c]
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], 0x182152ac
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.180d957f
push 0xac
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.181757a0
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 0x180cd354
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x12c]
call fcn.180cc45e
lea eax, [ebp - 0x12c]
push eax
lea ecx, [esi + 0xac]
call fcn.180254af
lea ecx, [ebp - 0x12c]
call fcn.18012edc
push 0x1822d6a8
lea ecx, [esi + 0x7c]
call fcn.18073c08
lea ecx, [ebp - 0x12c]
call fcn.180cd0b9
push eax
lea ecx, [esi + 4]
call fcn.180254af
lea ecx, [ebp - 0x12c]
call fcn.18012edc
lea ecx, [ebp - 0x12c]
call fcn.180cc87f
push eax
lea ecx, [esi + 0x1c]
call fcn.180254af
lea ecx, [ebp - 0x12c]
call fcn.18012edc
lea edx, [esi + 0x64]
lea ecx, [esi + 0x4c]
call fcn.180cccb6
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x180cd54d
push str.RtlConvertDeviceFamilyInfoToString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x180cd54d
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 0x180cd54d
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x150]
call fcn.180cd836
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x148]
call fcn.180cd836
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.1800e939
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x144]
call fcn.180b52d7
mov ecx, dword [ebp - 0x160]
push eax
call fcn.180254af
lea ecx, [ebp - 0x144]
call fcn.18012edc
mov eax, dword [ebp - 0x118]
cmp eax, 8
jb 0x180cd517
mov ecx, dword [ebp - 0x12c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], ecx
cmp eax, 0x1000
jb 0x180cd50e
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.18007456
mov eax, dword [ebp - 0x150]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
push eax
push ecx
call fcn.18160b12
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 0x180cd53c
push edi
call fcn.18160e83
pop ecx
test esi, esi
je 0x180cd547
push esi
call fcn.18160e83
pop ecx
mov esi, dword [ebp - 0x14c]
mov edi, 0x104
lea eax, [ebp - 0x114]
push edi
push 0
push eax
call fcn.181757a0
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 0x180cd5b1
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.1801b1e1
lea eax, [ebp - 0x12c]
cmp ebx, eax
je 0x180cd643
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x180cd61f
mov ecx, dword [ebx]
inc eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
cmp eax, 0x1000
jb 0x180cd616
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.18007456
mov eax, dword [ebp - 0x14c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
push eax
push ecx
call fcn.18160b12
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.18012f5d
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x180cd692
mov ecx, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
cmp eax, 0x1000
jb 0x180cd689
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.18007456
mov eax, dword [ebp - 0x14c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x148]
push eax
push ecx
call fcn.18160b12
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181605f4
leave
ret 4