Function at 0x10049d30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007e266
push eax
mov eax, 0x2818
mov dword fs:[0], esp
call fcn.10068c40
mov eax, dword [0x10098a04]
push ebx
push ebp
push esi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 8
push str.Software
lea ecx, [esp + 0x18]
mov dword [esp + 0x2834], 0
call fcn.100048d0
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x2838]
lea eax, [esp + 0xc]
push eax
lea ebx, [esp + 0x14]
mov byte [esp + 0x2830], 1
call fcn.100497e0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x2838]
add esp, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x10049e4d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x282c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049e0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x282c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2818]
mov dword fs:[0], ecx
add esp, 0x2824
ret
mov esi, dword [esp + 0xc]
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push esi
push eax
mov dword [esp + 0x34], 0x2800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x10049edb
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi - 0x10]
mov byte [esp + 0x2830], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10049eaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2830], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049ed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x10049f5f
cmp dword [esp + 0x20], 1
je 0x10049f03
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi - 0x10]
mov byte [esp + 0x2830], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x10049ea5
mov ecx, dword [esp + 0x2840]
lea eax, [esp + 0x28]
push eax
call fcn.10005d60
lea eax, [esi - 0x10]
mov byte [esp + 0x2830], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049f35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2830], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10049f5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x2828]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2824
ret