Function at 0x1006dc00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c98e
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x101c0618]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x334], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 0x1c]
push 0xca
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0xdc]
push esi
push eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x314], esi
call fcn.100ec480
xor ebx, ebx
mov dword [ebp - 0x31c], esi
add esp, 0xc
mov dword [ebp - 0x328], ebx
cmp dword [ebp + 0xc], ebx
jle 0x1006e43b
mov edi, dword [ebp - 0x2fc]
nop
xor eax, eax
mov dword [ebp - 0x330], 0x64
push 0x20a
push eax
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0x2e8]
push eax
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x32c], 0x208
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0xdc]
push eax
push ebx
push dword [ebp - 0x334]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1006ddfe
cmp dword [ebp - 0x31c], 1
jne 0x1006ddfe
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2e8]
test eax, 0xffff0000
jne 0x1006dd5b
movzx eax, ax
lea ecx, [ebp - 0x2fc]
push eax
call fcn.1000d1d0
jmp 0x1006dd86
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006dd64
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.1000adf0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x2f0]
or edx, 1
mov dword [ebp - 0x2f0], edx
mov edi, dword [ebp - 0x2fc]
mov ecx, dword [edi - 0xc]
cmp ecx, 0x13
jne 0x1006de04
cmp ecx, 4
jl 0x1006e45e
cmp word [edi + 8], 0x2d
jne 0x1006de04
cmp ecx, 7
jl 0x1006e45e
cmp word [edi + 0xe], 0x2d
jne 0x1006de04
cmp ecx, 0xa
jl 0x1006e45e
cmp word [edi + 0x14], 0x20
jne 0x1006de04
cmp ecx, 0xd
jl 0x1006e45e
cmp word [edi + 0x1a], 0x3a
jne 0x1006de04
cmp ecx, 0x10
jl 0x1006e45e
cmp word [edi + 0x20], 0x3a
jne 0x1006de04
mov bl, 1
jmp 0x1006de06
mov edx, dword [ebp - 0x2f0]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test dl, 1
je 0x1006de3a
and edx, 0xfffffffe
mov dword [ebp - 0x2f0], edx
mov dword [ebp - 4], 0xffffffff
lea edx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006de3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x1006e41f
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x304], eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2e8]
shr eax, 0x10
mov dword [ebp - 0x320], eax
test eax, eax
jne 0x1006de90
lea eax, [ebp - 0x2e8]
movzx eax, ax
lea ecx, [ebp - 0x304]
push eax
call fcn.1000d1d0
jmp 0x1006dec2
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006dea0
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x304]
call fcn.1000adf0
mov dword [ebp - 4], 4
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 5
lea ebx, [ebp - 0xdc]
shr ebx, 0x10
test ebx, ebx
jne 0x1006df0e
lea eax, [ebp - 0xdc]
movzx eax, ax
lea ecx, [ebp - 0x300]
push eax
call fcn.1000d1d0
jmp 0x1006df39
lea ecx, [ebp - 0xdc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006df17
sub ecx, edx
lea eax, [ebp - 0xdc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x300]
call fcn.1000adf0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1006e459
mov eax, dword [ecx]
lea edx, [ebp - 0x304]
push edx
lea edx, [ebp - 0x300]
push edx
call dword [eax + 8]
mov esi, eax
mov byte [ebp - 4], 4
or ecx, 0xffffffff
mov edx, dword [ebp - 0x300]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1006df85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x304]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006dfaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1006e41f
inc dword [ebp - 0x314]
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x1006e2c6
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 4], 9
test ebx, ebx
jne 0x1006e005
lea eax, [ebp - 0xdc]
movzx eax, ax
lea ecx, [ebp - 0x2f4]
push eax
call fcn.1000d1d0
jmp 0x1006e032
lea ecx, [ebp - 0xdc]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e010
sub ecx, edx
lea eax, [ebp - 0xdc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.1000adf0
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x2f4]
push eax
mov ecx, esi
call fcn.1005e3e0
mov esi, eax
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax]
cmp esi, ecx
je 0x1006e073
lea ecx, [esi + 0x10]
push ecx
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, eax
call fcn.1000ef50
test al, al
je 0x1006e075
mov ecx, dword [ebp - 0x2f8]
mov ecx, dword [ecx]
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2f4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006e09a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2f8]
cmp esi, dword [eax]
je 0x1006e197
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x308], eax
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x320], 0
jne 0x1006e0ec
lea eax, [ebp - 0x2e8]
movzx eax, ax
lea ecx, [ebp - 0x308]
push eax
call fcn.1000d1d0
jmp 0x1006e117
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e0f5
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x308]
call fcn.1000adf0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x308]
lea eax, [esi + 0x14]
push ecx
push eax
mov dword [ebp - 0x318], eax
call fcn.10060300
add esp, 8
mov bl, al
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x308]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1006e15e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x1006e2c6
lea edx, [ebp - 0x2e8]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006e170
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0x2e8]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.1000adf0
jmp 0x1006e2c6
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 4], 0xf
test ebx, ebx
jne 0x1006e1d6
lea eax, [ebp - 0xdc]
movzx eax, ax
lea ecx, [ebp - 0x2ec]
push eax
call fcn.1000d1d0
jmp 0x1006e202
lea ecx, [ebp - 0xdc]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e1e0
sub ecx, edx
lea eax, [ebp - 0xdc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2ec]
call fcn.1000adf0
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x2ec]
mov ebx, dword [ebp - 0x2f8]
mov ecx, ebx
push eax
call fcn.1005e3e0
mov esi, eax
cmp esi, dword [ebx]
je 0x1006e239
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.1000ef50
test al, al
je 0x1006e279
lea eax, [ebp - 0x2ec]
mov ecx, ebx
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x30d]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x1017de12
call fcn.1005e350
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x33c]
push eax
call fcn.1000d7c0
mov esi, dword [ebp - 0x33c]
lea edx, [ebp - 0x2e8]
lea ecx, [esi + 0x14]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006e285
sub edx, esi
lea eax, [ebp - 0x2e8]
sar edx, 1
push edx
push eax
call fcn.1000adf0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2ec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006e2c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x324], 0
je 0x1006e41f
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1006e468
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 0x12
cmp dword [ebp - 0x320], 0
jne 0x1006e317
lea eax, [ebp - 0x2e8]
movzx eax, ax
lea ecx, [ebp - 0x30c]
push eax
call fcn.1000d1d0
jmp 0x1006e342
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e320
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.1000adf0
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x30c]
push eax
call fcn.1003f250
add esp, 4
mov esi, eax
mov ebx, edx
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x30c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1006e381
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or esi, ebx
je 0x1006e41f
mov esi, dword [ebp - 0x324]
lea ecx, [ebp - 0x2e8]
mov eax, dword [esi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006e3bd
test dx, dx
je 0x1006e3b9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006e3bd
add eax, 4
add ecx, 4
test dx, dx
jne 0x1006e397
xor eax, eax
jmp 0x1006e3c2
sbb eax, eax
or eax, 1
test eax, eax
jns 0x1006e3ee
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e3d0
sub ecx, edx
lea eax, [ebp - 0x2e8]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000adf0
mov ebx, dword [ebp - 0x340]
test ebx, ebx
je 0x1006e41f
lea ecx, [ebp - 0xdc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006e401
sub ecx, edx
lea eax, [ebp - 0xdc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.1000adf0
mov ebx, dword [ebp - 0x328]
inc ebx
mov dword [ebp - 0x328], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x1006dca0
mov esi, dword [ebp - 0x314]
mov eax, esi
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.100b4568
mov esp, ebp
pop ebp
ret
call fcn.1009400a
push 0x80070057
call fcn.10007270
push 0x80004005
call fcn.10007270
int3