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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003cb8
push 0x10014a5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
push edi
push 0x100024f4
push 0x100015ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x168], eax
mov eax, dword [0x100024ec]
mov dword [ebp - 0x40], eax
mov eax, dword [0x100024f0]
mov dword [ebp - 0x3c], eax
xor eax, eax
lea edi, [ebp - 0x38]
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
mov esi, 0x100024e4
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x55]
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
stosb byte es:[edi], al
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_strcat
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x190], ebx
push 0x20
push ebx
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x104
push esi
push ebx
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x294]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x2c
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x298]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000ad0b
or dword [ebp - 0x24], 0xffffffff
jmp 0x1000b02d
mov eax, dword [ebp + 0x24]
sub eax, ebx
je 0x1000aed0
dec eax
je 0x1000ae58
dec eax
je 0x1000ad26
dec eax
jmp 0x1000afe4
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x20
push ebx
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x294]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x190]
inc dword [ebp - 0x190]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push eax
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1000b02d
mov eax, dword [ebp + 0x14]
dec eax
je 0x1000ae18
dec eax
je 0x1000ae0b
dec eax
je 0x1000adec
dec eax
je 0x1000adbf
sub eax, 3
jne 0x1000ae3c
push 0x100024d4
jmp 0x1000adf1
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x164]
push eax
push 0x100024c8
lea eax, [ebp - 0x188]
push eax
push 0x100024b0
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0x18
jmp 0x1000ae3c
push 0x100024a4
lea eax, [ebp - 0x188]
push eax
push 0x10002494
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0x10
jmp 0x1000ae3c
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x40]
push eax
jmp 0x1000ae24
lea eax, [ebp - 0x164]
push eax
push 0x1000248c
lea eax, [ebp - 0x188]
push eax
push 0x10002478
lea eax, [ebp - 0x294]
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x294]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x24], 1
jmp 0x1000ad2c
push esi
push ebx
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x190]
inc dword [ebp - 0x190]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000b02d
lea eax, [ebp - 0x164]
push eax
push 0x10002470
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x294]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcat
add esp, 0x14
mov dword [ebp - 0x24], 1
jmp 0x1000ae58
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jbe 0x1000b02d
cmp ecx, 2
jbe 0x1000afe8
cmp ecx, 3
je 0x1000afc1
push 4
pop eax
cmp ecx, eax
je 0x1000af81
cmp ecx, 7
jne 0x1000b02d
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000b02d
lea eax, [ebp - 0x164]
mov dword [ebp - 0x60], eax
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
cmp byte [eax], bl
je 0x1000af6b
push esi
push eax
lea eax, [ebp - 0x294]
push eax
call edi
push esi
push 0x100015bc
lea eax, [ebp - 0x294]
push eax
call edi
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x20
inc eax
mov dword [ebp - 0x60], eax
jmp 0x1000af3a
lea eax, [ebp - 0x294]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x1000b026
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000b02d
push dword [ebp - 0x18c]
push 0x1000246c
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x1000b023
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 ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000b02d
jmp 0x1000b026
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x298]
call dword [ebp - 0x168]
test eax, eax
jne 0x1000b02d
lea eax, [ebp - 0x164]
push eax
call fcn.1000abf6
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.1000b048
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret