Function at 0x44e9f4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xbc
mov eax, 0x49e446
call fcn.00459b85
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x7c], ebx
and dword [ebp - 0x78], ebx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ecc7
xor edi, edi
mov dword [ebp - 0x40], 0x4b6748
and dword [ebp - 0x88], edi
lea eax, [ebp - 0x71]
push edi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x18], 0x4b6750
call fcn.004060a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x71]
push 1
push eax
lea ecx, [ebp - 0x70]
call fcn.004060a0
mov byte [ebp - 4], 4
mov esi, 0x400
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 5
xor ecx, ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 0xa8], cl
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0x5c], esi
jae 0x44eac5
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00408100
xor ecx, ecx
or ebx, 2
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x9c], cl
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x2c], esi
jae 0x44eaf3
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.00408100
or ebx, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0xa8], 1
call fcn.00407930
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x9c], 1
mov esi, dword [eax]
call fcn.00407930
lea ecx, [ebp - 0x84]
push ecx
push esi
lea ecx, [ebp - 0x88]
push ecx
push 0
lea ecx, [ebp - 0x80]
push ecx
push dword [eax]
push edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
and ebx, 0xfffffffb
mov esi, eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.00405f90
and ebx, 0xfffffffd
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.00405f90
test esi, esi
jne 0x44eca9
mov ecx, dword [ebp - 0x80]
mov esi, 0x400
mov eax, dword [ebp - 0x84]
cmp ecx, esi
jae 0x44eb88
cmp eax, esi
jb 0x44ec25
inc ecx
inc eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00406a60
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0xbc]
push dword [ebp - 0x80]
lea ecx, [ebp - 0x40]
push eax
call fcn.00406a60
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x78]
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407930
mov ecx, dword [edi]
mov esi, dword [eax]
mov byte [edi + 4], 1
call fcn.00407930
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x84]
push ecx
push dword [eax]
lea eax, [ebp - 0x88]
push eax
push 0
lea eax, [ebp - 0x80]
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00405f90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00405f90
mov ebx, dword [ebp - 0x7c]
mov esi, 0x400
cmp dword [ebp - 0x88], 2
je 0x44ec37
cmp dword [ebp - 0x88], 1
jne 0x44ec4a
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x40]
push eax
call fcn.0042467d
test eax, eax
je 0x44ec56
inc edi
mov dword [ebp - 0x8c], edi
jmp 0x44ea90
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x70]
push 1
push eax
mov ecx, esi
call fcn.004077f0
or ebx, 1
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00404cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404cc0
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x78], ebx
je 0x44eca5
cmp dword [sym.imp.ADVAPI32.dll_RegCloseKey], ebx
je 0x44eca5
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x78], ebx
mov eax, esi
jmp 0x44ecff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00404cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404cc0
mov edi, dword [ebp - 0x90]
push 1
lea eax, [ebp - 0x71]
mov ecx, edi
push eax
push 0x4b65d4
call fcn.00406b40
or ebx, 1
mov dword [ebp - 0x7c], ebx
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x78], ebx
je 0x44ecfd
cmp dword [sym.imp.ADVAPI32.dll_RegCloseKey], ebx
je 0x44ecfd
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x78], ebx
mov eax, edi
call fcn.00459b34
ret 8