Function at 0x42c710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xe14
mov eax, dword [0x4629b4]
xor eax, esp
mov dword [esp + 0xe10], eax
push esi
push edi
push 0x400
lea eax, [esp + 0x21c]
mov dword [esp + 0xc], 0
push 0
push eax
call fcn.0042f620
push 0x400
lea eax, [esp + 0x628]
push 0
push eax
call fcn.0042f620
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0042f620
add esp, 0x24
lea eax, [esp + 8]
cmp dword [esp + 0xe20], 6
push eax
push 0x20119
push 0
jae 0x42c884
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ca56
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x400
push eax
lea eax, [esp + 0x21c]
push eax
push 0
push 0
push str.Winosinfo
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c875
push 0x103
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x400
lea eax, [esp + 0xa1c]
push 0
push eax
call fcn.0042f620
lea eax, [esp + 0x1c]
push eax
push str.__s_
lea eax, [esp + 0xa2c]
push 0xffffffffffffffff
push eax
call fcn.0040d510
add esp, 0x1c
lea ecx, [esp + 0x218]
lea eax, [esp + 0xa18]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42c846
test dx, dx
je 0x42c842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42c846
add eax, 4
add ecx, 4
test dx, dx
jne 0x42c820
xor eax, eax
jmp 0x42c84b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c875
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe10]
xor ecx, esp
call fcn.0042d960
add esp, 0xe14
ret
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42ca56
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTreeWinosinfo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ca56
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x21c]
mov dword [esp + 0x10], 0x400
push eax
push 0
push 0
push 0x456da8
push dword [esp + 0x1c]
call edi
push dword [esp + 8]
test eax, eax
jne 0x42c879
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x218]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionScheduleTaskCacheTasks_
push 0x447380
lea eax, [esp + 0x624]
push 0xffffffffffffffff
push eax
call fcn.0040d510
add esp, 0x14
lea eax, [esp + 8]
push eax
push 0x20119
push 0
lea eax, [esp + 0x624]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ca56
push 0x400
push eax
lea eax, [esp + 0xa20]
push eax
call fcn.0042f620
add esp, 0xc
mov dword [esp + 0xc], 0x400
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa1c]
push eax
push 0
push 0
push str.Triggers
push dword [esp + 0x1c]
call edi
test eax, eax
jne 0x42ca50
push 0x400
push eax
lea eax, [esp + 0x220]
push eax
call fcn.0042f620
add esp, 0xc
mov dword [esp + 0xc], 0x400
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x21c]
push eax
push 0
push 0
push str.Actions
push dword [esp + 0x1c]
call edi
push dword [esp + 8]
test eax, eax
jne 0x42ca32
call esi
lea eax, [esp + 0x234]
push eax
push 0x4471d0
lea eax, [esp + 0x620]
push 0xffffffffffffffff
push eax
call fcn.0040d510
add esp, 0x10
lea eax, [esp + 0x10]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x618]
lea eax, [esp + 0x10]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ca0d
test dx, dx
je 0x42ca09
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ca0d
add eax, 4
add ecx, 4
test dx, dx
jne 0x42c9e7
xor eax, eax
jmp 0x42ca12
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42ca56
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe10]
xor ecx, esp
call fcn.0042d960
add esp, 0xe14
ret
call esi
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe10]
xor ecx, esp
call fcn.0042d960
add esp, 0xe14
ret
push dword [esp + 8]
call esi
mov ecx, dword [esp + 0xe18]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0042d960
add esp, 0xe14
ret