Function at 0x474780
Capabilities:
Delete file
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
call fcn.00455200
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
mov esi, eax
push 0
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x4747b3
push eax
call fcn.00658a01
mov ebx, esi
mov dword [esp + 0x14], ebx
jmp 0x4747d1
push 2
push edi
call fcn.00658a3b
add esp, 8
push edi
mov ebp, eax
push ebp
push esi
call ebx
push esi
call fcn.00658a01
mov dword [esp + 0x14], ebp
mov ebx, ebp
add esp, 4
mov esi, 0x98a0e4
call fcn.00455720
mov ebp, eax
test ebp, ebp
je 0x4747f1
push ebp
call fcn.00661039
add esp, 4
mov edi, eax
jmp 0x4747f3
xor edi, edi
mov dword [esp + 0x18], edi
call fcn.00473f40
mov esi, eax
test ebx, ebx
je 0x474a31
test ebp, ebp
je 0x474a31
test esi, esi
je 0x474a31
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0
call fcn.00474660
mov eax, dword [esp + 0x34]
add esp, 4
test eax, eax
je 0x474862
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x474862
push ecx
push eax
push str._____PageSize___i__i_____setpagedevice
call fcn.00458200
add esp, 0xc
push 0
mov edi, eax
call fcn.00658a01
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
jne 0x474867
mov edi, 0x923408
push ebx
push edi
push ebp
push esi
push str.__s___q__dSAFER__dNOPAUSE__dBATCH__dEPSCrop__sOutputFile__s___sDEVICEpdfwrite__c__.setpdfwrite_s___f___s_
call fcn.00458200
mov edi, eax
add esp, 0x14
mov edx, ebp
mov dword [esp + 0x20], edi
call fcn.00454f40
push eax
push esi
push 0x8c
mov edx, str.._srcPsEngine.cpp
call fcn.00454fa0
push eax
push str.___s:_d:_using__ls_for_creating___TEMP___ls_n
call fcn.0065a8e6
add eax, 0x40
push eax
call fcn.0065a664
push 0x8000000
push 0
mov eax, edi
call fcn.00451800
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x474917
push 0x2710
push ebx
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], 0
jne 0x474917
lea eax, [esp + 0x24]
push eax
push ebp
xor ebx, ebx
call fcn.00455940
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47495f
push eax
call fcn.00658a01
add esp, 4
push edi
call fcn.00658a01
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call fcn.00658a01
add esp, 4
push esi
call fcn.00658a01
add esp, 4
lea esi, [esp + 0x18]
call fcn.00474630
push ebp
call fcn.00658a01
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call fcn.00658a01
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [esp + 0x24]
mov eax, ebx
call fcn.00452480
mov edi, eax
test edi, edi
jne 0x4749c5
push ebx
call fcn.00658a01
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00658a01
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call fcn.00658a01
add esp, 4
push esi
call fcn.00658a01
add esp, 4
lea esi, [esp + 0x18]
call fcn.00474630
push ebp
call fcn.00658a01
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call fcn.00658a01
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push edi
call fcn.00481770
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
push edi
call ecx
push ebx
call fcn.00658a01
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.00658a01
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.00658a01
add esp, 4
push esi
call fcn.00658a01
add esp, 4
lea esi, [esp + 0x18]
call fcn.00474630
push ebp
call fcn.00658a01
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call fcn.00658a01
mov eax, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push esi
call fcn.00658a01
add esp, 4
test edi, edi
je 0x474a4f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x474a4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.00658a01
add esp, 4
push ebp
call fcn.00658a01
add esp, 4
push ebx
call fcn.00658a01
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret