Function at 0x100a24d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192384
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101ed40c]
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.1014de30
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x100a25a0
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 0x100a25c0
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.10043000
mov ecx, eax
test ecx, ecx
je 0x100a28a4
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 0x100a286a
mov dword [ebp - 0x238], ebx
test esi, esi
je 0x100a284c
call fcn.10043000
test eax, eax
je 0x100a28a4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push esi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.10042d30
test al, al
jne 0x100a266c
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a2650
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push esi
call fcn.10043c10
mov eax, dword [edi]
mov byte [ebp - 4], 4
mov dword [ebp - 0x230], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100a268c
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100a26a0
call fcn.10043000
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100a28a4
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 0x101a3df8
mov dword [ebp - 0x228], ebx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1004e890
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 0x100a2702
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100a2716
call fcn.10043000
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x100a28a4
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.1004e890
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 0x100a27d6
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x238], ecx
jl 0x100a27c7
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x100a27c7
push edi
call fcn.10042e70
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 0x100a27ba
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 0x100a27d6
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.10043c10
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 0x100a27f8
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 0x100a2820
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 0x100a2851
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100a284e
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 0x100a2601
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 0x100a2886
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.10126919
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10042d10
int3