Function at 0x100a0750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189854
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101dd594]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x104
call fcn.10150460
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x100a0820
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push eax
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100a0840
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea esi, [ebp - 0x218]
mov dword [edi], 0
mov dword [ebp - 0x23c], esi
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x100a0b24
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov ebx, 1
or ecx, 0xffffffff
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x228], ebx
je 0x100a0aea
mov dword [ebp - 0x238], ebx
test esi, esi
je 0x100a0acc
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x100a0b24
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push esi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.1001d330
test al, al
jne 0x100a08ec
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a08d0
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push esi
call fcn.10020080
mov eax, dword [edi]
mov byte [ebp - 4], 4
mov dword [ebp - 0x230], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100a090c
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100a0920
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100a0b24
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
or ebx, 2
mov dword [ebp - 0x230], eax
mov eax, dword [edi]
push 2
push 0x1019c87c
mov dword [ebp - 0x228], ebx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1001d4c0
add esp, 0x14
mov edi, dword [ebp - 0x230]
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x248], eax
test ecx, ecx
je 0x100a0982
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100a0996
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100a0b24
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, dword [ebp - 0x234]
add eax, 0x10
mov ebx, dword [ebp - 0x238]
mov dword [ebp - 0x224], eax
or ebx, 6
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], ebx
push dword [esi - 0xc]
push esi
push dword [edi - 0xc]
push edi
push eax
call fcn.1001d4c0
mov edx, dword [ebp - 0x22c]
add esp, 0x14
mov eax, dword [ebp - 0x224]
mov edx, dword [edx]
sub edx, 0x10
lea edi, [eax - 0x10]
mov dword [ebp - 0x240], edx
cmp edi, edx
je 0x100a0a56
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x238], ecx
jl 0x100a0a47
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x100a0a47
push edi
call fcn.1001d450
mov edx, dword [ebp - 0x238]
add esp, 4
mov dword [ebp - 0x244], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100a0a3a
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x22c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x100a0a56
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.10020080
and ebx, 0xfffffffb
mov byte [ebp - 4], 4
mov dword [ebp - 0x228], ebx
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100a0a78
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x248]
and ebx, 0xfffffffd
mov dword [ebp - 0x228], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a0aa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
add esi, 0xfffffff0
mov ecx, dword [ebp - 0x23c]
mov byte [ebp - 4], 1
lea edi, [ecx + eax*2]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a0ad1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100a0ace
xor edi, edi
or ecx, 0xffffffff
cmp word [edi + 2], 0
lea esi, [edi + 2]
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], esi
jmp 0x100a0881
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100a0b06
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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.10128191
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10017a40
int3