Function at 0x4279ee
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b2326
call fcn.0049dfc4
sub esp, 0x294
push ebx
push esi
push edi
mov esi, 0x4c340c
lea edi, [ebp - 0x38]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0xc], ebx
lea eax, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], ecx
push eax
movsd dword es:[edi], dword [esi]
jne 0x427a5e
push str.22D84EC7_E201_4432_B3ED_A9DCA3604594
call dword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, ebx
jl 0x427d08
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push 0x4c0728
push 0x17
push ebx
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, 0x7fffbffb
add ecx, 0x80004005
mov eax, ecx
jmp 0x427d08
push str.A36CA41F_6D7D_4D8E_AC31_B6050A6EF273
call dword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, ebx
jl 0x427d08
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.TypeLib94636247_BC39_4B8B_A728_2D1FBEBFA76A1.00win32
push SysReAllocStringLen
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x427ca3
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov ecx, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x427ca3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x104
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push ecx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x427ca3
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x48]
push eax
call fcn.004038ec
mov esi, vtable.zpath.0
mov dword [ebp - 0x48], esi
mov edi, str.Intel32iKernel.dll
lea ecx, [ebp - 0x58]
push edi
mov byte [ebp - 4], 1
call fcn.004038ec
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.0041122a
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00403913
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x2a0]
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00427d19
test eax, eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.004036b2
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.004036b2
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004036b2
cmp byte [ebp + 0xf], bl
je 0x427c98
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x48]
push eax
call fcn.0041122a
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00403913
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.004036b2
lea eax, [ebp - 0x2a0]
lea ecx, [ebp - 0x20]
push eax
call fcn.00428dd7
push edi
lea ecx, [ebp - 0x20]
call fcn.00428dd7
lea ecx, [ebp - 0x20]
call fcn.00402f35
mov esi, dword [ebp - 0x1c]
push 0x4f1ed4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], ebx
call fcn.00401c4e
mov dword [ebp - 0x60], SysStringLen
push esi
push str.API:IsCoCreateSetUpLogService__Status:_Kernel_Path
lea eax, [ebp - 0x7c]
push 2
push eax
mov byte [ebp - 4], 8
call fcn.00401e6a
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.004012b4
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00402f35
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push 0x4c345c
push eax
push dword [ebp - 0x1c]
call fcn.0042814d
cmp eax, ebx
jl 0x427c7b
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0x4c0728
push ebx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x427c62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004036b2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004036b2
jmp 0x427cb8
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x427c8c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004036b2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004036b2
lea eax, [ebp - 0x38]
push eax
push str.22D84EC7_E201_4432_B3ED_A9DCA3604594
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
cmp esi, ebx
jge 0x427cca
cmp dword [ebp - 0x10], ebx
je 0x427cc6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x427d08
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push 0x4c0728
push 0x17
push ebx
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x427cf5
cmp dword [ebp - 0x10], ebx
je 0x427cf1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x427d08
cmp dword [ebp - 0x10], ebx
je 0x427d03
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8