Function at 0x415d40
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x42c
mov eax, dword [0x56b338]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x430]
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x206
lea ecx, [esp + 0x2e]
push esi
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov word [esp + 0x34], si
call fcn.00436020
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x109
push esi
push 0x562608
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jne 0x415ea0
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x2c]
push eax
push esi
push ecx
xor edi, edi
call ebx
test eax, eax
jne 0x415e8b
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415e6e
push 0x206
lea edx, [esp + 0x236]
push esi
push edx
mov dword [esp + 0x30], 0x104
mov word [esp + 0x23c], si
call fcn.00436020
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push str.DisplayName
push eax
mov dword [esp + 0x38], 1
call ebp
test eax, eax
jne 0x415e63
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.0042f57c
add esp, 8
test eax, eax
je 0x415e63
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x2c]
push ecx
add edi, 1
push edi
push edx
call ebx
test eax, eax
je 0x415dd4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], esi
jne 0x415fb2
lea ecx, [esp + 0x10]
push ecx
push 9
push esi
push 0x562690
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415fa6
mov eax, dword [esp + 0x10]
push 0x104
lea edx, [esp + 0x2c]
push edx
push esi
push eax
xor edi, edi
call ebx
test eax, eax
jne 0x415f93
lea esp, [esp]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415f76
push 0x206
lea ecx, [esp + 0x236]
push esi
push ecx
mov dword [esp + 0x2c], 0x104
mov word [esp + 0x23c], si
call fcn.00436020
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
push str.DisplayName
push edx
mov dword [esp + 0x3c], 1
call ebp
test eax, eax
jne 0x415f6b
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.0042f57c
add esp, 8
test eax, eax
je 0x415f6b
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x2c]
push eax
add edi, 1
push edi
push ecx
call ebx
test eax, eax
je 0x415ee0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x415fb6
mov eax, dword [esp + 0x1c]
push eax
call fcn.00415bb0
jmp 0x415fb6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042f3aa
add esp, 0x42c
ret 4