Function at 0x1001f5e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b63e
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1017d4e4]
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 esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x1001f944
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push ebx
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.10003fc0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.1001f970
mov edx, dword [ebp - 0x224]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f69c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jne 0x1001f6bd
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10007a80
mov esi, dword [ebp - 0x21c]
push 0x1013f9f0
push esi
call fcn.100ecef3
add esp, 8
test eax, eax
jne 0x1001f720
add esi, 0xfffffff0
push esi
call fcn.10004430
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f6f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f924
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1001f924
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100ce270
add esp, 0xc
mov dword [ebp - 0x230], 1
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x228]
push str.SOFTWARELdsSecurity
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x1001f8dc
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f790
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.100056e0
mov esi, dword [ebp - 0x21c]
xor edi, edi
mov ebx, esi
movzx eax, word [esi]
test ax, ax
je 0x1001f835
mov ecx, eax
push ecx
call fcn.100ee318
add esp, 4
test eax, eax
je 0x1001f7de
test edi, edi
mov eax, ebx
cmovne eax, edi
mov edi, eax
jmp 0x1001f7e0
xor edi, edi
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x1001f7c6
test edi, edi
je 0x1001f835
sub edi, esi
sar edi, 1
js 0x1001f94e
mov eax, dword [esi - 8]
mov ebx, 1
mov ecx, ebx
sub eax, edi
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x1001f821
push edi
lea ecx, [ebp - 0x21c]
call fcn.100052b0
mov esi, dword [ebp - 0x21c]
cmp edi, dword [esi - 8]
jg 0x1001f94e
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x1001f83a
mov ebx, 1
movzx eax, word [esi]
mov edi, esi
push eax
call fcn.100ee318
add esp, 4
test eax, eax
je 0x1001f8d3
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.100ee318
add esp, 4
test eax, eax
jne 0x1001f850
cmp edi, esi
je 0x1001f8d3
mov ecx, dword [esi - 0xc]
sub edi, esi
sar edi, 1
test ecx, ecx
js 0x1001f958
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, ecx
or eax, ebx
jge 0x1001f895
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100052b0
mov esi, dword [ebp - 0x21c]
mov ecx, dword [esi - 0xc]
lea edx, [esi + edi*2]
mov ebx, ecx
sub ebx, edi
lea eax, [ebx*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push esi
call fcn.1001dce0
add esp, 0x10
test ebx, ebx
js 0x1001f94e
cmp ebx, dword [esi - 8]
jg 0x1001f94e
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov edi, dword [ebp - 0x220]
or ebx, 0xffffffff
add esi, 0xfffffff0
push esi
call fcn.10004430
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f905
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001f924
mov ecx, dword [edx]
push edx
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.100845e8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.100042d0
push 0x80070057
call fcn.100042d0
push 0x80070057
call fcn.100042d0
int3