Function at 0x42ea60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437226
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x449ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.SOFTWARERegisteredApplications
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42eae4
push str.Unable_to_open_HKLMSOFTWARERegisteredApplications
lea ecx, [ebp - 0x38]
call fcn.00402590
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x38]
push ecx
push 1
call fcn.004355e0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402690
mov eax, dword [ebp - 0x30]
jmp 0x42ec88
push 0
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42eb4c
push str.Unable_to_query_HKLMSOFTWARERegisteredApplications
lea ecx, [ebp - 0x3c]
call fcn.00402590
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x3c]
push edx
push 1
call fcn.004355e0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402690
mov eax, dword [ebp - 0x30]
jmp 0x42ec88
lea ecx, [ebp - 0x2c]
call fcn.00402550
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402550
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x34], 0
jmp 0x42eb87
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.004030b0
push eax
lea eax, [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004030b0
push eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x42ec63
mov ecx, dword [ebp + 8]
call fcn.004030f0
movzx edx, al
test edx, edx
je 0x42ec63
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403110
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00403110
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x2c]
call fcn.004030f0
movzx eax, al
test eax, eax
jne 0x42ec5e
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00404b40
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402a70
cmp eax, 0xffffffff
je 0x42ec5e
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004026b0
push str.Found_registered_application_name:
lea ecx, [ebp - 0x40]
call fcn.00402590
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
push 1
call fcn.00434f90
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00402690
jmp 0x42eb7e
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402690
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret