Function at 0x445cc7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74
mov eax, 0x4dd12f
call fcn.004c1f48
lea eax, [ebp - 0x80]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00443229
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.00443229
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
mov ebx, 0x4eea54
push ebx
call fcn.0046b940
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.004247f7
push dword [ebp + 8]
call fcn.0046f010
add esp, 0x14
push dword [ebp - 0x18]
call fcn.004bc352
mov esi, dword [ebp - 0x5c]
pop ecx
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x58]
jbe 0x445d53
call fcn.004bbc61
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 0x445d69
call fcn.004bbc61
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.00424d59
test al, al
je 0x445ecd
call fcn.0044ea8a
push eax
lea ecx, [ebp - 0x14]
call fcn.00424ec9
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 0x445dd5
push str._Default_
lea ecx, [ebp - 0x14]
call fcn.004253c0
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x28], 0
jne 0x445e89
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x445e47
cmp eax, 2
je 0x445e47
cmp eax, 7
je 0x445e47
cmp eax, 4
jne 0x445e1e
push dword [edi]
lea eax, [ebp - 0x2c]
push esi
push str.___s__0x_.8x
push eax
call fcn.0046d760
mov byte [ebp - 4], 6
push dword [eax]
push ebx
call fcn.0046b940
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
jmp 0x445eac
push dword [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x30]
push str.___s__d_:__d_bytes
push eax
call fcn.0046d760
add esp, 0x14
mov byte [ebp - 4], 7
push dword [eax]
push ebx
call fcn.0046b940
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
jmp 0x445eac
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push edi
call fcn.0044e88c
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.0046d760
mov byte [ebp - 4], 5
push dword [eax]
push ebx
call fcn.0046b940
mov ecx, dword [ebp - 0x3c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.0042201a
lea ecx, [edi - 0x10]
jmp 0x445eaf
push esi
lea eax, [ebp - 0x40]
push str.___s:_Error_reading_value_
push eax
call fcn.0046d760
add esp, 0xc
mov byte [ebp - 4], 8
push dword [eax]
push ebx
call fcn.0046b940
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.00424d76
jmp 0x445d5c
push dword [ebp - 0x24]
call fcn.004bc235
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.004247f7
push dword [ebp + 8]
call fcn.0046ee50
mov esi, dword [ebp - 0x74]
add esp, 0x18
cmp esi, dword [ebp - 0x70]
jbe 0x445f04
call fcn.004bbc61
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 0x445f1a
call fcn.004bbc61
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.00424d59
test al, al
je 0x445fc3
mov dword [ebp - 0x14], ebx
call fcn.0044ea8a
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 0x445fb6
push ecx
mov dword [ebp - 0x40], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x4ecfa0
call fcn.004247f7
mov byte [ebp - 4], 9
call fcn.0044ea8a
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.004247e2
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00424ec9
mov byte [ebp - 4], 2
call fcn.0046d020
add esp, 0xc
push dword [ebp - 0x14]
call fcn.00445cc7
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x34]
call fcn.00424d76
jmp 0x445f0d
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.00424b65
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0
call fcn.00424b65
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004c2020
ret