Function at 0x42f050
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x18], eax
call fcn.0041ce70
push 0
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edi, eax
test edi, edi
jne 0x42f07e
push eax
call fcn.004bf8aa
jmp 0x42f09c
push 2
push edi
call fcn.004bf417
add esp, 8
mov esi, eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
call fcn.004bf8aa
mov ebx, esi
add esp, 4
mov ecx, 0x4f1d18
call fcn.0041d320
mov esi, eax
test esi, esi
je 0x42f0bd
push esi
call fcn.004c91a0
add esp, 4
mov dword [ebp - 8], eax
jmp 0x42f0c4
mov dword [ebp - 8], 0
call fcn.0042e880
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x42f24e
test esi, esi
je 0x42f24e
test eax, eax
je 0x42f24e
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
xor edi, edi
call fcn.0042eee0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x42f120
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42f120
push eax
push ecx
push str._____PageSize___i__i_____setpagedevice
call fcn.00419f30
add esp, 0xc
mov edi, eax
push 0
call fcn.004bf8aa
add esp, 4
mov eax, edi
test edi, edi
jne 0x42f125
mov eax, 0x4ef194
push ebx
push eax
push esi
push dword [ebp - 0xc]
push str.__s___q__dSAFER__dNOPAUSE__dBATCH__dEPSCrop__sOutputFile__s___sDEVICEpdfwrite__c__.setpdfwrite_s___f___s_
call fcn.00419f30
add esp, 0x14
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.0041cc50
push eax
push dword [ebp - 0xc]
mov ecx, str..._srcPsEngine.cpp
push 0x8c
call fcn.0041cca0
push eax
push str.___s:_d:_using__ls_for_creating___TEMP___ls_n
push 2
call fcn.004c0d2e
add esp, 4
push eax
call fcn.0042e770
mov ecx, dword [ebp - 0x18]
xor edx, edx
push 0x8000000
call fcn.00417330
add esp, 0x1c
mov dword [ebp - 4], eax
test eax, eax
je 0x42f22d
push 0x2710
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
jne 0x42f22d
push 0
lea edx, [ebp - 4]
mov ecx, esi
call fcn.0041d530
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x42f1e8
xor ecx, ecx
push eax
mov dword [ebp - 4], ecx
call fcn.004bf8aa
add esp, 4
jmp 0x42f232
mov edx, dword [ebp - 4]
mov ecx, eax
call fcn.00418000
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x42f20c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
mov dword [ebp - 4], ecx
call fcn.004bf8aa
add esp, 4
jmp 0x42f232
mov ecx, eax
call fcn.00445360
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
call fcn.004bf8aa
add esp, 4
jmp 0x42f232
xor ecx, ecx
mov dword [ebp - 4], ecx
push dword [ebp - 0x18]
call fcn.004bf8aa
add esp, 4
push edi
call fcn.004bf8aa
mov eax, dword [ebp - 0xc]
add esp, 4
mov edi, dword [ebp - 4]
jmp 0x42f250
xor edi, edi
push eax
call fcn.004bf8aa
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x42f274
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42f271
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 8]
push eax
call fcn.004bf8aa
add esp, 4
push esi
call fcn.004bf8aa
add esp, 4
push ebx
call fcn.004bf8aa
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret