Function at 0x10014cf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2028
call fcn.102244a0
mov al, byte [0x107ab9d8]
push ebx
push ebp
push esi
mov edx, ecx
push edi
mov byte [esp + 0x1438], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x1439]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
xor ebx, ebx
stosb byte es:[edi], al
mov eax, 0x400
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x2044]
mov dword [esp + 0x30], ebx
cmp al, 0x15
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
jne 0x10014dae
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionpoliciesExplorer_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x438]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], reloc.platform.dll_Ordinal_2
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1038]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionpoliciesExplorer_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10014e72
cmp al, 0x16
jne 0x1001531d
mov eax, dword [edx + 0x324]
cmp eax, ebx
jne 0x10014e1c
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionpoliciesExplorer_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x438]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], reloc.platform.dll_Ordinal_1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1038]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionpoliciesExplorer_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10014e72
mov dword [esp + 0x14], eax
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionpoliciesExplorer_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x438]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.SoftwareMicrosoftWindowsCurrentVersionpoliciesExplorer_
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x328]
lea edx, [esp + 0x103c]
push ecx
push str.HKEY_USERS
push str._s_s_s_
push edx
call ebp
add esp, 0x14
cmp word [esp + 0x2040], 0xa
jne 0x1001531d
mov edi, 0x102326f0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x438]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1038]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x102326f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x438]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x1440]
push 0x102322e8
push ecx
call ebp
mov esi, dword [esp + 0x2058]
mov ebp, dword [esp + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x10
lea edx, [esp + 0x10]
or esi, 0xf003f
push edx
push esi
lea eax, [esp + 0x440]
push ebx
push eax
push ebp
call edi
cmp eax, ebx
je 0x10014f94
cmp eax, 5
jne 0x1001531d
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x1444]
push 1
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], ebx
call fcn.100124d0
lea edx, [esp + 0x10]
lea eax, [esp + 0x438]
push edx
push esi
push ebx
push eax
push ebp
call edi
test eax, eax
je 0x10014f94
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push 1
push ecx
push edx
lea ecx, [esp + 0x444]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10012650
mov ecx, dword [esp + 0x24]
xor eax, eax
mov edx, ecx
lea edi, [esp + 0x838]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x24]
and ecx, 3
mov dword [esp + 0x1c], ebx
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
lea eax, [esp + 0x848]
push edx
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x10015300
mov ebp, dword [esp + 0x203c]
mov edx, dword [esp + 0x18]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x83c]
push eax
mov eax, dword [esp + 0x2050]
lea edx, [esp + 0x440]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.10013db0
add esp, 0x18
cmp eax, 1
jne 0x100152bd
mov cl, byte [esp + 0x38]
mov byte [esp + 0x437], bl
cmp cl, bl
lea eax, [esp + 0x38]
je 0x1001504f
cmp byte [eax], 0x22
jne 0x10015047
mov byte [eax], 0x20
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x1001503f
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1001506e
lea eax, [esp + ecx + 0x37]
mov cl, byte [esp + ecx + 0x37]
cmp cl, 0x5c
jne 0x1001506e
mov byte [eax], bl
lea edx, [esp + 0x1838]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.10016850
mov ecx, 0x100
lea esi, [esp + 0x1840]
lea edi, [esp + 0x40]
lea edx, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc40]
push ecx
push edx
call fcn.10016cb0
add esp, 0x10
cmp eax, 1
jne 0x100152bd
lea eax, [esp + 0xc38]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
mov eax, dword [esp + 0x2050]
add esp, 4
cmp eax, ebx
jne 0x1001523c
lea edi, [esp + 0xc38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x1001519a
lea eax, [esp + 0x1c38]
push 0x400
lea ecx, [esp + 0xc3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
cmp eax, ebx
je 0x1001515a
cmp eax, 0x400
ja 0x1001515a
lea edx, [esp + 0x1c38]
push ebp
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
cmp edx, ebx
je 0x100152bd
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov dl, byte [edx]
cmp dl, 0x20
je 0x100151d4
cmp dl, bl
jne 0x100152bd
jmp 0x100151d4
lea eax, [esp + 0xc38]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
cmp edx, ebx
je 0x100152bd
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
mov dl, byte [edx]
cmp dl, 0x20
je 0x100151d4
cmp dl, 0x2c
je 0x100151d4
cmp dl, bl
jne 0x100152bd
jmp 0x100151d4
lea esi, [esp + 0xc38]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100151c7
cmp cl, bl
je 0x100151c3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100151c7
add eax, 2
add esi, 2
cmp cl, bl
jne 0x100151a3
xor eax, eax
jmp 0x100151cc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100152bd
mov ecx, dword [0x107ab9f4]
cmp ecx, ebx
je 0x1001520c
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
lea esi, [eax + 0x31c]
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x844]
push eax
lea eax, [esp + 0x1048]
push eax
mov eax, dword [0x107ab9f8]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x2048]
lea ecx, [esp + 0x838]
lea edx, [esp + 0x438]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.10013e80
add esp, 0x10
cmp eax, 1
jne 0x100152bd
jmp 0x100152b5
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xc38]
push ebp
push edx
call fcn.100168e0
cmp eax, 1
jne 0x100152bd
mov ecx, dword [0x107ab9f4]
cmp ecx, ebx
je 0x1001528b
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
lea esi, [eax + 0x31c]
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x844]
push eax
lea eax, [esp + 0x1048]
push eax
mov eax, dword [0x107ab9f8]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x2048]
lea ecx, [esp + 0x838]
lea edx, [esp + 0x438]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.10013e80
add esp, 0x10
cmp eax, 1
jne 0x100152bd
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, 0x400
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x38]
push edx
push ecx
push ebx
lea edx, [esp + 0x30]
push ebx
lea ecx, [esp + 0x848]
inc eax
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x10014fe7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2028
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2028
ret 0x14