Function at 0x10009a30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072c6a
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x1009e034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30c], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x14], edi
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.1005cdf0
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
nop
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10009e59
cmp dword [ebp - 0x44], 0
jl 0x10009e4e
mov eax, dword [ebp - 0x300]
cmp dword [eax + 0x1c], 0
je 0x10009c40
lea ecx, [ebp - 0xe8]
call fcn.100046c0
lea eax, [ebp - 0x324]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1005c5d0
mov esi, eax
lea eax, [ebp - 0xe8]
cmp eax, esi
je 0x10009b78
cmp dword [ebp - 0xd4], 8
jb 0x10009b06
push dword [ebp - 0xe8]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
cmp dword [esi + 0x14], 8
jae 0x10009b45
mov eax, dword [esi + 0x10]
inc eax
je 0x10009b53
add eax, eax
push eax
lea eax, [ebp - 0xe8]
push esi
push eax
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x10009b53
mov eax, dword [esi]
mov dword [ebp - 0xe8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xd8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xd4], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x310], 8
jb 0x10009b8c
push dword [ebp - 0x324]
call ebx
add esp, 4
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
cmp word [edx], 0
jne 0x10009ba1
xor eax, eax
jmp 0x10009bb5
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009ba6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0]
call fcn.10003de0
mov edx, dword [ebp - 0x28]
xor eax, eax
cmp edx, dword [ebp - 0x24]
cmove edx, eax
cmp word [edx], ax
jne 0x10009bd6
xor ecx, ecx
jmp 0x10009bef
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x10009be0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009be0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.10003de0
mov eax, dword [ebp - 0x300]
lea edx, [ebp - 0xe8]
mov ecx, dword [eax + 0x1c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
test al, al
jne 0x10009c3b
call fcn.10005920
dec dword [ebp - 0x44]
lea ecx, [ebp - 0x48]
call fcn.1005cfb0
mov esi, dword [ebp - 0x308]
jmp 0x10009aa0
call fcn.10005920
push 0x54
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x328], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10009d57
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x310], 7
mov dword [ebp - 0x314], 0
mov word [ebp - 0x324], ax
cmp word [edx], ax
jne 0x10009c90
xor ecx, ecx
jmp 0x10009caa
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009c95
sub ecx, edi
mov edi, dword [ebp - 0x2fc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x324]
call fcn.10003de0
mov byte [ebp - 4], 3
or edi, 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2fc], edi
mov edi, dword [ebp - 0x308]
lea ecx, [esi + 4]
mov eax, dword [edi]
mov dword [esi], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x4c], esi
call fcn.10001f80
mov dword [ebp - 4], 4
mov al, byte [edi + 0x1c]
mov byte [esi + 0x1c], al
lea ecx, [esi + 0x20]
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [edi + 0x20]
push eax
call fcn.10001f80
lea ecx, [esi + 0x38]
mov dword [ebp - 4], 5
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x324]
push eax
call fcn.10001f80
mov byte [esi + 0x50], 1
jmp 0x10009d59
xor esi, esi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2fc]
test al, 1
je 0x10009d87
and eax, 0xfffffffe
cmp dword [ebp - 0x310], 8
mov dword [ebp - 0x2fc], eax
jb 0x10009d87
push dword [ebp - 0x324]
call ebx
add esp, 4
mov eax, dword [ebp - 0x30c]
push 0x18
mov ebx, dword [eax + 0x8c]
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10009dc9
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
sar eax, 2
inc eax
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi], vtable.iGarbage::GarbageRegItem.0
mov dword [edi + 0x10], esi
jmp 0x10009dcb
xor edi, edi
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x304], edi
cmp ecx, eax
jae 0x10009e11
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x304]
cmp ecx, edx
ja 0x10009e11
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [ebx + 0x14]
jne 0x10009e00
push ecx
lea ecx, [ebx + 0xc]
call fcn.10008fc0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10009e28
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x10009e28
cmp eax, dword [ebx + 0x14]
jne 0x10009e1f
push ecx
lea ecx, [ebx + 0xc]
call fcn.10008fc0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10009e28
mov dword [eax], edi
add dword [ebx + 0x10], 4
mov edi, dword [ebp - 0x2fc]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
dec dword [ebp - 0x44]
lea ecx, [ebp - 0x48]
call fcn.1005cfb0
mov esi, dword [ebp - 0x308]
jmp 0x10009aa0
test eax, eax
je 0x10009e59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10009e7b
push eax
call ebx
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x2c], 8
jb 0x10009e89
push dword [ebp - 0x40]
call ebx
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2f8], eax
call fcn.1005cd10
mov edi, dword [ebp - 0x308]
mov dword [ebp - 4], 7
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2f8]
mov edi, edi
test ecx, ecx
je 0x10009fba
test eax, eax
js 0x10009faf
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
mov dword [ebp - 0x88], 0
call fcn.1005c530
mov ecx, dword [ebp - 0x30c]
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x300]
mov byte [ebp - 4], 8
call fcn.10009a30
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], 8
jb 0x10009f2d
push dword [ebp - 0x68]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
jb 0x10009f52
push dword [ebp - 0x84]
call ebx
add esp, 4
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2f8]
dec eax
mov dword [ebp - 0x2f4], eax
test ecx, ecx
je 0x10009fa1
test eax, eax
js 0x10009fa1
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x2f0]
push edx
push eax
push ecx
mov dword [ebp - 0x14], 0x103
call esi
mov ecx, dword [ebp - 0x2f8]
test eax, eax
mov eax, dword [ebp - 0x2f4]
je 0x10009ed0
xor edx, edx
mov word [ebp - 0x2f0], dx
jmp 0x10009ed0
test ecx, ecx
je 0x10009fba
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 8