Function at 0x441b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443657
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.DosDevices_
lea ecx, [ebp - 0x34]
call fcn.0043dd70
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x441b93
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x8e0], eax
jmp 0x441b9d
mov dword [ebp - 0x8e0], 0
mov ecx, dword [ebp - 0x8e0]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00407940
lea ecx, [ebp - 0x64]
call fcn.0043ddb0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
push edx
push 1
push 0
push str.SYSTEMMountedDevices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0
je 0x441c52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CCdRomTools::GetCdromMountName___RegOpenKeyEx_failed_errcode_d
lea eax, [ebp - 0x64]
push eax
call fcn.0043e660
add esp, 0xc
lea ecx, [ebp - 0x64]
test ecx, ecx
je 0x441c0c
lea edx, [ebp - 0x64]
add edx, 4
mov dword [ebp - 0x8e4], edx
jmp 0x441c16
mov dword [ebp - 0x8e4], 0
mov eax, dword [ebp - 0x8e4]
push eax
call fcn.00441590
add esp, 4
mov byte [ebp - 0x869], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov al, byte [ebp - 0x869]
jmp 0x441dac
xor ecx, ecx
mov word [ebp - 0x864], cx
push 0x7fe
push 0
lea edx, [ebp - 0x862]
push edx
call fcn.00419450
add esp, 0xc
mov dword [ebp - 0x38], 0x800
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x864]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
lea ecx, [ebp - 0x30]
call fcn.00403bd0
push eax
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0
je 0x441ce2
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x86a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov al, byte [ebp - 0x86a]
jmp 0x441dac
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x864]
push eax
lea ecx, [ebp - 0x890]
call fcn.0043dd70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x890]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0043de60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x890]
call fcn.0043db70
mov ecx, dword [ebp + 0xc]
call fcn.0043dc70
push 0x44d6b8
lea ecx, [ebp - 0x8b4]
call fcn.0043dd70
mov byte [ebp - 4], 3
push 0x44d6bc
lea ecx, [ebp - 0x8d8]
call fcn.0043dd70
mov byte [ebp - 4], 4
lea edx, [ebp - 0x8b4]
push edx
lea eax, [ebp - 0x8d8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0043dd00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8d8]
call fcn.0043db70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8b4]
call fcn.0043db70
mov byte [ebp - 0x8d9], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov al, byte [ebp - 0x8d9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret