Function at 0x444140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d7dc
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 0x497c74
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.0044ef0d
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push 0x497c74
call fcn.00404c30
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x4443af
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.0044ef0d
add esp, 4
push eax
push str.CLSID_
lea ecx, [esp + 0x28]
call fcn.00404c30
mov eax, dword [esp + 0x18]
push eax
mov byte [esp + 0x4b8], 2
mov edi, eax
call fcn.0044ef0d
add esp, 4
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.00404890
push 0x49fda0
call fcn.0044ef0d
add esp, 4
push eax
push 0x49fda0
lea ecx, [esp + 0x28]
call fcn.00404890
mov eax, dword [esp + 0x38]
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0x24]
jae 0x444257
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 0x444371
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 0x497c74
push eax
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x444361
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea edx, [esp + 0x98]
push edx
call fcn.0044ef0d
add esp, 4
push eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x48]
call fcn.00404c30
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0x5c
call fcn.00437ad0
push eax
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x4c]
call fcn.00437e30
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c0], 3
call fcn.00404b20
cmp dword [esp + 0x78], 8
mov byte [esp + 0x4b4], 2
jb 0x44434c
mov eax, dword [esp + 0x64]
push eax
call fcn.00469458
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404b20
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 0x44438f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00469458
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x4443af
mov edx, dword [esp + 0x44]
push edx
call fcn.00469458
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