Function at 0x1002db01
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002dc91
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1002db62
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1002dc8c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
push 0x14
push 0
push 0x3232
push 0x2d6c
call fcn.1004bf50
pop ecx
pop ecx
call eax
push eax
push 0x3232
push 0x3bbe
call fcn.1004bf50
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 0x3754
lea eax, [ebp - 0x10]
push eax
push 0x7942
push 0x63d3
push 1
lea eax, [ebp - 8]
push eax
push 1
call fcn.10028693
add esp, 0x1c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and dword [eax + 8], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and dword [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x3232
push 0x3495
call fcn.1004bf50
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x54]
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x3232
push 0x3495
call fcn.1004bf50
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.1004c337
add esp, 0xc
push 0x2849
push 0
push 0x708c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10032446
add esp, 0x18
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0x34], ecx
jmp 0x1002de41
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1002de11
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jl 0x1002dd01
mov dword [ebp - 0x40], 1
jmp 0x1002dd05
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 8
jne 0x1002dd14
mov dword [ebp - 0x3c], 1
jmp 0x1002dd18
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jle 0x1002dd2b
mov dword [ebp - 0x2c], 1
jmp 0x1002dd2f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x2c]
cmp dword [eax], ecx
jl 0x1002dd47
mov dword [ebp - 0x4c], 1
jmp 0x1002dd4b
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xf8716b5b
jb 0x1002dd5d
mov dword [ebp - 0x34], 1
jmp 0x1002dd61
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jle 0x1002dd79
mov dword [ebp - 0x44], 1
jmp 0x1002dd7d
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x1002dd90
mov dword [ebp - 0x24], 1
jmp 0x1002dd94
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 3
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx]
jle 0x1002dda8
mov dword [ebp - 0x30], 1
jmp 0x1002ddac
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jl 0x1002ddc4
mov dword [ebp - 0x38], 1
jmp 0x1002ddc8
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jg 0x1002ddda
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1002dde5
or eax, 0xffffffff
jne 0x1002dde5
and dword [ebp - 0x20], 0
jmp 0x1002ddec
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 4]
imul ecx, dword [ebp - 0x20], 0x7f4a
cmp dword [eax], ecx
jne 0x1002de03
mov dword [ebp - 0x48], 1
jmp 0x1002de07
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1002de41
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
push 0
mov ecx, dword [ebp - 0x90]
call fcn.100163a4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret