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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457129
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 0x4147f4
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.0040ed4d
mov ecx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x414ad9
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.0040ed4d
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.00414350
cmp dword [esp + 0x18], ebx
je 0x414ae1
mov eax, 0x473d44
cmp dword [ebp + 8], ebx
jne 0x414860
mov eax, str.ArmAcrobatJobs
push eax
lea ecx, [esp + 0x44]
call fcn.0040215a
mov dword [esp + 0x68], esi
call fcn.0042ac34
push eax
lea ecx, [esp + 0x24]
call fcn.004104de
mov byte [esp + 0x68], 3
call fcn.0042ac34
push eax
lea ecx, [esp + 0x20]
call fcn.004104de
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x70], 4
call fcn.00414675
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 0x414a75
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 0x414a63
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x414a63
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 0x414a59
push dword [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.0040215a
mov byte [esp + 0x68], 5
push dword [esp + 0x24]
call dword [0x4596d0]
push dword [esp + 0x40]
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00408c71
cmp eax, 0xffffffff
jne 0x414956
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
je 0x414a48
push dword [esp + 0x10]
xor ecx, ecx
lea esi, [esp + 0x24]
call fcn.00408c71
cmp eax, 0xffffffff
je 0x414a48
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.0040e8c7
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 0x4149d8
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x4149d8
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 0x414a1c
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.0040e8c7
mov ecx, dword [esp + 0x48]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x414a48
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x414a33
push 0x473d40
lea ecx, [esp + 0x20]
call fcn.00408e18
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 0x4148c4
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
je 0x414aa7
mov eax, dword [0x48ea58]
mov edi, 0x48ea58
cmp dword [eax - 0xc], ebx
je 0x414a97
push 0x473d40
call fcn.00414c5f
push esi
call fcn.00414c5f
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 [0x4596cc]
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