Function at 0x1006da99
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1006dcaf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x3404
mov dword [ebp - 0x30], 0x100102a0
cmp dword [ebp - 0x20], 0x3648
jle 0x1006db6a
and dword [ebp - 0x18], 0
jmp 0x1006dadc
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5bef
jge 0x1006db5c
and dword [ebp - 0x1c], 0
jmp 0x1006daf2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6938
jge 0x1006db57
and dword [ebp - 0xc], 0
jmp 0x1006db08
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1d96
jge 0x1006db55
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
or eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x9c]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.1002640c
jmp 0x1006db01
jmp 0x1006daeb
jmp 0x1006dad5
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x20], 0x32b5
jge 0x1006db82
push dword [ebp - 0x30]
call fcn.10079103
pop ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 0x28df
mov dword [ebp - 0x2c], 0x10010308
cmp dword [ebp - 0x24], 0x2c81
jle 0x1006dc12
and dword [ebp - 0x10], 0
jmp 0x1006dbb2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x75b
jge 0x1006dc12
and dword [ebp - 0x14], 0
jmp 0x1006dbc8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x46ff
jge 0x1006dc10
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0xb4]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.1002640c
jmp 0x1006dbc1
jmp 0x1006dbab
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1006dc50
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1006dc4e
push 0x3609
push 1
push 0xcd9
push 1
call fcn.1006b299
add esp, 0x10
jmp 0x1006dc9b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1006dc7e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x1006dc9b
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.100267ee
mov dword [eax], 0x7571177e
jmp 0x1006dc73
cmp dword [ebp - 0x24], 0x280d
jge 0x1006dcad
push dword [ebp - 0x2c]
call fcn.10079103
pop ecx
jmp 0x1006dd1f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1006dcf7
mov byte [ebp - 1], 0
push 0
push 0xf71
push 0x2379
lea eax, [ebp - 1]
push eax
push 0x6fb4
push 1
push 0x55a2
push 1
call fcn.100555c4
add esp, 0x20
jmp 0x1006dd1f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret