Function at 0x1000a7db
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100031f8
push 0x100146c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x154], esi
push 0x20
push esi
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_memset
mov ebx, 0x104
push ebx
push esi
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_memset
push ebx
push esi
lea eax, [ebp - 0x258]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov dword [ebp - 4], esi
lea eax, [ebp - 0x25c]
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000a868
or dword [ebp - 0x24], 0xffffffff
jmp 0x1000abbe
mov eax, dword [ebp + 0x24]
sub eax, esi
je 0x1000aa60
dec eax
je 0x1000a9e8
dec eax
je 0x1000a883
dec eax
jmp 0x1000ab75
push 0x20
pop edi
push edi
push esi
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCRT.dll_memset
push ebx
push esi
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_memset
push ebx
push esi
lea eax, [ebp - 0x258]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x154]
inc dword [ebp - 0x154]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14c]
push ecx
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1000abbe
mov esi, 0x10001b50
lea edi, [ebp - 0x27c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x270]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x10001b48
lea eax, [ebp - 0x27c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
mov eax, dword [ebp + 0x14]
dec eax
je 0x1000a9a4
dec eax
je 0x1000a996
dec eax
je 0x1000a973
dec eax
je 0x1000a942
sub eax, 3
jne 0x1000a9ce
push 0x10001b38
jmp 0x1000a978
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x10001b2c
lea eax, [ebp - 0x14c]
push eax
push 0x10001b14
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x1000a9ce
push 0x10001b08
lea eax, [ebp - 0x14c]
push eax
push 0x10001af8
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x1000a9ce
lea eax, [ebp - 0x12c]
push eax
push 0x10001ae8
jmp 0x1000a9b0
lea eax, [ebp - 0x12c]
push eax
push 0x10001ae0
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 0x18]
call esi
mov dword [ebp - 0x24], 1
xor esi, esi
jmp 0x1000a883
push ebx
push esi
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x154]
inc dword [ebp - 0x154]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000abbe
lea eax, [ebp - 0x12c]
push eax
push 0x10001ad8
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcat
add esp, 0x14
mov dword [ebp - 0x24], 1
jmp 0x1000a9e8
mov ecx, dword [ebp + 0x14]
cmp ecx, esi
jbe 0x1000abbe
cmp ecx, 2
jbe 0x1000ab79
cmp ecx, 3
je 0x1000ab52
push 4
pop eax
cmp ecx, eax
je 0x1000ab12
cmp ecx, 7
jne 0x1000abbe
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000abbe
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
cmp byte [eax], 0
je 0x1000aafc
push ebx
push eax
lea eax, [ebp - 0x258]
push eax
call edi
push ebx
push 0x100013f8
lea eax, [ebp - 0x258]
push eax
call edi
push esi
push dword [ebp - 0x28]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x20
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1000aaca
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x1000abb7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000abbe
push dword [ebp - 0x150]
push 0x10001ad4
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x1000abb4
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000abbe
jmp 0x1000abb7
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000abbe
lea eax, [ebp - 0x12c]
push eax
call fcn.1000a7b0
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
add esp, 0xc
mov dword [ebp - 0x24], 1
or dword [ebp - 4], 0xffffffff
call fcn.1000abd9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret