Function at 0x42b4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fed5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x43fc54]
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 0x42b524
push str.Unable_to_open_HKLMSOFTWARERegisteredApplications
lea ecx, [ebp - 0x38]
call fcn.00402640
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x38]
push ecx
push 1
call fcn.0042e9d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402740
mov eax, dword [ebp - 0x30]
jmp 0x42b6c8
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 0x42b58c
push str.Unable_to_query_HKLMSOFTWARERegisteredApplications
lea ecx, [ebp - 0x3c]
call fcn.00402640
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x3c]
push edx
push 1
call fcn.0042e9d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402740
mov eax, dword [ebp - 0x30]
jmp 0x42b6c8
lea ecx, [ebp - 0x2c]
call fcn.00402600
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402600
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x34], 0
jmp 0x42b5c7
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.00402fa0
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.00402fa0
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 0x42b6a3
mov ecx, dword [ebp + 8]
call fcn.00402fe0
movzx edx, al
test edx, edx
je 0x42b6a3
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403000
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00403000
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
movzx eax, al
test eax, eax
jne 0x42b69e
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004016d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402aa0
cmp eax, 0xffffffff
je 0x42b69e
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402760
push str.Found_registered_application_name:
lea ecx, [ebp - 0x40]
call fcn.00402640
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
push 1
call fcn.0042e380
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00402740
jmp 0x42b5be
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402740
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret