Function at 0x44d51c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74
mov eax, 0x4ed7b7
call fcn.004d2094
lea eax, [ebp - 0x80]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00426ff3
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.00426ff3
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
mov ebx, 0x50007c
push ebx
call fcn.004762c0
pop ecx
pop ecx
push esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push esi
push 1
lea eax, [ebp - 0x68]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.004247ea
push dword [ebp + 8]
call fcn.00479ac0
add esp, 0x14
push dword [ebp - 0x18]
call fcn.004cb944
mov esi, dword [ebp - 0x5c]
pop ecx
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x58]
jbe 0x44d5a8
call fcn.004cb761
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], esi
jbe 0x44d5be
call fcn.004cb761
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], esi
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x50], eax
call fcn.00424d76
test al, al
je 0x44d722
call fcn.004575f1
push eax
lea ecx, [ebp - 0x14]
call fcn.00424eef
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x28], eax
jne 0x44d62a
push str._Default_
lea ecx, [ebp - 0x14]
call fcn.0042538f
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x28], 0
jne 0x44d6de
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x44d69c
cmp eax, 2
je 0x44d69c
cmp eax, 7
je 0x44d69c
cmp eax, 4
jne 0x44d673
push dword [edi]
lea eax, [ebp - 0x2c]
push esi
push str.___s__0x_.8x
push eax
call fcn.00478210
mov byte [ebp - 4], 6
push dword [eax]
push ebx
call fcn.004762c0
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
jmp 0x44d701
push dword [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x30]
push str.___s__d_:__d_bytes
push eax
call fcn.00478210
add esp, 0x14
mov byte [ebp - 4], 7
push dword [eax]
push ebx
call fcn.004762c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
jmp 0x44d701
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push edi
call fcn.0045728d
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x38]
push edi
push esi
lea eax, [ebp - 0x3c]
push str.___s___s
push eax
call fcn.00478210
mov byte [ebp - 4], 5
push dword [eax]
push ebx
call fcn.004762c0
mov ecx, dword [ebp - 0x3c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [edi - 0x10]
jmp 0x44d704
push esi
lea eax, [ebp - 0x40]
push str.___s:_Error_reading_value_
push eax
call fcn.00478210
add esp, 0xc
mov byte [ebp - 4], 8
push dword [eax]
push ebx
call fcn.004762c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.0042201a
lea esi, [ebp - 0x48]
call fcn.00424d93
jmp 0x44d5b1
push dword [ebp - 0x24]
call fcn.004cb867
pop ecx
xor ebx, ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x80]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push ebx
call fcn.004247ea
push dword [ebp + 8]
call fcn.00479900
mov esi, dword [ebp - 0x74]
add esp, 0x18
cmp esi, dword [ebp - 0x70]
jbe 0x44d759
call fcn.004cb761
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x70]
cmp dword [ebp - 0x74], esi
jbe 0x44d76f
call fcn.004cb761
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], esi
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x50], eax
call fcn.00424d76
test al, al
je 0x44d818
mov dword [ebp - 0x14], ebx
call fcn.004575f1
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x14], ebx
je 0x44d80b
push ecx
mov dword [ebp - 0x40], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x4fe58c
call fcn.004247ea
mov byte [ebp - 4], 9
call fcn.004575f1
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.004247d5
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00424eef
mov byte [ebp - 4], 2
call fcn.00477ad0
add esp, 0xc
push dword [ebp - 0x14]
call fcn.0044d51c
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x34]
call fcn.00424d93
jmp 0x44d762
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.00424b58
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0
call fcn.00424b58
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d216c
ret