Function at 0x44e2f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a76a8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x202c
call fcn.0048ed30
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x2040]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebx
mov eax, dword [edi]
cmp eax, ebx
jne 0x44e351
xor eax, eax
jmp 0x44e5be
mov ecx, dword [edi + 8]
lea esi, [edi + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
cmp dword [ecx - 0xc], ebx
jne 0x44e435
mov ecx, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi + 0xc]
or edx, 8
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x38], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e5ba
mov edx, dword [esp + 0x14]
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44e5a7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.0046c8c0
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x20]
mov dword [esp + 0x2048], 0
call fcn.0045f0c0
mov dword [esp + 0x2048], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
inc esi
push esi
push eax
mov dword [esp + 0x44], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44e3b4
jmp 0x44e5a7
mov edx, dword [edi + 4]
mov ecx, dword [edx - 0xc]
lea eax, [edi + 4]
cmp ecx, ebx
je 0x44e479
push eax
lea eax, [esp + 0x34]
push eax
mov ebx, 0x4b42e8
call fcn.00461a70
mov ecx, 1
mov dword [esp + 0x2050], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x2c]
push esi
push ecx
mov ebx, eax
call fcn.0044e5f0
add esp, 0x10
mov ebx, 3
jmp 0x44e47b
mov eax, esi
mov ecx, dword [edi + 0xc]
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi]
or ecx, 1
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete byte [esp + 0x1b]
test bl, 2
je 0x44e4c8
mov eax, dword [esp + 0x24]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e4c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2048], 0xffffffff
test bl, 1
je 0x44e4f8
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e4f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x44e5ba
mov eax, dword [esp + 0x14]
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x48]
push edx
push esi
push eax
mov dword [esp + 0x3c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44e5a7
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x38]
call fcn.0046c8c0
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x28]
mov dword [esp + 0x2048], 2
call fcn.0045f0c0
mov dword [esp + 0x2048], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e57c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x48]
push edx
inc esi
push esi
push eax
mov dword [esp + 0x3c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x44e52b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.0048b133
mov esp, ebp
pop ebp
ret