Function at 0x441800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b18c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a0
push ebx
push esi
xor ebx, ebx
push edi
push 0x494cf8
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.0044c6ad
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push 0x494cf8
call fcn.00404b70
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x441a6f
mov esi, 7
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov dword [esp + 0x4b4], ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
push str.CLSID_
mov byte [esp + 0x4b8], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.0044c6ad
add esp, 4
push eax
push str.CLSID_
lea ecx, [esp + 0x28]
call fcn.00404b70
mov eax, dword [esp + 0x18]
push eax
mov byte [esp + 0x4b8], 2
mov edi, eax
call fcn.0044c6ad
add esp, 4
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.00404870
push 0x49ca38
call fcn.0044c6ad
add esp, 4
push eax
push 0x49ca38
lea ecx, [esp + 0x28]
call fcn.00404870
mov eax, dword [esp + 0x38]
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0x24]
jae 0x441917
lea eax, [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x441a31
mov word [esp + 0x98], bx
mov ecx, 0x103
lea edi, [esp + 0x9a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x64]
push edx
push ebx
push 0x494cf8
push eax
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x441a21
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea edx, [esp + 0x98]
push edx
call fcn.0044c6ad
add esp, 4
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x48]
call fcn.00404b70
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0x5c
call fcn.00441710
push eax
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x4c]
call fcn.00440dc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c0], 3
call fcn.00404a60
cmp dword [esp + 0x78], 8
mov byte [esp + 0x4b4], 2
jb 0x441a0c
mov eax, dword [esp + 0x64]
push eax
call fcn.00466c9d
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404a60
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 8
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [esp + 0x38], edi
jb 0x441a4f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x441a6f
mov edx, dword [esp + 0x44]
push edx
call fcn.00466c9d
add esp, 4
mov ecx, dword [esp + 0x4ac]
mov al, byte [esp + 0x13]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret