Function at 0x50ef60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x778400]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ecx
call fcn.0051eed0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x2d44]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
push 0x2712
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00521ea0
add esp, 0xc
push 0x511980
push 0x4e2b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00521ea0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x2711
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00521ea0
add esp, 0xc
push 0
push 0x2b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call fcn.00521ea0
add esp, 0xc
push 0x5145f0
push 0x4e58
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00521ea0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x2749
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00521ea0
add esp, 0xc
push 1
push 0x63
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00521ea0
add esp, 0xc
push 1
push 0x13
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call fcn.00521ea0
add esp, 0xc
push 5
push 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00521ea0
add esp, 0xc
push 0x4e20
push 0xd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00521ea0
add esp, 0xc
push str.Downloader
push 0x2722
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call fcn.00521ea0
add esp, 0xc
push 1
push 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00521ea0
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00521ea0
add esp, 0xc
push 0
push 0x51
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call fcn.00521ea0
add esp, 0xc
mov byte [ebp - 0x44], 0
push 0x3f
push 0
lea ecx, [ebp - 0x43]
push ecx
call fcn.0066eb10
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0xc], 0
ja 0x50f101
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 8], 0
jb 0x50f184
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x134]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp - 0x54]
ja 0x50f184
jb 0x50f130
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x18]
cmp eax, dword [ebp - 0x58]
ja 0x50f184
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
push str._lld__lld
push 0x40
lea ecx, [ebp - 0x44]
push ecx
call fcn.0066d9fe
add esp, 0x1c
lea edx, [ebp - 0x44]
push edx
push 0x2717
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.00521ea0
add esp, 0xc
push 1
push 0x34
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call fcn.00521ea0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00513490
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x5139d0
push 0
push 0
call fcn.0066da1a
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str.Download_BeginDownloadItem_:_id__d__thread__d_._n
call fcn.004e64c0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret 4