Function at 0x44fe5b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x254
mov eax, 0x4ac789
call fcn.004a95a1
xor ebx, ebx
mov edi, ebx
push 0x4b8970
lea ecx, [ebp - 0x220]
call fcn.00417475
lea eax, [ebp - 0x220]
mov dword [ebp - 4], ebx
push eax
push dword [edi + 0x402404]
mov ecx, 0x4b8ea0
call fcn.004577fb
cmp al, 1
jne 0x44fea9
push 0x2c
lea ecx, [ebp - 0x220]
call fcn.0042aaae
mov esi, dword [edi + 0x402400]
mov ecx, esi
call fcn.00417403
push eax
push esi
lea ecx, [ebp - 0x220]
call fcn.00416cb5
mov esi, dword [ebp - 0x220]
mov ecx, 0x4b8ea0
push esi
push dword [edi + 0x402404]
call fcn.00435ce5
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.004174b0
add edi, 8
cmp edi, 0x80
jb 0x44fe6e
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
push eax
push 0x20019
push ebx
push 0x408bc8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x450111
mov esi, dword [ebp - 0x224]
mov edi, ebx
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x234], ebx
lea eax, [ebp - 0x260]
mov dword [ebp - 0x244], 0x104
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x4500f4
push 0x2e
pop eax
cmp ax, word [ebp - 0x21c]
lea eax, [ebp - 0x21a]
je 0x44ff99
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x230], eax
push ecx
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x258]
push ecx
push eax
mov ecx, 0x4b8ea0
call fcn.00423d73
test eax, eax
jne 0x4500f4
xor ecx, ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
push 0x20019
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x4500d8
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x240], eax
test ebx, ebx
jne 0x4500d8
push 0x4b8970
lea ecx, [ebp - 0x22c]
call fcn.00417475
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push eax
mov edx, 0x408c30
lea ecx, [ebp - 0x240]
call fcn.00495d6d
mov edi, dword [ebp - 0x22c]
mov ebx, eax
test ebx, ebx
jne 0x4500ca
push 0x4b8970
lea ecx, [ebp - 0x220]
call fcn.00417475
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 4
push eax
push edi
mov ecx, 0x4b8ea0
call fcn.004577fb
cmp al, 1
jne 0x450090
push 0x2c
lea ecx, [ebp - 0x220]
call fcn.0042aaae
mov esi, dword [ebp - 0x230]
mov ecx, esi
call fcn.00417403
push eax
push esi
lea ecx, [ebp - 0x220]
call fcn.00416cb5
mov esi, dword [ebp - 0x220]
mov ecx, 0x4b8ea0
push esi
push edi
call fcn.00435ce5
lea ecx, [esi - 0x10]
call fcn.004174b0
mov esi, dword [ebp - 0x224]
lea ecx, [edi - 0x10]
call fcn.004174b0
mov edi, dword [ebp - 0x234]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4500f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x240], 0
inc edi
test ebx, ebx
push 0
mov dword [ebp - 0x234], edi
pop ebx
je 0x44ff4d
test esi, esi
je 0x450111
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
call fcn.004a9550
ret