Function at 0x44a520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a728
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
jmp 0x44a56a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
jne 0x44a71e
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00449260
test eax, eax
je 0x44a71e
push 0x45c36c
mov eax, dword [ebp - 0x18]
push eax
call fcn.00401840
add esp, 8
test eax, eax
je 0x44a701
lea ecx, [ebp - 0x24]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a701
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004493d0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x44a6f0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.0044a240
test eax, eax
je 0x44a6f0
mov edx, dword [ebp - 0x28]
push edx
call fcn.004018e0
cmp eax, dword [ebp - 0x2c]
jne 0x44a6f0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0x45c370
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x30], 0
jbe 0x44a6f0
mov edx, dword [ebp - 0x30]
add edx, 2
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004056cd
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
push 0
push 0x45c370
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44a6d2
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x44a6d2
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
jne 0x44a6f0
cmp dword [ebp - 0x34], 0
je 0x44a6f0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004056d8
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], 0
je 0x44a719
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004056d8
add esp, 4
jmp 0x44a561
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x14