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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456067
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x486d50]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x30]
cmp dword [0x48b998], ebx
jne 0x413f92
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.0040e50d
mov ecx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x414277
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.0040e50d
or dword [esp + 0x74], 0xffffffff
mov ecx, dword [esp + 0x3c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
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.00413aee
cmp dword [esp + 0x18], ebx
je 0x41427f
mov eax, 0x471a14
cmp dword [ebp + 8], ebx
jne 0x413ffe
mov eax, str.ArmAcrobatJobs
push eax
lea ecx, [esp + 0x44]
call fcn.0040215a
mov dword [esp + 0x68], esi
call fcn.00429b48
push eax
lea ecx, [esp + 0x24]
call fcn.0040fc71
mov byte [esp + 0x68], 3
call fcn.00429b48
push eax
lea ecx, [esp + 0x20]
call fcn.0040fc71
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x70], 4
call fcn.00413e13
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 0x414213
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 0x414201
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x414201
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 0x4141f7
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.0040884e
cmp eax, 0xffffffff
jne 0x4140f4
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
je 0x4141e6
push dword [esp + 0x10]
xor ecx, ecx
lea esi, [esp + 0x24]
call fcn.0040884e
cmp eax, 0xffffffff
je 0x4141e6
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.0040e087
mov byte [esp + 0x78], 5
mov ecx, dword [esp + 0x44]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
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 0x414176
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x414176
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 0x4141ba
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.0040e087
mov ecx, dword [esp + 0x48]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
jmp 0x4141e6
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x4141d1
push 0x471a10
lea ecx, [esp + 0x20]
call fcn.004089c0
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.004025e7
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 0x414062
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
je 0x414245
mov eax, dword [0x48ba44]
mov edi, 0x48ba44
cmp dword [eax - 0xc], ebx
je 0x414235
push 0x471a10
call fcn.004143fd
push esi
call fcn.004143fd
mov eax, dword [esp + 0x30]
add dword [0x48ba48], 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.004025e7
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.004025e7
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