Function at 0x1006fb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d88a7
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x10111404]
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
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1006fdf9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push 0x100e03c4
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1006fb78
push 1
push 0x100e03c4
lea ecx, [ebp - 0x424]
call fcn.100045a0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x438], 1
call fcn.100a5d20
add esp, 0xc
mov dword [ebp - 0x434], 0x104
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x438]
push eax
push str.VipLevel
push str.SOFTWARELudashi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x1006fda2
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.100a5d20
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10089960
test eax, eax
js 0x1006fda2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006fc15
sub ecx, edx
sar ecx, 1
je 0x1006fda2
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10003d60
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x428]
call fcn.10003d60
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.100842c0
add esp, 0xc
mov edx, dword [eax]
mov esi, dword [ebp - 0x424]
mov byte [ebp - 4], 4
mov dword [ebp - 0x440], edx
lea edi, [edx - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x444], eax
cmp edi, eax
je 0x1006fd3d
cmp dword [eax + 0xc], 0
lea esi, [eax + 0xc]
jl 0x1006fd28
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x1006fd28
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x1006fcc5
cmp ecx, dword [edi]
jne 0x1006fcc5
lock inc dword [eax]
jmp 0x1006fd04
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp - 0x43c], edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x1006fe03
mov ecx, dword [ebp - 0x43c]
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [ecx]
inc eax
add eax, eax
push eax
push dword [ebp - 0x440]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10004920
add esp, 0x10
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1006fd1d
mov edx, dword [ebp - 0x444]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [edi + 0x10]
mov dword [ebp - 0x424], esi
jmp 0x1006fd3d
push dword [edx - 0xc]
lea ecx, [ebp - 0x424]
push edx
call fcn.100045a0
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x430]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006fd5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006fd7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006fda8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1006fda8
mov esi, dword [ebp - 0x424]
push esi
call fcn.100ae2e9
mov edi, eax
add esp, 4
cmp edi, 1
jg 0x1006fdbd
cmp edi, 0xffffffff
jge 0x1006fdbf
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1006fddb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.1007f3c1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003fe0
call fcn.100046d0
int3