Function at 0x4012a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor eax, eax
mov ecx, 0x206
mov edi, 0x40abc0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push str.SoftwareSamplelord
push 0x80000001
mov dword [0x40abc0], 0x5c3a43
call esi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
jne 0x40132f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x40abc0
lea edx, [esp + 0x20]
push edx
push 0
push str.InstallPath
push eax
mov dword [esp + 0x2c], 0x800
mov dword [esp + 0x30], edi
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSamplelord_is1
push 0x80000002
call esi
test eax, eax
jne 0x401374
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0x40abc0
lea ecx, [esp + 0x20]
push ecx
push 0
push str.InstallLocation
push edx
mov dword [esp + 0x2c], 0x800
mov dword [esp + 0x30], edi
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREVST
push 0x80000002
call esi
test eax, eax
jne 0x401424
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x40abc0
lea eax, [esp + 0x20]
push eax
push 0
push str.VstPluginsPath
push ecx
mov dword [esp + 0x2c], 0x800
mov dword [esp + 0x30], edi
call ebp
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call ebx
test esi, esi
jne 0x40141e
mov eax, 0x40abc0
lea edx, [eax + 1]
jmp 0x4013d0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4013d0
sub eax, edx
test eax, eax
jle 0x4013ee
cmp byte [eax + 0x40abbf], 0x5c
jne 0x4013ee
mov byte [eax + 0x40abbf], cl
mov edi, 0x40abc0
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4013f6
mov eax, dword [0x408344]
mov ecx, dword [0x408348]
mov edx, dword [0x40834c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov edi, 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x10]
push eax
push str.SOFTWAREVST
push 0x80000002
call esi
test eax, eax
jne 0x4014c9
lea ecx, [esp + 0x14]
push ecx
push 0x40abc0
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x20]
push str.VstPlugins
push eax
mov dword [esp + 0x2c], 0x800
mov dword [esp + 0x30], edi
call ebp
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call ebx
test esi, esi
jne 0x4014c9
mov eax, 0x40abc0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401480
sub eax, edx
test eax, eax
jle 0x40149e
cmp byte [eax + 0x40abbf], 0x5c
jne 0x40149e
mov byte [eax + 0x40abbf], cl
mov edi, 0x40abc0
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4014a6
mov edx, dword [0x408344]
mov eax, dword [0x408348]
mov ecx, dword [0x40834c]
mov dword [edi], edx
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
call fcn.00401030
test al, al
je 0x4015ab
mov esi, dword [esp + 0x20]
push str.Samplelord.exe
push str.EXE_FILE
push esi
call fcn.004011c0
push 0x40830c
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_04stereo.dll
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_08stereo.dll
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_12stereo.dll
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_16stereo.dll
push str.DLL_FILE
push esi
call fcn.004011c0
add esp, 0x48
push str.Samplelord_1.dll
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_2.dll
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_3.dll
push str.DLL_FILE
push esi
call fcn.004011c0
push str.Samplelord_4.dll
push str.DLL_FILE
push esi
call fcn.004011c0
add esp, 0x30
cmp dword [0x40b3d8], 0
jne 0x401597
push 0x40
push str.Updater_OK
push str.Files_have_been_installed_successfully.
jmp 0x4015a3
push 0x10
push str.Updater_FALSE
push str.There_were_errors_during_installation.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10