Function at 0x4087d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x421881
push eax
mov dword fs:[0], esp
sub esp, 0xfb8
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
push 0x20019
push ebp
push str.SoftwareMicrosoftNET_Framework_SetupNDP_
mov ebx, ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408819
xor eax, eax
jmp 0x408b44
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x28]
mov byte [esp + 0x410], al
rep stosd dword es:[edi], eax
mov ecx, 0x2ed
lea edi, [esp + 0x411]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
stosw word es:[edi], ax
push 0x3e8
push ecx
xor esi, esi
push ebp
push edx
mov dword [esp + 0x24], ebp
stosb byte es:[edi], al
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x408aa0
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
mov ecx, dword [esp + 0x14]
xor eax, eax
inc ecx
lea edi, [esp + 0x410]
mov dword [esp + 0x14], ecx
mov ecx, 0x2ee
rep stosd dword es:[edi], eax
mov edi, str.SoftwareMicrosoftNET_Framework_SetupNDP_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x410]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x410]
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 4
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x41c]
push str.Install
push ecx
push 0x80000002
mov ecx, ebx
call fcn.00408060
test al, al
jne 0x40899e
mov edi, 0x42c28c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x410]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 4
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x414]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Client
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x41c]
push str.Install
push ecx
push 0x80000002
mov ecx, ebx
call fcn.00408060
test al, al
je 0x408a78
cmp dword [esp + 0x18], 1
jne 0x408a78
lea edx, [esp + 0x28]
push str.v2.0
push edx
xor esi, esi
call ebp
add esp, 8
test eax, eax
je 0x4089c8
mov esi, 0x14
jmp 0x408a6e
lea eax, [esp + 0x28]
push 0x42c750
push eax
call ebp
add esp, 8
test eax, eax
je 0x4089e5
mov esi, 0x15
jmp 0x408a6e
lea ecx, [esp + 0x28]
push str.v3.0
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4089ff
mov esi, 0x1e
jmp 0x408a6e
lea edx, [esp + 0x28]
push str.v3.5
push edx
call ebp
add esp, 8
test eax, eax
je 0x408a19
mov esi, 0x23
jmp 0x408a6e
lea eax, [esp + 0x28]
push 0x42c73c
push eax
call ebp
add esp, 8
test eax, eax
je 0x408a33
mov esi, 0x1f
jmp 0x408a6e
lea ecx, [esp + 0x28]
push 0x42c738
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x408a6c
lea edx, [esp + 0x28]
push 0x42c734
push edx
call ebp
add esp, 8
test eax, eax
jne 0x408a6c
lea eax, [esp + 0x28]
push 0x42c730
push eax
call ebp
add esp, 8
test eax, eax
je 0x408a6e
xor esi, esi
cmp esi, dword [esp + 0x10]
jle 0x408a78
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push 0x3e8
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x408870
mov esi, dword [esp + 0x10]
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
push esi
lea edx, [esp + 0x24]
push 0x42c718
push edx
mov dword [esp + 0xfdc], ebp
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x20]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0xfd8], 1
push ecx
call fcn.004156d0
mov edx, esp
mov dword [esp + 0x30], esp
push str.LogsLancher.txt
push eax
push edx
mov byte [esp + 0xfe8], 2
call sub.MFC42.DLL_operator_2
mov byte [esp + 0xfdc], 3
call fcn.00414ee0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xfd0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0xfd0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0xfc8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc4
ret