Function at 0x10023780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x10023b9c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or ecx, 0xffffffff
test eax, eax
jne 0x10023b36
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10023836
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.1000c260
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x10023ba6
xor eax, eax
mov dword [esi - 0xc], 0x104
push eax
push eax
push eax
push eax
mov word [esi + 0x208], ax
lea eax, [ebp - 0x38]
push eax
push esi
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push dword [esi - 8]
mov dword [ebp - 0x30], eax
push esi
call fcn.10065f84
add esp, 8
test eax, eax
js 0x10023ba6
cmp eax, dword [esi - 8]
jg 0x10023ba6
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x10023b2a
nop dword [eax + eax]
cmp eax, 0xea
je 0x10023b2a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x20019
push 0
push esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10023a6e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x100238f3
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.1000c260
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x10023ba6
mov ecx, esi
mov dword [esi - 0xc], 0x104
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [esi + 0x208], ax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023923
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1001a290
mov eax, dword [edi + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 8], eax
je 0x1002396a
movups xmm0, xmmword [ebp - 0x28]
xor ecx, ecx
mov word [ebp - 0x28], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov eax, 7
add dword [edi + 4], 0x18
jmp 0x10023979
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.10020010
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x100239b4
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100239aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023bb0
push edx
push ecx
call fcn.10052cd6
add esp, 8
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10023a65
push 4
push str.none
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1001a290
mov eax, dword [edi + 4]
mov byte [ebp - 4], 3
cmp dword [edi + 8], eax
je 0x10023a1b
movups xmm0, xmmword [ebp - 0x28]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x10023a2a
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.10020010
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10023a65
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023a5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023bb0
push edx
push ecx
call fcn.10052cd6
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x3c]
lea edx, [esi - 0x10]
mov dword [ebp - 0x38], 0x208
cmp dword [edx + 4], 0
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
je 0x10023acb
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x10023aa7
cmp dword [esi - 8], 0
jl 0x10023ba6
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x10023acb
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10023abb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x10023aef
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.1000c260
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x10023ba6
xor eax, eax
mov dword [esi - 0xc], 0x104
push eax
push eax
push eax
push eax
mov word [esi + 0x208], ax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push esi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100238a0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ecx, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10023b4b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x10023b81
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023b77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023bb0
push edx
push ecx
call fcn.10052cd6
add esp, 8
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.10053047
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002fe0
push 0x80070057
call fcn.10002fe0
call fcn.10062c39
int3