Function at 0x414de0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x488521
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
push 1
push 2
lea ecx, [esp + 0x48]
call fcn.0040d070
mov eax, dword [esp + 0xd0]
push eax
push str.uiTaskID:
push 0x492ed8
lea ecx, [esp + 0x4c]
push str.CDownloadDispatcher::RemoveTorrent
push ecx
mov dword [esp + 0xdc], 0
call fcn.0040cd30
add esp, 8
push eax
call fcn.0040cd30
add esp, 8
push eax
call fcn.0040cd30
add esp, 8
mov ecx, eax
call fcn.0040efe0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040cf40
mov ecx, esi
call fcn.0040cb20
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.0040c670
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x414e93
mov eax, dword [eax + 4]
jmp 0x414e96
add eax, 4
push eax
call dword [0x491350]
cmp dword [esp + 0x3c], esi
jb 0x414eb0
mov eax, dword [esp + 0x28]
push eax
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.00407ae0
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], 0x492650
call fcn.0047690c
mov ecx, dword [edi + 0x6c]
add esp, 4
test ecx, ecx
je 0x414ef2
mov edx, dword [edi + 8]
push edx
call fcn.00405620
lea ebp, [edi + 0x3c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x18], 0
call fcn.004102e0
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x20]
lea esi, [edi + 0x30]
push ecx
mov ecx, esi
call fcn.00410120
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebx, dword [esi + 4]
je 0x414f2d
cmp eax, esi
je 0x414f32
call fcn.0045c852
cmp dword [esp + 0x20], ebx
jne 0x414fa4
cmp byte [esp + 0x18], 0
mov dword [esp + 0xc8], 0xffffffff
je 0x415084
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x415084
xor edx, edx
lea ecx, [eax + 4]
xchg dword [ecx], edx
lea ecx, [eax + 8]
mov eax, 0x80000000
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x415084
cmp eax, 0x80000000
jle 0x415084
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x415084
call fcn.0040bb60
push eax
call dword [0x49135c]
jmp 0x415084
or ebx, 0xffffffff
cmp byte [esp + 0x18], 0
mov dword [esp + 0xc8], ebx
je 0x414ff5
mov eax, dword [esp + 0x14]
add dword [eax], ebx
jne 0x414ff5
xor ecx, ecx
lea edx, [eax + 4]
xchg dword [edx], ecx
lea ecx, [eax + 8]
mov eax, 0x80000000
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x414ff5
cmp eax, 0x80000000
jle 0x414ff5
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x414ff5
call fcn.0040bb60
push eax
call dword [0x49135c]
cmp dword [edi + 8], 0
je 0x415084
mov edi, dword [edi + 8]
mov edx, dword [esp + 0xd0]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xa4]
push edx
push edi
call eax
test eax, eax
jl 0x415084
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x18], 0
call fcn.004102e0
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0xd0], 2
call fcn.00410120
mov edi, dword [esp + 0x1c]
test edi, edi
mov ebp, dword [esi + 4]
je 0x415059
cmp edi, esi
je 0x41505e
call fcn.0045c852
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x415074
push eax
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004130a0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc8], ebx
call fcn.00410290
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 8