Function at 0x1000ab80
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x17dc
call fcn.10010280
mov edx, dword [esp + 0x17e4]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x418]
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x17f8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x18]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 8
push ebp
push edx
mov edx, dword [esp + 0x1800]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000aee9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x818]
push 0x400
push eax
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x1000ae3e
cmp eax, 6
je 0x1000ae3e
lea edx, [esp + 0x818]
lea eax, [esp + 0xc18]
push edx
push 0x10030c5c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0xc24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x17f8]
lea edx, [esp + 0x18]
not ecx
dec ecx
jne 0x1000ac96
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
jmp 0x1000ad95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x10030c58
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 + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xc18]
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 + 0x418]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x17f4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x418]
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, 0x10030c58
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
and ecx, 3
lea edx, [esp + 0x418]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x818]
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
and ecx, 3
lea eax, [esp + 0x818]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x1020]
push 0x10030c60
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x1028]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 0xd0]
lea edx, [esp + 0x1018]
not ecx
dec ecx
push edx
add eax, ecx
mov dword [esp + 0x101c], ecx
mov dword [ebx + 0xd0], eax
mov eax, dword [0x1003899c]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x10038998
call fcn.1000b6a0
mov eax, dword [esp + 0x17f0]
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x41c]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.1000a700
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x818]
inc ebp
push 0x400
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x1000ac36
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebx + 0xd0]
add ecx, 0x9c4
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0xd0]
mov edi, eax
add ecx, 0x9c4
xor eax, eax
mov edx, ecx
mov dword [ebx + 0xcc], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x100389a0]
mov ebp, dword [ebx + 0xcc]
test eax, eax
jbe 0x1000aedf
mov eax, dword [0x1003899c]
mov edi, ebp
mov eax, dword [eax]
mov ecx, dword [eax + 8]
lea esi, [eax + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax + 8]
mov eax, dword [0x1003899c]
add ebp, esi
mov eax, dword [eax]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.10010220
mov eax, dword [0x100389a0]
add esp, 4
dec eax
mov dword [0x100389a0], eax
jne 0x1000ae91
mov dword [ebx + 0xd0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17dc
ret 0xc