Function at 0x414727
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456e93
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x489d50]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x30]
cmp dword [0x48e9a0], ebx
jne 0x414788
push str.Cancel_BITs_Jobs_not_allowed
call fcn.0040215a
push ebx
lea eax, [esp + 0x34]
push eax
push 2
mov dword [esp + 0x74], ebx
call fcn.0040ece1
mov ecx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x414a6d
push str.CancelJobs
call fcn.0040215a
push ebx
lea eax, [esp + 0x34]
push eax
push 2
pop esi
push esi
mov dword [esp + 0x74], 1
call fcn.0040ece1
or dword [esp + 0x74], 0xffffffff
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
call fcn.004142e4
cmp dword [esp + 0x18], ebx
je 0x414a75
mov eax, 0x473d2c
cmp dword [ebp + 8], ebx
jne 0x4147f4
mov eax, str.ArmAcrobatJobs
push eax
lea ecx, [esp + 0x44]
call fcn.0040215a
mov dword [esp + 0x68], esi
call fcn.0042a9e0
push eax
lea ecx, [esp + 0x24]
call fcn.00410472
mov byte [esp + 0x68], 3
call fcn.0042a9e0
push eax
lea ecx, [esp + 0x20]
call fcn.00410472
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x70], 4
call fcn.00414609
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x38], ebx
call dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x2c], ebx
jbe 0x414a09
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x18]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4149f7
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4149f7
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
cmp eax, ebx
jl 0x4149ed
push dword [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.0040215a
mov byte [esp + 0x68], 5
push dword [esp + 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [esp + 0x40]
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00408c65
cmp eax, 0xffffffff
jne 0x4148ea
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
je 0x4149dc
push dword [esp + 0x10]
xor ecx, ecx
lea esi, [esp + 0x24]
call fcn.00408c65
cmp eax, 0xffffffff
je 0x4149dc
push str.job_to_cancel:
lea ecx, [esp + 0x38]
call fcn.0040215a
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
push 2
mov byte [esp + 0x78], 6
call fcn.0040e85b
mov byte [esp + 0x78], 5
mov ecx, dword [esp + 0x44]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
xor eax, eax
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
xor esi, esi
call dword [ecx + 0x30]
test eax, eax
jne 0x41496c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x41496c
sub ecx, dword [esp + 0x4c]
sbb eax, dword [esp + 0x50]
shrd ecx, eax, 0xa
shr eax, 0xa
mov esi, ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, ebx
je 0x4149b0
push str.unable_to_cancel_job:
lea ecx, [esp + 0x3c]
call fcn.0040215a
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
push 2
mov byte [esp + 0x78], 7
call fcn.0040e85b
mov ecx, dword [esp + 0x48]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x4149dc
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x4149c7
push 0x473d28
lea ecx, [esp + 0x20]
call fcn.00408e0c
mov eax, dword [esp + 0x10]
push dword [eax - 0xc]
lea ecx, [esp + 0x20]
push eax
call fcn.00401f90
add dword [esp + 0x30], esi
mov byte [esp + 0x68], 4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jb 0x414858
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
je 0x414a3b
mov eax, dword [0x48ea58]
mov edi, 0x48ea58
cmp dword [eax - 0xc], ebx
je 0x414a2b
push 0x473d28
call fcn.00414bf3
push esi
call fcn.00414bf3
mov eax, dword [esp + 0x30]
add dword [0x48ea5c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esi - 0x10]
call fcn.004025dc
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4