Function at 0x491680
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe00
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [str.Photoshop_3.0]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xd60], eax
mov dword [ebp - 0xd78], eax
mov eax, dword [0x5d7534]
push dword [edi]
mov dword [ebp - 0xda0], eax
mov ax, word [0x5d7538]
mov word [ebp - 0xd4e], ax
mov al, byte [0x5d753a]
push 1
mov byte [ebp - 0xdf2], al
lea eax, [ebp - 0x24]
push 5
push eax
mov dword [ebp - 0xd38], edi
mov dword [ebp - 0xd40], esi
mov dword [ebp - 0xd54], 0
movq qword [ebp - 0x2c], xmm0
call fcn.00595b79
push 5
lea eax, [ebp - 0x24]
push str._PDF_
push eax
call fcn.00596360
add esp, 0x1c
test eax, eax
je 0x4923fa
push 2
lea eax, [ebp - 0x24]
mov dword [ebp - 0xd68], 0
push 0x5dabf8
push eax
mov dword [ebp - 0xd8c], 0xffffffff
mov dword [ebp - 0xda4], 1
call fcn.00596360
add esp, 0xc
test eax, eax
je 0x49197d
lea ecx, [ebp - 0x24]
movzx eax, byte [ecx]
cmp al, 4
jne 0x49176c
cmp byte [ecx + 1], 0x25
jne 0x49176c
cmp byte [ecx + 2], 0x21
jne 0x49176c
xor eax, eax
jmp 0x491771
sbb eax, eax
or eax, 1
test eax, eax
je 0x49197d
push 0
push 0
push dword [edi]
call fcn.00595cb4
push edi
call fcn.0045d030
add esp, 0x10
cmp eax, 0xc6d3d0c5
jne 0x49197d
push edi
call fcn.0045d030
add esp, 4
mov dword [ebp - 0xd68], eax
test eax, eax
je 0x4923fa
push edi
call fcn.0045d030
push 0
push dword [ebp - 0xd68]
mov dword [ebp - 0xd8c], eax
push dword [edi]
call fcn.00595cb4
push dword [edi]
lea eax, [ebp - 0x24]
push 1
push 5
push eax
call fcn.00595b79
push 2
lea eax, [ebp - 0x24]
push 0x5dabf8
push eax
call fcn.00596360
add esp, 0x2c
test eax, eax
je 0x491808
lea ecx, [ebp - 0x24]
cmp word [ecx], 0x2504
jne 0x4923fa
cmp byte [ecx + 2], 0x21
jne 0x4923fa
test dword [esi + 0x8c], 0x40000
je 0x49197d
push 0
push 0x14
push dword [edi]
call fcn.00595cb4
push edi
call fcn.0045d030
mov esi, eax
push 0
push esi
push dword [edi]
mov dword [ebp - 0xd4c], esi
call fcn.00595cb4
push edi
call fcn.0045d210
mov ecx, 0x4949
add esp, 0x20
cmp ax, cx
jne 0x49197d
push edi
call fcn.0045d210
add esp, 4
cmp ax, 0x2a
jne 0x49197d
push edi
call fcn.0045d030
push 0
add eax, esi
push eax
push dword [edi]
call fcn.00595cb4
push edi
call fcn.0045d210
movzx eax, ax
xor ecx, ecx
add esp, 0x14
mov dword [ebp - 0xd44], eax
xor edi, edi
cmp cx, ax
jae 0x491977
jmp 0x4918a0
push dword [ebp - 0xd38]
call fcn.0045d210
push dword [ebp - 0xd38]
movzx esi, ax
call fcn.0045d210
push dword [ebp - 0xd38]
call fcn.0045d030
push dword [ebp - 0xd38]
mov dword [ebp - 0xd58], eax
call fcn.0045d030
mov dword [ebp - 0xd5c], eax
add esp, 0x10
mov eax, 0x8649
cmp si, ax
je 0x4918f7
inc edi
cmp di, word [ebp - 0xd44]
jb 0x4918a0
jmp 0x491977
mov edi, dword [ebp - 0xd58]
lea eax, [edi + 0xe]
push eax
call fcn.00593e38
mov esi, eax
add esp, 4
test esi, esi
je 0x491977
mov eax, dword [ebp - 0xd5c]
add eax, dword [ebp - 0xd4c]
push 0
push eax
mov eax, dword [ebp - 0xd38]
push dword [eax]
call fcn.00595cb4
movq xmm0, qword [ebp - 0x2c]
mov eax, dword [ebp - 0xda0]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov ax, word [ebp - 0xd4e]
mov word [esi + 0xc], ax
mov eax, dword [ebp - 0xd38]
push dword [eax]
lea eax, [esi + 0xe]
push 1
push edi
push eax
call fcn.00595b79
lea eax, [edi + 0xe]
push eax
push esi
push 2
push dword [ebp - 0xd40]
call fcn.00452460
push esi
call fcn.00592c4b
add esp, 0x30
mov edi, dword [ebp - 0xd38]
call fcn.00490450
test eax, eax
je 0x4923fa
lea eax, [ebp - 0x334]
push 0x200
push eax
call fcn.0045c8f0
lea eax, [ebp - 0x334]
push 0x5c3924
push eax
call fcn.005931b4
add esp, 0x10
mov dword [ebp - 0xd74], eax
test eax, eax
jne 0x4919ce
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
push str._f__f_translate_________________________________n
push eax
call fcn.0059320e
xorps xmm0, xmm0
mov dword [ebp - 0xd98], 0
push 0
push dword [ebp - 0xd68]
movsd qword [ebp - 0xde4], xmm0
push dword [edi]
movsd qword [ebp - 0xdb4], xmm0
movsd qword [ebp - 0xdd4], xmm0
movsd qword [ebp - 0xdac], xmm0
movsd qword [ebp - 0xddc], xmm0
movsd qword [ebp - 0xdc4], xmm0
movsd qword [ebp - 0xdcc], xmm0
movsd qword [ebp - 0xdbc], xmm0
mov dword [ebp - 0xd9c], 0
call fcn.00595cb4
xor edi, edi
push 0x2774
mov dword [ebp - 0xd5c], edi
mov dword [ebp - 0xd70], edi
call fcn.00593e38
mov esi, eax
push 0x100400
mov dword [ebp - 0xd80], esi
call fcn.00593e38
push 0x100400
mov dword [ebp - 0xd84], eax
call fcn.00593e38
add esp, 0x30
mov dword [ebp - 0xd3c], eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0xd48], ecx
mov dword [ebp - 0xd90], ecx
mov dword [ebp - 0xd88], ecx
mov dword [ebp - 0xd94], ecx
test edx, edx
jne 0x491ae3
mov eax, dword [ebp - 0xd38]
push dword [eax]
push 0x100000
push 1
push dword [ebp - 0xd84]
call fcn.00595b79
mov edx, eax
add esp, 0x10
test edx, edx
je 0x491fd0
mov ecx, dword [ebp - 0xd48]
xor eax, eax
mov dword [ebp - 0xd7c], eax
jmp 0x491ae9
mov eax, dword [ebp - 0xd7c]
mov esi, dword [ebp - 0xd84]
dec edx
inc dword [ebp - 0xd7c]
inc dword [ebp - 0xd94]
cmp dword [ebp - 0xd68], 0
movsx eax, byte [eax + esi]
mov esi, dword [ebp - 0xd80]
mov dword [ebp - 0xd4c], eax
mov dword [ebp - 0xd44], edx
jbe 0x491b42
cmp dword [ebp - 0xd8c], 0
mov ecx, dword [ebp - 0xd48]
jle 0x491b42
mov eax, dword [ebp - 0xd8c]
cmp dword [ebp - 0xd94], eax
mov eax, dword [ebp - 0xd4c]
jg 0x491fd0
mov esi, dword [ebp - 0xd3c]
mov byte [ecx + esi], al
inc ecx
mov esi, dword [ebp - 0xd80]
mov dword [ebp - 0xd48], ecx
cmp ecx, 0x100000
jb 0x491b8b
push dword [ebp - 0xd74]
push 1
push ecx
push dword [ebp - 0xd3c]
call fcn.0059628c
mov eax, dword [ebp - 0xd4c]
add esp, 0x10
mov edx, dword [ebp - 0xd44]
xor ecx, ecx
mov dword [ebp - 0xd48], ecx
mov byte [esi + edi], al
inc edi
cmp eax, 0xa
je 0x491ba5
cmp eax, 0xd
je 0x491baf
cmp edi, 0x2710
jl 0x491aa8
cmp eax, 0xd
je 0x491baf
cmp eax, 0xa
jne 0x491bbc
cmp edi, 1
jne 0x491bbb
xor edi, edi
jmp 0x491aa8
dec edi
push 5
push str.__EOF
push esi
mov byte [esi + edi], 0
call fcn.00596360
push 0xb
push str.__PS_Adobe_
push esi
call fcn.00596360
add esp, 0x18
test eax, eax
jne 0x491bfd
lea eax, [ebp - 0xd70]
push eax
lea eax, [ebp - 0xde8]
push eax
push str.___PS_Adobe__d.0_EPSF__d.0
push esi
call fcn.00593320
add esp, 0x10
cmp word [ebp - 0xd5c], 0
jne 0x491c4f
push 0xe
push str.__BoundingBox:
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491c4f
lea eax, [ebp - 0xde4]
mov dword [ebp - 0xd5c], 1
push eax
lea eax, [ebp - 0xdd4]
push eax
lea eax, [ebp - 0xdb4]
push eax
lea eax, [ebp - 0xdac]
push eax
push str.____BoundingBox:__lf__lf__lf__lf
push esi
call fcn.00593320
add esp, 0x18
push 8
push str.__Pages:
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491c78
lea eax, [ebp - 0xda4]
push eax
push str.____Pages:__d
push esi
call fcn.00593320
add esp, 0xc
push 0x12
push str.__HiResBoundingBox
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491cb6
lea eax, [ebp - 0xddc]
push eax
lea eax, [ebp - 0xdcc]
push eax
lea eax, [ebp - 0xdc4]
push eax
lea eax, [ebp - 0xdbc]
push eax
push str.____HiResBoundingBox:__lf__lf__lf__lf
push esi
call fcn.00593320
add esp, 0x18
push 0xa
push str._ImageData
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491ce6
lea eax, [ebp - 0xd98]
push eax
lea eax, [ebp - 0xd9c]
push eax
push str.__ImageData:__d__d
push esi
call fcn.00593320
add esp, 0x10
mov eax, dword [ebp - 0xd40]
test dword [eax + 0x8c], 0x40000
je 0x491fbd
push 0x12
push str.__BeginICCProfile:
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491d54
push 0x10000
mov dword [ebp - 0xd88], 1
mov dword [ebp - 0xd58], 0x10000
call fcn.00593e38
mov ecx, dword [ebp - 0xd48]
add esp, 4
mov edx, dword [ebp - 0xd44]
xor edi, edi
mov dword [ebp - 0xd6c], eax
mov dword [ebp - 0xd64], 0
jmp 0x491aa8
cmp word [ebp - 0xd88], 0
je 0x491e4b
push 0xf
push str.__EndICCProfile
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491d90
push dword [ebp - 0xd64]
mov edi, dword [ebp - 0xd6c]
push edi
mov dword [ebp - 0xd88], eax
push 4
jmp 0x491f12
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491d95
sub ecx, edx
cmp ecx, 2
jle 0x491fbd
add ecx, 0xfffffffd
lea edi, [esi + 3]
shr ecx, 1
inc ecx
mov dword [ebp - 0xd4c], ecx
mov esi, ecx
mov ecx, dword [ebp - 0xd64]
mov edi, edi
movzx eax, byte [edi - 1]
mov byte [ebp - 0x12], al
movzx eax, byte [edi]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0xd58]
mov word [ebp - 0x14], 0x7830
mov byte [ebp - 0x10], 0
cmp ecx, eax
jl 0x491e01
add eax, 0x10000
push eax
push dword [ebp - 0xd6c]
mov dword [ebp - 0xd58], eax
call fcn.00593eca
add esp, 8
mov dword [ebp - 0xd6c], eax
push 0x10
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00597b8c
mov ecx, dword [ebp - 0xd64]
add esp, 0xc
mov edx, dword [ebp - 0xd6c]
add edi, 2
mov byte [ecx + edx], al
inc ecx
mov dword [ebp - 0xd64], ecx
dec esi
jne 0x491dc0
mov esi, dword [ebp - 0xd80]
xor edi, edi
mov ecx, dword [ebp - 0xd48]
mov edx, dword [ebp - 0xd44]
jmp 0x491aa8
push 0x10
push str._BeginPhotoshop:
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491edb
lea eax, [ebp - 0xd54]
push eax
push str.__BeginPhotoshop:__d
push esi
call fcn.00593320
add esp, 0xc
cmp eax, 1
jne 0x491fbd
mov dword [ebp - 0xd90], eax
mov eax, dword [ebp - 0xd54]
add eax, 0xe
push eax
mov dword [ebp - 0xd54], eax
call fcn.00593e38
movq xmm0, qword [ebp - 0x2c]
add esp, 4
mov ecx, dword [ebp - 0xda0]
xor edi, edi
mov edx, dword [ebp - 0xd44]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov cx, word [ebp - 0xd4e]
mov word [eax + 0xc], cx
mov ecx, dword [ebp - 0xd48]
mov dword [ebp - 0xd78], eax
mov dword [ebp - 0xd60], 0xe
jmp 0x491aa8
cmp word [ebp - 0xd90], 0
je 0x491fbd
push 0xd
push str._EndPhotoshop
push esi
call fcn.00596360
add esp, 0xc
test eax, eax
jne 0x491f39
push dword [ebp - 0xd54]
mov edi, dword [ebp - 0xd78]
push edi
mov dword [ebp - 0xd90], eax
push 2
push dword [ebp - 0xd40]
call fcn.00452460
push edi
call fcn.00592c4b
mov ecx, dword [ebp - 0xd48]
add esp, 0x14
mov edx, dword [ebp - 0xd44]
xor edi, edi
jmp 0x491aa8
mov ecx, esi
mov edi, 2
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491f43
sub ecx, edx
cmp ecx, edi
jle 0x491fbd
mov eax, dword [ebp - 0xd60]
cmp eax, dword [ebp - 0xd54]
jge 0x491fbd
movzx eax, byte [edi + esi]
mov byte [ebp - 0xa], al
movzx eax, byte [edi + esi + 1]
mov byte [ebp - 9], al
lea eax, [ebp - 0xdec]
push 0x10
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], 0x7830
push eax
mov byte [ebp - 8], 0
call fcn.00597b8c
mov ecx, dword [ebp - 0xd60]
add esp, 0xc
mov edx, dword [ebp - 0xd78]
mov byte [edx + ecx], al
inc ecx
mov dword [ebp - 0xd60], ecx
add edi, 2
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491fb0
sub ecx, edx
cmp edi, ecx
jl 0x491f50
mov ecx, dword [ebp - 0xd48]
xor edi, edi
mov edx, dword [ebp - 0xd44]
jmp 0x491aa8
mov eax, dword [ebp - 0xd48]
mov edi, dword [ebp - 0xd74]
test eax, eax
je 0x491ff2
push edi
push 1
push eax
push dword [ebp - 0xd3c]
call fcn.0059628c
add esp, 0x10
push esi
call fcn.00592c4b
push dword [ebp - 0xd84]
call fcn.00592c4b
push dword [ebp - 0xd3c]
call fcn.00592c4b
add esp, 0xc
cmp dword [ebp - 0xd70], 0
je 0x492028
push edi
push str.showpage_n
call fcn.00598cab
add esp, 8
push 0
push 0
push edi
call fcn.00595cb4
push str.English
push 4
call fcn.00598ac7
movsd xmm0, qword [ebp - 0xdb4]
add esp, 4
cvtpd2ps xmm0, xmm0
mov esi, eax
xorps xmm0, xmmword [0x5d9110]
cvtss2sd xmm0, xmm0
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0xdac]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmmword [0x5d9110]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._f__f_translate
push edi
call fcn.0059320e
push esi
push 4
call fcn.00598ac7
push edi
call fcn.00593079
movsd xmm0, qword [ebp - 0xdd4]
add esp, 0x24
subsd xmm0, qword [ebp - 0xdac]
mov edi, dword [ebp - 0xd40]
mov eax, 0x264
movzx esi, word [edi + 0x104]
cvttsd2si ecx, xmm0
movsd xmm0, qword [ebp - 0xde4]
subsd xmm0, qword [ebp - 0xdb4]
test ecx, ecx
cmove ecx, eax
mov eax, 0x318
cvttsd2si edx, xmm0
test edx, edx
cmove edx, eax
test si, si
jle 0x4920f8
movzx eax, word [edi + 0x106]
test ax, ax
jle 0x4920f8
movsx ecx, si
movsx edx, ax
movzx eax, word [edi + 0x102]
test ax, ax
jg 0x492167
mov edi, dword [ebp - 0xd9c]
test edi, edi
jle 0x49215b
movsd xmm1, qword [ebp - 0xdcc]
movsd xmm2, qword [ebp - 0xdbc]
comisd xmm1, xmm2
jbe 0x49215b
movsd xmm0, qword [ebp - 0xddc]
comisd xmm0, xmmword [ebp - 0xdc4]
jbe 0x49215b
movd xmm0, edi
subsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
mov eax, dword [ebp - 0xd98]
mulsd xmm0, qword [0x5db008]
divsd xmm0, xmm1
movsd qword [ebp - 0xc], xmm0
jmp 0x4921b5
test ax, ax
jg 0x492167
mov eax, 0x48
jmp 0x492168
cwde
movd xmm3, eax
cvtdq2pd xmm3, xmm3
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0xc], xmm3
mulsd xmm0, xmm3
divsd xmm0, qword [0x5db008]
subsd xmm0, qword [0x5c3638]
cvttsd2si edi, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
divsd xmm0, qword [0x5db008]
subsd xmm0, qword [0x5c3638]
cvttsd2si eax, xmm0
mov dword [ebp - 0xd44], eax
lea eax, [ebp - 0x534]
push 0x200
push eax
call fcn.0045c8f0
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0xc34]
push eax
call fcn.004906c0
push dword [ebp - 0xd44]
mov esi, eax
lea eax, [ebp - 0xb4]
push edi
push str._g_dx_d
push eax
call fcn.005933b1
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x134]
push str._sOutputFile_s
push eax
call fcn.005933b1
movsd xmm0, qword [ebp - 0xc]
lea eax, [ebp - 0x34]
add esp, 0x24
movsd qword [esp], xmm0
push str._r_.2lf
push eax
call fcn.005933b1
mov edi, dword [ebp - 0xd40]
mov eax, dword [edi + 0x90]
inc eax
push eax
lea eax, [ebp - 0x5b4]
push str._dFirstPage_d
push eax
call fcn.005933b1
mov eax, dword [edi + 0x90]
inc eax
push eax
lea eax, [ebp - 0x634]
push str._dLastPage_d
push eax
call fcn.005933b1
add esp, 0x28
mov dword [ebp - 0xd34], str._dMaxBitmap300000000
test dword [edi + 0x8c], 0x100000
mov eax, str._sDEVICEtiff32nc
mov ecx, str._sDEVICEpnmraw
mov dword [ebp - 0xd2c], 0x5dadf4
cmove eax, ecx
mov dword [ebp - 0xd28], str._dNOPAUSE
mov dword [ebp - 0xd30], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xd18], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0xd14], eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0xd24], str._dSAFER
mov edi, 0xa
mov dword [ebp - 0xd20], str._dTextAlphaBits4
mov dword [ebp - 0xd1c], str._dGraphicsAlphaBits4
mov dword [ebp - 0xd10], eax
mov dword [ebp - 0xd3c], edi
test esi, esi
je 0x492322
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0xa34]
push str._I_s
push eax
call fcn.005933b1
lea eax, [ebp - 0xa34]
mov edi, 0xb
add esp, 0xc
mov dword [ebp - 0xd0c], eax
mov dword [ebp - 0xd3c], edi
mov eax, dword [ebp - 0xd40]
cmp byte [eax + 0x108], 0
je 0x492343
mov dword [ebp + edi*4 - 0xd34], str._dUseCIEColor
inc edi
mov dword [ebp - 0xd3c], edi
push 0
lea eax, [ebp - 0xd3c]
push eax
lea eax, [ebp - 0xd34]
push eax
call fcn.00490c80
mov eax, dword [ebp - 0xd3c]
lea ecx, [ebp - 0x334]
mov esi, eax
mov dword [ebp + eax*4 - 0xd34], ecx
mov dword [ebp + eax*4 - 0xd30], str._c_quit
mov dword [ebp + eax*4 - 0xd2c], str._c_quit
add eax, 3
push eax
lea eax, [ebp - 0xd34]
push eax
lea eax, [ebp - 0xc34]
push eax
call fcn.004904f0
add esp, 0x18
cmp edi, esi
jge 0x4923b5
push dword [ebp + edi*4 - 0xd34]
call fcn.00592c4b
inc edi
add esp, 4
cmp edi, esi
jl 0x4923a1
lea eax, [ebp - 0x334]
push eax
call fcn.0045c700
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0xdfc]
push eax
call fcn.0045cae0
lea eax, [ebp - 0xdfc]
push 0x11
push eax
call fcn.0045cb00
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x49240f
lea eax, [ebp - 0x334]
push eax
call fcn.0045c700
add esp, 4
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xd40]
test dword [edi + 0x8c], 0x100000
je 0x492442
cmp dword [ebp - 0xd70], 0
mov ecx, str.Postscript
mov eax, str.Encapsuled_Postscript
cmove eax, ecx
push eax
push edi
push esi
call fcn.005007e0
add esp, 0xc
jmp 0x492476
push dword [edi + 0x90]
push esi
call fcn.004924b0
cvttsd2si eax, qword [ebp - 0xc]
cmp dword [ebp - 0xd70], 0
mov ecx, str.Postscript
movzx eax, ax
push eax
mov eax, str.Encapsuled_Postscript
cmove eax, ecx
push eax
push edi
push esi
call fcn.00486b00
add esp, 0x18
push esi
movzx edi, ax
call fcn.0045ca10
lea eax, [ebp - 0x534]
push eax
call fcn.0045c700
mov eax, dword [ebp - 0xd40]
add esp, 8
mov ecx, dword [ebp - 0xda4]
mov dword [eax + 0x3c], ecx
mov ax, di
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret