Function at 0x42fb3e
Capabilities:
Resume thread

Disassembly:
push 0xc
mov eax, 0x5c9b0a
call fcn.00595e20
mov esi, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Downloading_packages...
call fcn.004015a6
xor edi, edi
mov dword [ebp - 4], edi
push 4
pop ebx
push ebx
or dword [ebp - 4], 0xffffffff
call fcn.0040b216
cmp dword [esi + 0x24], edi
jne 0x42fbca
inc edi
push edi
push 0x3a
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CPackageManager::StartDownloads
call fcn.004015a6
mov dword [ebp - 4], edi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Called_with_NULL_ConfigManager_
call fcn.004015a6
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.pkgnoconfig
call fcn.004015a6
mov byte [ebp - 4], 3
push edi
add esi, 4
mov eax, dword [esi]
add eax, 8
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax]
xor eax, eax
jmp 0x42fcf5
cmp dword [esi + 0x28], edi
jne 0x42fc12
push 1
push 0x40
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CPackageManager::StartDownloads
call fcn.004015a6
mov dword [ebp - 4], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Called_with_NULL_WebManager_
call fcn.004015a6
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.pkgnoweb
call fcn.004015a6
mov byte [ebp - 4], 6
push 1
jmp 0x42fbb3
cmp dword [esi + 0x34], edi
jle 0x42fcf2
lea ebx, [esi + 0x2c]
mov eax, edi
mov ecx, ebx
call fcn.004307db
cmp dword [eax + 8], 0
jne 0x42fce8
mov eax, edi
mov ecx, ebx
call fcn.004307db
add eax, 4
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x42fce8
mov eax, edi
mov ecx, ebx
call fcn.004307db
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.__downloading:
push ecx
mov ecx, eax
call fcn.004046a1
pop ecx
pop ecx
mov dword [ebp - 4], 7
push 4
or dword [ebp - 4], 0xffffffff
call fcn.0040b216
mov eax, edi
mov ecx, ebx
call fcn.004307db
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0xc], eax
jne 0x42fcfb
push eax
push 4
push eax
push eax
push esi
push 0x42fdae
call fcn.00570c4c
mov dword [ebp - 0x10], eax
mov eax, edi
mov ecx, ebx
call fcn.004307db
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
lea ebx, [esi + 0x2c]
mov eax, edi
mov ecx, ebx
call fcn.004307db
cmp dword [eax + 0xc], 0
je 0x42fd4f
mov eax, edi
mov ecx, ebx
call fcn.004307db
mov eax, dword [eax + 0xc]
and dword [eax + 0x28], 0
mov eax, edi
mov ecx, ebx
call fcn.004307db
mov eax, dword [eax + 0xc]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc edi
cmp edi, dword [esi + 0x34]
jl 0x42fc1e
xor eax, eax
inc eax
call fcn.00595ef8
ret
push 1
push 0x4d
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CPackageManager::StartDownloads
call fcn.004015a6
push 8
pop edi
mov dword [ebp - 4], edi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Thread_is_already_running_in_StartDownloads_
call fcn.004015a6
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.threadnotnull
call fcn.004015a6
mov byte [ebp - 4], 0xa
lea ecx, [esi + 4]
mov eax, dword [ecx]
add eax, edi
push 1
or dword [ebp - 4], 0xffffffff
jmp 0x42fbc1
push 1
push 0x57
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CPackageManager::StartDownloads
call fcn.004015a6
mov dword [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.AfxBeginThread_failed_
call fcn.004015a6
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.beginthread
call fcn.004015a6
mov byte [ebp - 4], 0xd
lea edi, [esi + 4]
mov esi, dword [edi]
add esi, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call dword [esi]
jmp 0x42fbc3