Function at 0x409a50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d1c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70af2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x100], 0
mov dword [esi], vtable.CCutePDFFormCo.0
je 0x409aa6
mov eax, dword [esi + 0x10c]
cmp eax, dword [0x6a77a8]
je 0x409aa6
mov eax, dword [esi + 0x108]
lea ecx, [esi + 0x108]
call dword [eax + 0x50]
mov eax, dword [esi + 0x5c]
cmp dword [eax - 0xc], 0
je 0x409ab6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esi + 0x70]
lea edi, [esi + 0x70]
call fcn.004118e0
add esp, 4
or ebx, 0xffffffff
test eax, eax
je 0x409b00
push 0x6db034
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0040d8b0
push 1
push dword [eax]
call fcn.00411790
mov edx, dword [ebp - 0x10]
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409b00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x20], 0
je 0x409b47
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
cmp dword [eax - 0xc], 0
je 0x409b47
push str.Bin.
push ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0040d8b0
push 1
push dword [eax]
call fcn.00411790
mov edx, dword [ebp - 0x14]
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409b47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.0040a550
mov ecx, esi
call fcn.0040a5e0
call fcn.00411580
mov eax, dword [0x6dbf50]
cmp dword [eax], 0
je 0x409b69
call fcn.004115f0
cmp dword [esi + 0x1cc], 0
jle 0x409bad
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x1c4]
lea ecx, [esi + 0x1c0]
mov edi, dword [eax + 8]
call fcn.0052aa65
test edi, edi
je 0x409ba1
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
cmp dword [esi + 0x1cc], 0
jg 0x409b80
or ebx, 0xffffffff
lea ecx, [esi + 0x1f0]
lea edi, [esi + 0x1c0]
call fcn.0052c534
lea ecx, [esi + 0x1dc]
call fcn.0052c16e
mov ecx, edi
call fcn.0052a742
lea ecx, [esi + 0x1a4]
call fcn.0052a742
lea ecx, [esi + 0x18c]
call fcn.0052b06a
mov edx, dword [esi + 0x180]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x124]
call fcn.0052bc16
mov edx, dword [esi + 0x120]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x11c]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x108]
call fcn.0052b06a
lea ecx, [esi + 0xec]
call fcn.0052a48c
lea ecx, [esi + 0xbc]
call fcn.0052ab70
mov edx, dword [esi + 0x70]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x6c]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x68]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x64]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x60]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409ceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x5c]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x58]
sub edx, 0x10
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x409d1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.00528e04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret