Function at 0x180f19e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x148], esi
xor ecx, ecx
push 0xf
pop edx
lea eax, [esi + 0xac]
mov dword [esi + 4], ecx
mov dword [eax], ecx
lea ebx, [esi + 0xf4]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esi + 0xdc]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x94], ecx
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xd4], ecx
mov dword [eax], ecx
mov dword [eax + 0x10], ecx
mov dword [ebx], ecx
mov dword [ebx + 0x10], ecx
lea ecx, [esi + 0x10c]
mov dword [esi], 0x1819e960
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 - 0x134], eax
mov dword [eax + 0x14], edx
mov dword [ebx + 0x14], edx
call fcn.180fb2f8
push 0xac
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.1812f700
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 0x180f1ad2
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x130]
call fcn.180f0cc7
lea eax, [ebp - 0x130]
push eax
lea ecx, [esi + 0xac]
call fcn.180384b5
lea ecx, [ebp - 0x130]
call fcn.18014b4d
push 0x181d0750
lea ecx, [esi + 0x7c]
call fcn.1803abae
lea ecx, [ebp - 0x130]
call fcn.180f17c6
push eax
lea ecx, [esi + 4]
call fcn.180384b5
lea ecx, [ebp - 0x130]
call fcn.18014b4d
lea ecx, [ebp - 0x130]
call fcn.180f1068
push eax
lea ecx, [esi + 0x1c]
call fcn.180384b5
lea ecx, [ebp - 0x130]
call fcn.18014b4d
lea edx, [esi + 0x64]
lea ecx, [esi + 0x4c]
call fcn.180f13f2
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x180f1ced
push str.RtlConvertDeviceFamilyInfoToString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x118], esi
test esi, esi
je 0x180f1ce7
xor eax, eax
mov ecx, esi
push eax
push eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
push eax
call dword [0x1815e3d4]
call esi
cmp eax, 0xc0000023
jne 0x180f1ce7
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x13c]
and dword [ebp - 0x13c], 0
call fcn.180f2018
mov edx, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
and dword [ebp - 0x138], 0
call fcn.180f2018
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x118]
push edi
push esi
push eax
lea eax, [ebp - 0x144]
push eax
call dword [0x1815e3d4]
call dword [ebp - 0x118]
and dword [ebp - 0x130], 0
lea ecx, [ebp - 0x130]
and dword [ebp - 0x120], 0
push esi
mov dword [ebp - 0x11c], 7
call fcn.1800fd89
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x160]
call fcn.180d7f43
mov ecx, dword [ebp - 0x134]
push eax
call fcn.180384b5
lea ecx, [ebp - 0x160]
call fcn.18014b4d
mov eax, dword [ebp - 0x11c]
cmp eax, 8
jb 0x180f1cb7
mov ecx, dword [ebp - 0x130]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x13c], ecx
cmp eax, 0x1000
jb 0x180f1cae
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x118]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x13c]
push eax
push ecx
call fcn.1811af76
pop ecx
pop ecx
and dword [ebp - 0x120], 0
xor eax, eax
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
test edi, edi
je 0x180f1cdc
push edi
call fcn.1811b2f3
pop ecx
test esi, esi
je 0x180f1ce7
push esi
call fcn.1811b2f3
pop ecx
mov esi, dword [ebp - 0x148]
mov edi, 0x104
lea eax, [ebp - 0x114]
push edi
push 0
push eax
call fcn.1812f700
add esp, 0xc
mov dword [ebp - 0x134], edi
lea eax, [ebp - 0x134]
xor edi, edi
push eax
lea eax, [ebp - 0x114]
push eax
push edi
push 2
push str.CommercialId
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
push 0xf
mov dword [ebp - 0x130], edi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], edi
lea edx, [ecx + 1]
pop edi
mov dword [ebp - 0x11c], edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x180f1d50
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.1801e728
lea eax, [ebp - 0x130]
cmp ebx, eax
je 0x180f1dd6
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x180f1dbe
mov ecx, dword [ebx]
inc eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x13c], ecx
cmp eax, 0x1000
jb 0x180f1db5
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x118]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x13c]
push eax
push ecx
call fcn.1811af76
pop ecx
pop ecx
and dword [ebx + 0x10], 0
lea eax, [ebp - 0x130]
push eax
mov ecx, ebx
mov dword [ebx + 0x14], edi
mov byte [ebx], 0
call fcn.18014bd2
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x180f1e25
mov ecx, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x13c], ecx
cmp eax, 0x1000
jb 0x180f1e1c
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.18007b72
mov eax, dword [ebp - 0x118]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x13c]
push eax
push ecx
call fcn.1811af76
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 4