Function at 0x100098c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xd2c
mov al, byte [0x100171bc]
push ebx
push ebp
mov dword [esp + 0x2c], ecx
push edi
mov byte [esp + 0x538], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x539]
mov edx, dword [esp + 0xd40]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
push 0x20019
stosb byte es:[edi], al
mov eax, dword [esp + 0xd44]
push ebx
xor ebp, ebp
push edx
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009bd5
push esi
push ebx
push ebx
mov edx, dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ebx
push ecx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x2c], esi
jbe 0x10009bbb
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push ebx
lea ecx, [esp + 0x54c]
push eax
push ecx
push esi
push edx
mov byte [esp + 0x55c], bl
mov dword [esp + 0x48], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10009ba6
lea eax, [esp + 0x53c]
push str.Classes
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10009ba6
mov cl, byte [0x100171bc]
xor eax, eax
mov byte [esp + 0x93c], cl
mov ecx, 0xff
lea edi, [esp + 0x93d]
lea edx, [esp + 0x53c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xd44]
push edx
push eax
lea ecx, [esp + 0x944]
push 0x100164f8
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0xd50]
add esp, 0x10
lea edx, [esp + 0x1c]
lea eax, [esp + 0x93c]
push edx
push 0x20019
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebx
push ebx
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push ebx
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x20]
xor ebp, ebp
cmp eax, ebx
jbe 0x10009b97
mov cl, byte [0x100171bc]
xor eax, eax
mov byte [esp + 0x13c], cl
mov ecx, 0xff
lea edi, [esp + 0x13d]
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea edx, [esp + 0x3c]
push ebx
lea eax, [esp + 0x14c]
push edx
push eax
push ebp
push ecx
mov dword [esp + 0x50], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10009b32
mov edi, dword [esp + 0xd48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x12]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x38]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x100164ac]
push eax
mov word [esp + 0x1a], cx
call dword [sym.imp.MSVCRT.dll_strtok]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x10009b32
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x1001644c
push edi
call esi
add esp, 8
test eax, eax
push edi
je 0x10009b0c
lea ecx, [esp + 0x140]
lea edx, [esp + 0x140]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
call fcn.100088b0
test eax, eax
jne 0x10009b46
jmp 0x10009b1d
lea eax, [esp + 0x140]
push eax
call esi
add esp, 8
test eax, eax
jne 0x10009b6d
lea ecx, [esp + 0x12]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_strtok]
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x10009ad7
cmp dword [esp + 0x14], ebx
jne 0x10009b97
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jae 0x10009b97
jmp 0x10009a3f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 1
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0xd4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x10009b92
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 1
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xd4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jb 0x10009956
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0xd2c
ret 0x10
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0xd2c
ret 0x10