Function at 0x1004fdf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0b3d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], edx
mov eax, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], eax
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [edx], 0
mov dword [edx + 4], 0x100d8b08
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
xor esi, esi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
push 0x80
lfence
call fcn.1006dc33
push 0x80
push esi
push eax
lea edi, [eax + 0x80]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edi
call fcn.10083a60
add esp, 0x10
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
jmp 0x1004feb3
mov ecx, dword [ebp - 0x1c]
nop word [eax + eax]
mov esi, dword [ebp - 0x30]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
sub edi, ecx
push eax
push ecx
push esi
push dword [ebp + 8]
sar edi, 1
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1004ff3f
cmp eax, 0x103
je 0x10050046
cmp eax, 0xea
jne 0x10050016
mov edi, dword [ebp - 0x18]
mov edx, edi
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
sar edx, 1
lea esi, [edx + edx]
cmp esi, edx
jae 0x1004ff06
lea edi, [ecx + esi*2]
mov dword [ebp - 0x18], edi
jmp 0x1004feb0
jbe 0x1004feb0
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 1
cmp esi, eax
jbe 0x1004ff25
push ecx
push esi
lea ecx, [ebp - 0x1c]
lfence
call fcn.10023be0
mov edi, dword [ebp - 0x18]
jmp 0x1004fea7
sub esi, edx
add esi, esi
push esi
push 0
push edi
call fcn.10083a60
add esp, 0xc
add edi, esi
mov dword [ebp - 0x18], edi
jmp 0x1004fea7
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x50], 0
mov word [ebp - 0x50], ax
mov eax, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004ff62
sub eax, edi
lea ecx, [ebp - 0x50]
sar eax, 1
push eax
push edx
call fcn.10004420
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x1004ffb6
movups xmm0, xmmword [ebp - 0x50]
mov dword [eax], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x24], 0x18
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
jmp 0x1004ffc6
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1000dc10
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10050001
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004fff7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005009c
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov edi, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
inc esi
mov word [ebp - 0x50], ax
mov dword [ebp - 0x30], esi
jmp 0x1004feb3
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.1004f540
mov esi, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1005006f
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
lea ecx, [ebp - 0x1c]
call fcn.10022400
lea ecx, [ebp - 0x28]
call fcn.10003920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
call fcn.100869bf
int3