Function at 0x10047200
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8a0a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1025e344]
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 - 0x44], ecx
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x24]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [ebp + 0x1c]
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x60], esi
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x20]
mov eax, esp
push dword [ebp - 0x48]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
call fcn.100468d0
mov eax, dword [ebp - 0x20]
or ecx, 0xffffffff
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100475b2
mov esi, dword [ebp - 0x8c]
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mov dword [ebp - 0x64], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100d0345
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0x38], edi
call fcn.101a08b0
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x5c], eax
je 0x100475a6
nop
mov ecx, dword [ebp - 0x64]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x68]
push ecx
push edi
push eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10047596
mov dword [ebp - 0x34], eax
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x100475ee
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1004735f
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x10047377
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100475ee
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
or dword [ebp - 0x30], 1
mov eax, dword [ebp + 0x28]
push 1
push 0x101fe63c
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10004210
add esp, 0x14
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x4c]
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov dword [ebp - 0x3c], eax
test ecx, ecx
je 0x100473c7
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x100473df
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100475ee
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 7
or dword [ebp - 0x30], 2
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1004740f
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10047400
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push dword [edi - 0xc]
push edi
push eax
call fcn.10004210
mov eax, dword [ebp - 0x50]
lea edi, [esi - 0x10]
add esp, 0x14
lea edx, [eax - 0x10]
mov dword [ebp - 0x54], edx
cmp edx, edi
je 0x1004747f
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x1004746d
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x1004746d
push edx
call fcn.100041a0
add esp, 4
mov dword [ebp - 0x60], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x10047465
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
jmp 0x1004747c
push dword [eax - 0xc]
lea ecx, [ebp - 0x40]
push eax
call fcn.10006ab0
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x30]
and edi, 0xfffffffd
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100474a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and edi, 0xfffffffe
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100474c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xf003f
call fcn.1000f150
mov edi, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push dword [edi + 0x68]
push eax
push esi
call fcn.1000ef80
add esp, 0x14
cmp dword [ebp - 0x34], 0
je 0x1004756c
call fcn.1000ed10
push eax
push dword [edi + 0x68]
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x3c], esp
mov edi, esp
push eax
mov dword [ebp - 0x74], edi
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 4
call fcn.1000d700
add esp, 0x10
test eax, eax
je 0x1004756c
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x3c], esp
mov edi, esp
push eax
mov dword [ebp - 0x6c], edi
call fcn.100041a0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xe
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, esp
push dword [ebp - 0x34]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
call fcn.10047200
push dword [ebp - 0x34]
call fcn.1000ce40
add esp, 4
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10047593
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x5c]
jne 0x10047300
push edi
call fcn.100d06c7
add esp, 4
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100475d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100d02f2
mov esp, ebp
pop ebp
ret 0x24
push 0x80004005
call fcn.10004040
int3