Function at 0x403ff0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x354
push esi
push str.LaunchWorkingApp___r_n
push 0x434580
call fcn.00401370
add esp, 8
lea eax, [esp + 0xc]
mov ecx, 0x43457c
push eax
push 0x20019
push 0
push 0x104
call fcn.0041c613
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xffffffffffffffff
mov ecx, 0x43457c
mov esi, eax
call fcn.0041c662
test esi, esi
jne 0x404287
push ebx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x54]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x25c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x158]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x158]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push str.ProductPath
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x404260
lea edi, [esp + 0x158]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x53], 0x5c
jne 0x404101
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x53], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x158]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x158]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push str.Product
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x404259
lea edi, [esp + 0x158]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x25c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x54]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x260]
push ecx
call fcn.00403810
add esp, 8
test al, al
je 0x404225
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x25c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
mov edi, 0x4321b0
mov dword [esp + 0x30], eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x28], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x28], str.open
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x38], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x354
ret
lea ecx, [esp + 0x25c]
lea edx, [esp + 0x54]
push ecx
push edx
push str.working_file_not_exist_:__s_s_r_n
push 0x434580
call fcn.00401370
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x354
ret
push str.open_register_value_error_:__LaunchFileName__r_n
jmp 0x404265
push str.open_register_value_error_:__AppPathName__r_n
push 0x434580
call fcn.00401370
mov eax, dword [esp + 0x1c]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x354
ret
push 0x104
mov ecx, 0x43457c
call fcn.0041c613
push eax
push str.open_register_key_error_:__s_r_n
push 0x434580
call fcn.00401370
add esp, 0xc
mov ecx, 0x43457c
push 0xffffffffffffffff
call fcn.0041c662
pop esi
add esp, 0x354
ret