Function at 0x1001d770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x668
mov eax, dword [0x100e8018]
xor eax, esp
mov dword [esp + 0x664], eax
push esi
push edi
push 0x208
lea eax, [esp + 0x54]
mov dword [esp + 0x30], edx
push 0
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0xf0b7a1a2
mov dword [esp + 0x40], 0x11cf9847
mov dword [esp + 0x44], 0x8000208f
mov dword [esp + 0x48], 0x64d02c5f
call fcn.100346a0
add esp, 0xc
lea eax, [esp + 0x460]
push 0x208
push 0
push eax
call fcn.100346a0
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x1001d82d
push eax
push str.CoInitialize_failed__hr_x_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x664]
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push 0x10053420
push 0x15
push 0
push 0x10053440
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x1001d852
push eax
push str.CoCreateInstance_failed__hr_x_n
jmp 0x1001d809
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0
push 0
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 1
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x1001d8a4
push eax
push str.EnumClassesOfCategories_failed__hr_x_n
push dword [0x100ee8a4]
call fcn.1000f610
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x664]
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x104
lea eax, [esp + 0x50]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1001d8c0
mov ecx, 0x104
lea eax, [esp + 0x460]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1001d8d7
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x40]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1001db36
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.ole32.dll_ProgIDFromCLSID]
test eax, eax
jne 0x1001d8b0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jne 0x1001d8b0
push 0x208
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x260]
push eax
mov dword [esp + 0x20], 0x104
call fcn.100346a0
add esp, 0xc
lea eax, [esp + 0x258]
push dword [esp + 0x24]
push str.CLSID_s
push 0x104
push eax
call fcn.1001d540
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x464]
push eax
push 0
push 2
push 0
lea eax, [esp + 0x26c]
push eax
push SysReAllocString
call esi
test eax, eax
jne 0x1001d9dd
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea eax, [esp + 0x264]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001d9b6
push eax
push str.RegOpenKeyEx_failed__LSTATUS___lx_n
jmp 0x1001d9e3
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push eax
lea eax, [esp + 0x54]
push eax
push 0
push 2
push 0
push str.InprocServer32
push dword [esp + 0x30]
call esi
test eax, eax
je 0x1001da09
push eax
push str.RegGetValueW_failed__LSTATUS___lx_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
push str.GetProgIDInfo_failed__n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
jmp 0x1001d8b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001da14
push eax
call edi
mov eax, dword [esp + 0x28]
sub eax, 1
je 0x1001daba
sub eax, 1
je 0x1001da75
sub eax, 1
jne 0x1001d8b0
mov eax, dword [esp + 0x1c]
mov ecx, str.JScript
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001da5e
test dx, dx
je 0x1001da5a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001da5e
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001da38
xor eax, eax
jmp 0x1001da63
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001d8b0
push str.jscript9.dll
jmp 0x1001dafb
mov eax, dword [esp + 0x1c]
mov ecx, str.JScript
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001daa6
test dx, dx
je 0x1001daa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001daa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001da80
xor eax, eax
jmp 0x1001daab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001d8b0
push str.jscript.dll
jmp 0x1001dafb
mov eax, dword [esp + 0x1c]
mov ecx, str.VBScript
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001dae9
test dx, dx
je 0x1001dae5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001dae9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001dac3
xor eax, eax
jmp 0x1001daee
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001d8b0
push str.vbscript.dll
lea eax, [esp + 0x54]
push eax
call fcn.10032f2e
add esp, 8
test eax, eax
je 0x1001d8b0
mov eax, dword [esp + 0x2c]
movups xmm0, xmmword [esp + 0x40]
push str.We_found_the_right_CLSID__n
movups xmmword [eax], xmm0
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
mov byte [esp + 0xf], 1
jmp 0x1001db3b
mov byte [esp + 0xf], 0
mov ecx, dword [esp + 0x20]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x66c]
mov al, byte [esp + 0xf]
pop edi
pop esi
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret