Function at 0x1005ffd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021669d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x102c6100]
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 + 0x10]
mov ecx, eax
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x38], eax
jbe 0x1006001b
mov ecx, dword [eax]
xor eax, eax
mov word [ecx], ax
test edx, edx
jne 0x1006002b
xor al, al
jmp 0x1006020c
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25]
push eax
push 0x200
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
call fcn.10060660
mov esi, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [ebp - 0x1c]
sub eax, edi
cmp dword [ebx + 0x14], 7
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], 0
jbe 0x10060079
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
push edi
lea ecx, [ebp - 0x24]
push ecx
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100600a3
test ecx, ecx
jne 0x100600a3
mov bl, 1
jmp 0x100601c1
cmp ecx, 1
je 0x100600bb
cmp ecx, 2
je 0x100600bb
test ecx, ecx
je 0x100600bb
mov eax, 0x490
jmp 0x100601bc
cmp eax, 0xea
jne 0x10060150
mov ecx, dword [ebp - 0x20]
cmp ecx, 1
jbe 0x100601bc
mov eax, esi
mov edx, edi
cmp edi, eax
cmove edx, eax
cmovne esi, edi
mov dword [ebp - 0x2c], edx
add ecx, 8
sub edx, edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x25], 0
cmp ecx, edx
jae 0x100600f6
lea esi, [edi + ecx]
jmp 0x1006012d
jbe 0x10060130
mov eax, dword [ebp - 0x14]
sub eax, edi
cmp ecx, eax
jbe 0x10060116
lea eax, [ebp - 0x25]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10060660
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x10060130
mov esi, dword [ebp - 0x2c]
sub ecx, edx
push ecx
push 0
push esi
mov dword [ebp - 0x34], ecx
call fcn.1012de20
add esp, 0xc
add esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
cmp dword [ebx + 0x14], 7
jbe 0x10060138
mov ebx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push 0
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100601be
mov byte [ebp - 0x25], al
cmp esi, dword [ebp - 0x14]
je 0x10060164
mov byte [esi], al
inc esi
mov dword [ebp - 0x18], esi
jmp 0x10060177
lea eax, [ebp - 0x25]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.100607f0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x25], 0
cmp esi, dword [ebp - 0x14]
je 0x10060189
mov byte [esi], 0
inc esi
mov dword [ebp - 0x18], esi
jmp 0x10060199
lea eax, [ebp - 0x25]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.100607f0
mov edi, dword [ebp - 0x1c]
mov edx, edi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100601a0
sub edx, ecx
mov ecx, dword [ebp - 0x38]
sar edx, 1
push edx
push edi
call fcn.10058070
mov eax, dword [ebp - 0x2c]
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006020a
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x100601eb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006022a
push ecx
push edi
call fcn.1010693f
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, bl
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.101064d2
mov esp, ebp
pop ebp
ret 0xc
call fcn.1013823f
int3