Function at 0x532789
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa88
push ebx
push esi
push edi
mov edi, eax
mov ecx, edi
lea eax, [ebp - 0xa84]
call fcn.00401b6e
lea eax, [ebp - 0xa84]
push str..zip
push eax
call fcn.00613e25
test eax, eax
pop ecx
pop ecx
jne 0x53289f
lea eax, [ebp - 0x264]
push eax
call fcn.005330af
mov bl, al
test bl, bl
jne 0x5327dd
lea eax, [ebp - 0x264]
push eax
call fcn.0053313a
lea eax, [ebp - 0x264]
push eax
call fcn.00401e3b
test al, al
jne 0x5327fb
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x5329e1
lea eax, [ebp - 0x264]
mov ecx, edi
call fcn.00581175
test al, al
je 0x5327ed
mov ecx, edi
lea esi, [ebp - 0x674]
call fcn.005375ef
push 0x631a7c
mov eax, esi
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x46c]
call fcn.0053768f
lea eax, [ebp - 0x46c]
push eax
call fcn.00401e3b
test al, al
je 0x5327ed
mov eax, esi
push eax
push str.SoftwareNCH_SoftwareComponents_s
mov eax, 0x104
lea edi, [ebp - 0x87c]
call fcn.005383cd
test bl, bl
pop ecx
pop ecx
mov esi, str.Path
je 0x53287b
lea eax, [ebp - 0x46c]
push eax
push esi
mov eax, edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004011af
lea eax, [ebp - 0x46c]
push eax
push esi
lea eax, [ebp - 0x87c]
push eax
push SysReAllocString
call fcn.004011af
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x5329e1
call fcn.004f410f
cmp byte [ebp + 0x10], 0
mov bl, al
je 0x5328bc
push 0x665b88
push str.LQUIET
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.005fc0d0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], edi
add esp, 0xc
mov edi, 0x400
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x54], 0x140
mov dword [ebp - 0x4c], 0x665b90
call fcn.00496a5a
cmp byte [ebp + 0x10], 0
mov esi, 0x631a7c
mov eax, str._LQUIET
jne 0x532901
mov eax, esi
push dword [ebp + 0xc]
push eax
push str._s_instby__sPicoPDF
lea eax, [ebp - 0x1c]
call fcn.00496c9b
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.0054261e
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x532945
cmp word [eax], di
je 0x532945
push eax
push str.__instsvar__s
lea eax, [ebp - 0x1c]
call fcn.0058b34d
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov dword [ebp - 0x44], eax
jne 0x532952
mov dword [ebp - 0x44], esi
mov al, byte [ebp + 0x10]
neg al
sbb eax, eax
and eax, 3
inc eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x5329a8
push 0x1d4c0
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x10], 0
je 0x5329a1
neg bl
sbb ebx, ebx
and ebx, 0x665b88
push ebx
push str.LQUIET
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, dword [ebp + 8]
mov dword [esi], edi
jmp 0x5329cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
je 0x5329c6
mov dword [ebp + 0x10], 2
mov eax, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esi], eax
push dword [ebp - 0x10]
call fcn.005f858a
pop ecx
push dword [ebp - 0x1c]
call fcn.005f858a
mov eax, esi
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc