Function at 0x405584
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x438b63
call fcn.0041ea10
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xa0], ebx
call fcn.0040fd19
push eax
lea ecx, [ebp - 0x98]
call fcn.00401330
and dword [ebp - 4], 0
call fcn.0040fd19
push eax
lea ecx, [ebp - 0x9c]
call fcn.00401330
push esi
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.00405d64
mov eax, dword [ebp - 0x98]
add esp, 0x10
mov esi, dword [ebp - 0x9c]
cmp dword [eax - 0xc], 0
jne 0x405634
push str.Failed_to_get_installation_directory_for_the_requested_product_code
lea ecx, [ebp - 0x90]
call fcn.004020ed
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
push 1
call fcn.00403025
mov ecx, dword [ebp - 0x90]
add esp, 0xc
jmp 0x405b06
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x94]
push 0x43e320
push eax
call fcn.00403ecd
cmp dword [ebp - 0x90], 0
mov eax, str.AcrobatAcrobat.exe
mov edi, 0x43e324
mov byte [ebp - 4], 3
cmove edi, eax
push edi
call fcn.00423bce
add esp, 0x10
lea ecx, [ebp - 0x94]
push eax
push edi
call fcn.00402376
mov edi, 0x43e320
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.00402376
push 1
push dword [ebp - 0x94]
push 0x43bfd8
push str.SoftwareAdobeAcrobatExe
push 0x80000000
call fcn.0040a5d1
add esp, 0x14
test eax, eax
jne 0x4056e8
push str.HKEY_CLASSES_ROOTSoftwareAdobeAcrobatExe_set_failed.
lea ecx, [ebp - 0x90]
call fcn.004020ed
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
push 1
call fcn.00403025
mov ecx, dword [ebp - 0x90]
add esp, 0xc
jmp 0x405af8
push str.HKEY_CLASSES_ROOTSoftwareAdobeAcrobatExe_set_successfully
lea ecx, [ebp - 0x88]
call fcn.004020ed
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
push 1
call fcn.00403025
mov ecx, dword [ebp - 0x88]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00401a64
push esi
call fcn.004249fc
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x9c]
push ecx
push eax
push edi
call fcn.0040a6bc
add esp, 0x10
test eax, eax
je 0x405b00
call fcn.00408300
test eax, eax
je 0x405850
push 0xc
mov eax, str..secstore
mov dword [ebp - 0x54], str..pdf
mov dword [ebp - 0x34], eax
mov ecx, str..api
mov dword [ebp - 0x64], eax
test edi, edi
pop eax
push 9
mov dword [ebp - 0x38], ecx
mov edx, str..pdx
mov dword [ebp - 0x68], ecx
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x50], str..pdfxml
push esi
push edi
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x4c], str..acrobatsecuritysettings
lea eax, [ebp - 0x54]
mov dword [ebp - 0x48], str..fdf
cmove eax, ecx
mov dword [ebp - 0x44], str..xfdf
push eax
mov dword [ebp - 0x40], str..xdp
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x84], str..pdf
mov dword [ebp - 0x80], str..pdfxml
mov dword [ebp - 0x7c], str..acrobatsecuritysettings
mov dword [ebp - 0x78], str..fdf
mov dword [ebp - 0x74], str..xfdf
mov dword [ebp - 0x70], str..xdp
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x60], str..sequ
mov dword [ebp - 0x5c], str..rmf
mov dword [ebp - 0x58], str..bpdx
call fcn.0040c7a6
add esp, 0x10
lea ecx, [ebp - 0x88]
test al, al
jne 0x40581d
push str.AppTakeOwnershipForFileTypes_failed
call fcn.004020ed
mov byte [ebp - 4], 6
jmp 0x40582b
push str.AppTakeOwnershipForFileTypes_succeeded
call fcn.004020ed
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x88]
push eax
push 1
call fcn.00403025
mov ecx, dword [ebp - 0x88]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00401a64
cmp dword [ebp - 0x90], 0
mov eax, str.Open
mov edi, str.Read
cmove edi, eax
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.004033de
push str.msiexec.exe__I
lea ecx, [ebp - 0x8c]
call fcn.004020ed
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402376
mov edi, str._REINSTALL
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402376
cmp dword [ebp - 0x90], 0
mov eax, str.ViewerProgramFiles_AcrobatBrowserIntegration_AcrobatPDFIntegration
mov edi, str.ReaderProgramFiles_ReaderBrowserIntegration_ReaderPDFIntegration
cmove edi, eax
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402376
mov edi, str._DEFAULT_VERB_
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402376
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push dword [eax - 0xc]
push eax
call fcn.00402376
mov edi, str.__IW_DEFAULT_VERB_
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402376
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push dword [eax - 0xc]
push eax
call fcn.00402376
mov edi, str.__REPAIRFROMARM_1___qb_
push edi
call fcn.00423bce
pop ecx
push eax
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402376
push 0x44
pop edi
push edi
push 0
lea eax, [ebp - 0x100]
push eax
call fcn.0041ff30
mov dword [ebp - 0x100], edi
lea eax, [ebp - 0xbc]
push 0x10
xor edi, edi
push edi
push eax
call fcn.0041ff30
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 4], 1
jle 0x4059ac
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.00402632
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x100]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4059e4
push str.CreateProcess_failed
lea ecx, [ebp - 0x88]
call fcn.004020ed
push 9
pop eax
mov byte [ebp - 4], al
jmp 0x405a2e
push 0x2bf20
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x405a1a
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
jmp 0x405a52
push str.GetExitCodeProcess_failed
lea ecx, [ebp - 0x88]
call fcn.004020ed
mov byte [ebp - 4], 0xa
push edi
lea eax, [ebp - 0x88]
push eax
push 1
call fcn.00403025
mov ecx, dword [ebp - 0x88]
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ecx - 0x10]
call fcn.00401a64
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea ecx, [ebp - 0x8c]
call fcn.0040318b
mov ebx, dword [ebp - 0xa0]
lea edi, [ebp - 0x30]
push 8
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.00423fcb
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xa4]
push eax
call fcn.004020ed
push str.Return_code_from_MSI_Engine:
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.004020ed
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x88]
push eax
push 1
call fcn.00402ada
mov ecx, dword [ebp - 0x88]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00401a64
mov ecx, dword [ebp - 0xa4]
lea ecx, [ecx - 0x10]
call fcn.00401a64
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.00401a64
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00401a64
lea ecx, [esi - 0x10]
call fcn.00401a64
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.00401a64
mov eax, ebx
call fcn.0041e9ba
ret