Function at 0x465260
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d7fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x513330]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
push edi
lea eax, [esp + 0x30]
push eax
mov ebx, 0x4f3628
mov dword [esp + 0x24], ebp
call fcn.00471780
lea ecx, [esp + 0x2c]
push str.____________________Entrance____________________
lea edx, [esp + 0x18]
push edx
mov eax, ecx
xor ebx, ebx
mov dword [esp + 0x84], ebx
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], str.AddNewSubItemThread
call fcn.00471a00
add esp, 0xc
mov byte [esp + 0x7c], 1
cmp edi, ebx
je 0x465484
cmp ebp, ebx
je 0x465484
lea ecx, [esp + 0x1c]
push ecx
lea eax, [edi + 0x1c4]
call fcn.0048c4f0
test eax, eax
jne 0x465389
lea esi, [esp + 0x24]
mov eax, edi
call fcn.0041b8d0
mov byte [esp + 0x7c], 2
mov edx, dword [eax]
mov eax, dword [ebp + 0x68]
push edx
push eax
push str.Failed_to_AddDownloadSubItem_of_subItemType_d__Url_s
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00471980
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46535d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00471810
jmp 0x4654d4
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x4653c2
push str.Should_stop.
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004719c0
add esp, 0xc
push str.______________________Exit______________________
lea eax, [esp + 0x18]
mov byte [esp + 0x80], bl
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x465373
mov ebp, dword [esp + 0x1c]
push ebx
push ebx
push ebp
push 0x4656b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0x6c], eax
cmp eax, ebx
je 0x46543b
push eax
lea eax, [edi + 0x168]
call fcn.00468430
lea esi, [esp + 0x20]
mov eax, edi
call fcn.0041b8d0
mov byte [esp + 0x7c], 3
mov edx, dword [eax]
mov eax, dword [ebp + 0x68]
push edx
push eax
push str.CreateThread_AsyncDownload__of_subItemType_d_Url_s
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.004719c0
add esp, 0x14
mov ecx, esi
call fcn.00405f50
lea eax, [esp + 0x14]
mov byte [esp + 0x7c], bl
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
call fcn.00471810
mov al, 1
jmp 0x4654d6
lea esi, [esp + 0x28]
mov eax, edi
call fcn.0041b8d0
mov byte [esp + 0x7c], 4
mov eax, dword [eax]
push eax
push str.Failed_to_CreateThread_AsyncDonwload__Url_s
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00471980
add esp, 0x10
mov ecx, esi
call fcn.00405f50
lea eax, [esp + 0x14]
mov byte [esp + 0x7c], bl
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
call fcn.00471810
jmp 0x4654d4
push str.______________________Exit______________________
lea eax, [esp + 0x18]
mov byte [esp + 0x80], bl
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
lea esi, [esp + 0x50]
mov dword [esp + 0x2c], vtable.Logger.0
call fcn.00472670
mov edx, dword [esp + 0x50]
push edx
call fcn.004a529a
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x4654d4
mov eax, dword [esp + 0x38]
push eax
call fcn.004a529a
add esp, 4
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004a52a5
add esp, 0x70
ret