Function at 0x4304b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439d5c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44eca0]
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 0x430534
push str.Unable_to_open_HKLMSOFTWARERegisteredApplications
lea ecx, [ebp - 0x38]
call fcn.00402690
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x38]
push ecx
push 1
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00407a70
mov eax, dword [ebp - 0x30]
jmp 0x4306d8
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 0x43059c
push str.Unable_to_query_HKLMSOFTWARERegisteredApplications
lea ecx, [ebp - 0x3c]
call fcn.00402690
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x3c]
push edx
push 1
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00407a70
mov eax, dword [ebp - 0x30]
jmp 0x4306d8
lea ecx, [ebp - 0x2c]
call fcn.00402670
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402670
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x34], 0
jmp 0x4305d7
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.004031b0
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.004031b0
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 0x4306b3
mov ecx, dword [ebp + 8]
call fcn.00403200
movzx edx, al
test edx, edx
je 0x4306b3
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403220
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00403220
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x2c]
call fcn.00403200
movzx eax, al
test eax, eax
jne 0x4306ae
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004031f0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402b50
cmp eax, 0xffffffff
je 0x4306ae
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402790
push str.Found_registered_application_name:
lea ecx, [ebp - 0x40]
call fcn.00402690
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
push 1
call fcn.004378e0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407a70
jmp 0x4305ce
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00407a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407a70
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret