Function at 0x43f770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x5bd254]
xor eax, ebp
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x5c], 0
mov eax, dword [ebp + 0x28]
mov cx, word [eax]
mov word [ebp - 8], cx
mov edx, dword [ebp + 0x28]
mov ax, word [edx + 4]
mov word [ebp - 0x50], ax
mov ecx, dword [ebp + 0x28]
mov dx, word [ecx + 8]
mov word [ebp - 0xe0], dx
mov eax, dword [ebp + 0x28]
mov cx, word [eax + 0xc]
mov word [ebp - 0x68], cx
mov dword [ebp - 0x4c], 0x12c
cmp dword [0x6a2984], 1
jne 0x43f7d3
mov dword [ebp - 0xe4], 0xbb8
jmp 0x43f7e2
mov edx, dword [0x6a1bd0]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0xe4], eax
mov cx, word [ebp - 0xe4]
mov word [ebp - 4], cx
mov edx, dword [ebp + 0x28]
fild dword [edx]
movzx eax, word [ebp - 4]
mov dword [ebp - 0xe8], eax
fild dword [ebp - 0xe8]
fidiv dword [ebp - 0x4c]
fmulp st(1)
fadd qword [0x581440]
fnstcw word [ebp - 0xea]
movzx eax, word [ebp - 0xea]
or eax, 0xc00
mov dword [ebp - 0xf0], eax
fldcw word [ebp - 0xf0]
fistp dword [ebp - 0xf4]
fldcw word [ebp - 0xea]
mov cx, word [ebp - 0xf4]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
mov dword [ebp - 0xf8], edx
fild dword [ebp - 0xf8]
movzx eax, word [ebp - 4]
mov dword [ebp - 0xfc], eax
fild dword [ebp - 0xfc]
fdivp st(1)
fstp dword [ebp - 0x64]
fild dword [ebp - 0x4c]
fmul dword [ebp - 0x64]
fadd qword [0x581440]
fnstcw word [ebp - 0xfe]
movzx eax, word [ebp - 0xfe]
or eax, 0xc00
mov dword [ebp - 0x104], eax
fldcw word [ebp - 0x104]
fistp dword [ebp - 0x108]
fldcw word [ebp - 0xfe]
mov cx, word [ebp - 0x108]
mov word [ebp - 0xdc], cx
mov edx, dword [ebp + 8]
push edx
call fcn.005138b0
add esp, 4
add eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xb8], ecx
movzx edx, word [ebp - 0xe0]
cmp edx, 0xa
jle 0x43f91c
movzx eax, word [ebp - 0xe0]
cdq
mov ecx, 0xa
idiv ecx
mov word [ebp - 0xe0], ax
movzx eax, word [ebp - 0x68]
cdq
mov ecx, 0xa
idiv ecx
mov word [ebp - 0x68], ax
movzx edx, word [ebp - 0x68]
cmp edx, 0x64
jle 0x43f94b
movzx eax, word [ebp - 0x68]
cdq
mov ecx, 0x64
idiv ecx
mov word [ebp - 0x68], ax
movzx eax, word [ebp - 0xe0]
cdq
mov ecx, 0x64
idiv ecx
mov word [ebp - 0xe0], ax
movzx edx, word [ebp - 0x68]
push edx
movzx eax, word [ebp - 0xe0]
push eax
push str._d:_d
lea ecx, [ebp - 0xb0]
push ecx
call fcn.005135ca
add esp, 0x10
mov dx, word [ebp - 0x50]
push edx
call sym.convertifd.exe_PDFSetECCLevel
add esp, 4
lea eax, [ebp - 0xb0]
push eax
call sym.convertifd.exe_PDFSetAspect
add esp, 4
push 3
call sym.convertifd.exe_PDFSetModuleAspect
add esp, 4
call sym.convertifd.exe_MPDFDisable
push 1
call sym.convertifd.exe_PDFBinaryMode
add esp, 4
lea ecx, [ebp - 0xc0]
push ecx
push 0x43fd20
push 1
lea edx, [ebp - 0xd8]
push edx
call sym.convertifd.exe_MakeCallbackObject
add esp, 0x10
push 0
lea eax, [ebp - 0xd8]
push eax
call sym.convertifd.exe_PDFEncode
add esp, 8
movsx ecx, ax
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
jg 0x43f9ef
mov edx, dword [ebp - 0x58]
push edx
call fcn.0043fde0
add esp, 4
mov eax, dword [ebp - 0x58]
jmp 0x43fd0b
lea eax, [ebp - 0x48]
push eax
call sym.convertifd.exe_PDFGetDetails
add esp, 4
cmp dword [ebp + 0x24], 0
jge 0x43fa28
movzx ecx, word [ebp - 0x42]
movzx edx, word [ebp - 8]
imul ecx, edx
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0xc], ecx
movzx ecx, word [ebp - 0x44]
movzx edx, word [ebp - 8]
imul ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
jmp 0x43fd0b
push 0x5a8e00
push 0
push 0
call sym.convertifd.exe_TempNameWithExt
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 2
lea ecx, [ebp - 0x28]
push ecx
call sym.convertifd.exe_MakeFilenameObject
add esp, 0xc
mov word [ebp - 0x54], ax
movsx edx, word [ebp - 0x54]
test edx, edx
jne 0x43fa61
xor eax, eax
jmp 0x43fd0b
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0x5a
je 0x43fa97
cmp dword [ebp - 0x10c], 0xb4
je 0x43fadc
cmp dword [ebp - 0x10c], 0x10e
je 0x43fb4f
jmp 0x43fb91
movzx edx, word [ebp - 0x5c]
or edx, 0x100
mov word [ebp - 0x5c], dx
movzx eax, word [ebp - 0x44]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fmul dword [ebp - 0x64]
movzx ecx, word [ebp - 4]
mov dword [ebp - 0x114], ecx
fild dword [ebp - 0x114]
fmulp st(1)
call fcn.005132d0
mov edx, dword [ebp + 0x10]
sub edx, eax
mov dword [ebp + 0x10], edx
jmp 0x43fb99
movzx eax, word [ebp - 0x5c]
or eax, 0x200
mov word [ebp - 0x5c], ax
movzx ecx, word [ebp - 0x44]
mov dword [ebp - 0x118], ecx
fild dword [ebp - 0x118]
fmul dword [ebp - 0x64]
movzx edx, word [ebp - 4]
mov dword [ebp - 0x11c], edx
fild dword [ebp - 0x11c]
fmulp st(1)
call fcn.005132d0
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov dword [ebp + 0xc], ecx
movzx edx, word [ebp - 0x42]
mov dword [ebp - 0x120], edx
fild dword [ebp - 0x120]
fmul dword [ebp - 0x64]
movzx eax, word [ebp - 4]
mov dword [ebp - 0x124], eax
fild dword [ebp - 0x124]
fmulp st(1)
call fcn.005132d0
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov dword [ebp + 0x10], ecx
jmp 0x43fb99
movzx edx, word [ebp - 0x5c]
or edx, 0x300
mov word [ebp - 0x5c], dx
movzx eax, word [ebp - 0x42]
mov dword [ebp - 0x128], eax
fild dword [ebp - 0x128]
fmul dword [ebp - 0x64]
movzx ecx, word [ebp - 4]
mov dword [ebp - 0x12c], ecx
fild dword [ebp - 0x12c]
fmulp st(1)
call fcn.005132d0
mov edx, dword [ebp + 0xc]
sub edx, eax
mov dword [ebp + 0xc], edx
jmp 0x43fb99
mov ax, word [ebp - 0x5c]
mov word [ebp - 0x5c], ax
mov cx, word [ebp - 0x5c]
push ecx
movzx edx, word [ebp - 0xdc]
movzx eax, word [ebp - 0x4c]
shl eax, 0x10
or edx, eax
push edx
call sym.convertifd.exe_PDFOutputAsPCX
add esp, 8
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x28]
push edx
call sym.convertifd.exe_PDFMakeImage
add esp, 8
movsx eax, ax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jge 0x43fbdb
mov eax, dword [ebp - 0x58]
jmp 0x43fd0b
mov ecx, dword [ebp + 0x2c]
cmp dword [ecx + 0xc], 0x5a
je 0x43fbf0
mov edx, dword [ebp + 0x2c]
cmp dword [edx + 0xc], 0x10e
jne 0x43fc14
movzx eax, word [ebp - 0x42]
movzx ecx, word [ebp - 8]
imul eax, ecx
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
movzx edx, word [ebp - 0x44]
movzx eax, word [ebp - 8]
imul edx, eax
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
jmp 0x43fc36
movzx ecx, word [ebp - 0x44]
movzx edx, word [ebp - 8]
imul ecx, edx
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
movzx eax, word [ebp - 0x42]
movzx ecx, word [ebp - 8]
imul eax, ecx
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
fild dword [ebp + 0xc]
fmul qword [0x581480]
movzx edx, word [ebp - 4]
mov dword [ebp - 0x130], edx
fild dword [ebp - 0x130]
fdivp st(1)
call fcn.005132d0
mov dword [ebp + 0xc], eax
fild dword [ebp + 0x10]
fmul qword [0x581480]
movzx eax, word [ebp - 4]
mov dword [ebp - 0x134], eax
fild dword [ebp - 0x134]
fdivp st(1)
call fcn.005132d0
mov dword [ebp + 0x10], eax
fild dword [ebp - 0x30]
fmul qword [0x581480]
movzx ecx, word [ebp - 4]
mov dword [ebp - 0x138], ecx
fild dword [ebp - 0x138]
fdivp st(1)
call fcn.005132d0
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x2c]
fmul qword [0x581480]
movzx edx, word [ebp - 4]
mov dword [ebp - 0x13c], edx
fild dword [ebp - 0x13c]
fdivp st(1)
call fcn.005132d0
mov dword [ebp - 0x2c], eax
mov eax, dword [0x6a1184]
mov ecx, dword [eax + 0x70]
cmp dword [ecx + 0x48], 6
je 0x43fcf2
push 0xffffffffffffffff
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sym.convertifd.exe_ProcLogo
add esp, 0x20
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0xc]
push edx
call fcn.00513a0e
add esp, 4
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.00511a80
mov esp, ebp
pop ebp
ret