Function at 0x10041cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009cdbe
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ef034]
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, ecx
mov dword [ebp - 0x50], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x44], 0
mov ecx, dword [eax]
test ecx, ecx
jne 0x10041d38
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
jmp 0x1004200d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10041d42
mov eax, dword [edi]
lea edx, [ebp - 0x48]
push edx
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10041fe3
cmp dword [ebp - 0x48], eax
je 0x10041fe3
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x10041d78
cmp eax, 2
jne 0x10041fe3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
shr ecx, 1
cmp ecx, eax
ja 0x10041de6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x10041df3
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10039e20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x10041e06
mov edi, dword [edi]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov eax, dword [ebp - 0x50]
push 0
push 0
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10041f27
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.10039cc0
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x10041e7f
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
cmp edi, 8
cmovae eax, dword [ebp - 0x40]
cmp word [eax + edx*2 - 2], 0
jne 0x10041e7f
lea ecx, [edx - 1]
cmp ecx, edx
ja 0x10041e72
cmp edi, 8
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x10041e7f
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.10039e20
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x14], 0
mov word [ebp - 0x40], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10041f0e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10041f04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042033
push ecx
push edx
call fcn.100768a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x10042014
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x10041f93
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10041f89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042033
push ecx
push edx
call fcn.100768a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10041f0e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10041f04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042033
jmp 0x10041f04
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 1
mov eax, esi
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.1007685e
mov esp, ebp
pop ebp
ret 0xc
call fcn.1007bd92
int3