Function at 0x414aa0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4884c6
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x89c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x8b4]
mov dword fs:[0], eax
push 0xcf
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xbc]
push 0x3fc
push eax
mov edi, ecx
call fcn.0045c9a6
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x14
lea ecx, [esp + 0xb0]
push ecx
call esi
push 1
push 2
lea ecx, [esp + 0x38]
call fcn.0040d070
push str.:_UninitDownload_start
lea edx, [esp + 0x34]
push str.CDownloadDispatcher::UninitDownload
push edx
mov dword [esp + 0x8c8], 0
call fcn.0040cd30
add esp, 8
push eax
call fcn.0040cd30
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040cf40
mov ecx, ebp
call fcn.0040cb20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.0040c670
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x414b78
mov eax, dword [eax + 4]
jmp 0x414b7b
add eax, 4
push eax
call esi
cmp dword [esp + 0x2c], ebx
jb 0x414b91
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8bc], 0xffffffff
call fcn.00407ae0
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x80], 0x492650
call fcn.0047690c
add esp, 4
cmp byte [edi + 0x10], 0
je 0x414db1
push 0xdb
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xbc]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xb0]
push ecx
call esi
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x414c01
call fcn.0040d1a0
push 0xdf
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea edx, [esp + 0xbc]
push 0x3fc
push edx
call fcn.0045c9a6
add esp, 0x14
lea eax, [esp + 0xb0]
push eax
call esi
push 1
push 2
lea ecx, [esp + 0x38]
call fcn.0040d070
push str.:UninitDownload_stopBT_end
lea ecx, [esp + 0x34]
push str.CDownloadDispatcher::UninitDownload
push ecx
mov dword [esp + 0x8c8], 1
call fcn.0040cd30
add esp, 8
push eax
call fcn.0040cd30
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040cf40
mov ecx, ebp
call fcn.0040cb20
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
call fcn.0040c670
cmp dword [eax + 0x18], ebx
jb 0x414c91
mov eax, dword [eax + 4]
jmp 0x414c94
add eax, 4
push eax
call esi
cmp dword [esp + 0x2c], ebx
jb 0x414caa
mov eax, dword [esp + 0x18]
push eax
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8bc], 0xffffffff
call fcn.00407ae0
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x80], 0x492650
call fcn.0047690c
mov eax, dword [edi + 8]
add esp, 4
test eax, eax
je 0x414d25
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
push 0xeb
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea ecx, [esp + 0xbc]
push 0x3fc
push ecx
call fcn.0045c9a6
add esp, 0x14
lea edx, [esp + 0xb0]
push edx
call esi
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 8], 0
push 0xf0
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xbc]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0xb0]
push ecx
call esi
mov eax, dword [edi + 0xc]
test eax, eax
lea ebp, [edi + 0xc]
je 0x414d7f
push str.ReleaseCommLib
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414d6f
call eax
push ebp
call fcn.00451f80
add esp, 4
mov dword [ebp], 0
push 0x103
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea edx, [esp + 0x4bc]
push 0x3fc
push edx
mov byte [edi + 0x10], 0
call fcn.0045c9a6
add esp, 0x14
lea eax, [esp + 0x4b0]
push eax
call esi
mov ecx, dword [esp + 0x8b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x89c]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x8ac
ret