Function at 0x414de0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x487dd6
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x4ab13c]
xor eax, esp
mov dword [esp + 0x89c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ab13c]
xor eax, esp
push eax
lea eax, [esp + 0x8b4]
mov dword fs:[0], eax
push 0xc9
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xbc]
push 0x3fc
push eax
mov edi, ecx
call fcn.0045c2d6
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.0040cff0
push str.:_UninitDownload_start
lea edx, [esp + 0x34]
push str.CDownloadDispatcher::UninitDownload
push edx
mov dword [esp + 0x8c8], 0
call fcn.0040ccb0
add esp, 8
push eax
call fcn.0040ccb0
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040cec0
mov ecx, ebp
call fcn.0040cb30
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.0040c680
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x414eb8
mov eax, dword [eax + 4]
jmp 0x414ebb
add eax, 4
push eax
call esi
cmp dword [esp + 0x2c], ebx
jb 0x414ed1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00451909
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8bc], 0xffffffff
call fcn.00407ad0
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x80], 0x491650
call fcn.0047623c
add esp, 4
cmp byte [edi + 0x10], 0
je 0x4150f1
push 0xd5
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xbc]
push 0x3fc
push eax
call fcn.0045c2d6
add esp, 0x14
lea ecx, [esp + 0xb0]
push ecx
call esi
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x414f41
call fcn.0040d120
push 0xd9
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea edx, [esp + 0xbc]
push 0x3fc
push edx
call fcn.0045c2d6
add esp, 0x14
lea eax, [esp + 0xb0]
push eax
call esi
push 1
push 2
lea ecx, [esp + 0x38]
call fcn.0040cff0
push str.:UninitDownload_stopBT_end
lea ecx, [esp + 0x34]
push str.CDownloadDispatcher::UninitDownload
push ecx
mov dword [esp + 0x8c8], 1
call fcn.0040ccb0
add esp, 8
push eax
call fcn.0040ccb0
add esp, 8
mov ebp, eax
push 0xa
mov ecx, ebp
call fcn.0040cec0
mov ecx, ebp
call fcn.0040cb30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
call fcn.0040c680
cmp dword [eax + 0x18], ebx
jb 0x414fd1
mov eax, dword [eax + 4]
jmp 0x414fd4
add eax, 4
push eax
call esi
cmp dword [esp + 0x2c], ebx
jb 0x414fea
mov eax, dword [esp + 0x18]
push eax
call fcn.00451909
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8bc], 0xffffffff
call fcn.00407ad0
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x80], 0x491650
call fcn.0047623c
mov eax, dword [edi + 8]
add esp, 4
test eax, eax
je 0x415065
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
push 0xe5
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea ecx, [esp + 0xbc]
push 0x3fc
push ecx
call fcn.0045c2d6
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 0xea
push str.CDownloadDispatcher::UninitDownload
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xbc]
push 0x3fc
push eax
call fcn.0045c2d6
add esp, 0x14
lea ecx, [esp + 0xb0]
push ecx
call esi
mov eax, dword [edi + 0xc]
test eax, eax
lea ebp, [edi + 0xc]
je 0x4150bf
push str.ReleaseCommLib
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4150af
call eax
push ebp
call fcn.004518b0
add esp, 4
mov dword [ebp], 0
push 0xfd
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.0045c2d6
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.0045b0da
add esp, 0x8ac
ret