Function at 0x84671a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x84f99c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x184002c0]
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 eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebx]
mov dword [ebp - 4], 0
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.08464060
add esp, 4
lea ecx, [ebp - 0x24]
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x20219
push eax
push dword [ebp - 0x14]
push dword [edi]
call fcn.084657b0
mov edi, eax
test edi, edi
je 0x846724f
mov esi, dword [ebp - 0x24]
jmp 0x84672d1
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x28]
push 0
push esi
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x84672b9
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.08422a40
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
jne 0x8467288
push str.invalid_vector_T__subscript
call fcn.0847ecf2
lea eax, [ebp - 0x18]
push eax
push ecx
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x84672b9
test esi, esi
je 0x8467354
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call eax
xor esi, esi
jmp 0x8467365
test esi, esi
je 0x84672ca
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
cmp byte [ebp + 0x1c], 0
jne 0x8467365
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
push 0x20219
push dword [ebp - 0x14]
push dword [eax]
call fcn.084657b0
mov esi, dword [ebp - 0x24]
mov edi, eax
test edi, edi
jne 0x8467365
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x28]
push edi
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x8467358
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.08422a40
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
jne 0x846732f
push str.invalid_vector_T__subscript
call fcn.0847ecf2
lea eax, [ebp - 0x14]
push eax
push ecx
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x8467358
lea ecx, [ebp - 0x24]
call fcn.0844a6e0
mov esi, dword [ebp - 0x24]
xor edi, edi
jmp 0x8467365
test esi, esi
je 0x8467370
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test esi, esi
je 0x8467370
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0849cd1e
mov esp, ebp
pop ebp
ret