Function at 0x10003980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100215db
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x100320ac]
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 + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov ecx, edx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x83c], eax
xor eax, eax
mov word [ebp - 0x828], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x830], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003a00
sub ecx, dword [ebp - 0x830]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.10001ad0
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push SysStringLen
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
call esi
test eax, eax
jne 0x10003a9a
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x10003ae1
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x828]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x828], ax
movq xmm0, qword [ebp - 0x818]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
jmp 0x10003c0d
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push dword [ebp - 0x840]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x10003b19
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x10003a9a
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push dword [ebp - 0x844]
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x10003b6a
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.10002710
jmp 0x10003c0d
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.1000c490
add esp, 0xc
mov dword [ebp - 0x848], 0x400
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x82c]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003be0
sub ecx, edx
sar ecx, 1
mov ecx, edi
jne 0x10003c01
lea eax, [ebp - 0x828]
push eax
call fcn.10002710
jmp 0x10003c0d
lea eax, [ebp - 0x810]
push eax
call fcn.10001630
lea ecx, [ebp - 0x828]
call fcn.10001680
mov eax, edi
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.10009cb3
mov esp, ebp
pop ebp
ret 0x18