Function at 0x405881
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x439106
call fcn.0041ef30
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.00410229
push eax
lea ecx, [ebp - 0x98]
call fcn.00401330
and dword [ebp - 4], 0
call fcn.00410229
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.0040617f
mov eax, dword [ebp - 0x98]
add esp, 0x10
mov esi, dword [ebp - 0x9c]
cmp dword [eax - 0xc], 0
jne 0x405931
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.00403241
mov ecx, dword [ebp - 0x90]
add esp, 0xc
jmp 0x405e03
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x94]
push 0x43e438
push eax
call fcn.0040406d
cmp dword [ebp - 0x90], 0
mov eax, str.AcrobatAcrobat.exe
mov edi, 0x43e43c
mov byte [ebp - 4], 3
cmove edi, eax
push edi
call fcn.0042410e
add esp, 0x10
lea ecx, [ebp - 0x94]
push eax
push edi
call fcn.00402376
mov edi, 0x43e438
push edi
call fcn.0042410e
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.0040aadb
add esp, 0x14
test eax, eax
jne 0x4059e5
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.00403241
mov ecx, dword [ebp - 0x90]
add esp, 0xc
jmp 0x405df5
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.00403241
mov ecx, dword [ebp - 0x88]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00401a64
push esi
call fcn.00424f3c
mov edi, dword [ebp - 0x90]
lea ecx, [ebp - 0x9c]
push ecx
push eax
push edi
call fcn.0040abc6
add esp, 0x10
test eax, eax
je 0x405dfd
call fcn.004087dc
test eax, eax
je 0x405b4d
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.0040ccb6
add esp, 0x10
lea ecx, [ebp - 0x88]
test al, al
jne 0x405b1a
push str.AppTakeOwnershipForFileTypes_failed
call fcn.004020ed
mov byte [ebp - 4], 6
jmp 0x405b28
push str.AppTakeOwnershipForFileTypes_succeeded
call fcn.004020ed
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x88]
push eax
push 1
call fcn.00403241
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.0042410e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.004035fe
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.0042410e
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.0042410e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x8c]
call fcn.00402376
mov edi, str._DEFAULT_VERB_
push edi
call fcn.0042410e
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.0042410e
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.0042410e
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.00420450
mov dword [ebp - 0x100], edi
lea eax, [ebp - 0xbc]
push 0x10
xor edi, edi
push edi
push eax
call fcn.00420450
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 4], 1
jle 0x405ca9
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 0x405ce1
push str.CreateProcess_failed
lea ecx, [ebp - 0x88]
call fcn.004020ed
push 9
pop eax
mov byte [ebp - 4], al
jmp 0x405d2b
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 0x405d17
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
jmp 0x405d4f
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.00403241
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]
invalid
mov ch, 0x48
invalid