Function at 0x5c0ed0
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
mov dword [edi], vtable.Download.0
je 0x5c0f18
push 2
push dword [edi + 0x12c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 0xb8]
mov byte [edi + 0x20], 0
test eax, eax
je 0x5c0f0c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0xb8], 0
push dword [edi + 0x158]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x14c]
cmp ecx, 0x10
jb 0x5c0f52
mov eax, dword [edi + 0x138]
inc ecx
cmp ecx, 0x1000
jb 0x5c0f48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
push esi
lea esi, [edi + 0x130]
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0xf
mov byte [edi + 0x138], 0
push dword [esi]
push esi
call fcn.005c2940
push 0x20
push dword [esi]
call fcn.00663ac7
mov eax, dword [edi + 0x124]
add esp, 0x10
pop esi
test eax, eax
je 0x5c0fa6
push eax
call fcn.0066a657
add esp, 4
mov dword [edi + 0x128], 0
mov ecx, dword [edi + 0x120]
cmp ecx, 0x10
jb 0x5c0fe0
mov eax, dword [edi + 0x10c]
inc ecx
cmp ecx, 0x1000
jb 0x5c0fd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0xf
mov byte [edi + 0x10c], 0
mov ecx, dword [edi + 0xf8]
cmp ecx, 0x10
jb 0x5c1035
mov eax, dword [edi + 0xe4]
inc ecx
cmp ecx, 0x1000
jb 0x5c102b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0xf
mov byte [edi + 0xe4], 0
mov ecx, dword [edi + 0xdc]
cmp ecx, 0x10
jb 0x5c108a
mov eax, dword [edi + 0xc8]
inc ecx
cmp ecx, 0x1000
jb 0x5c1080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0xf
mov byte [edi + 0xc8], 0
mov ecx, dword [edi + 0xb4]
cmp ecx, 0x10
jb 0x5c10df
mov eax, dword [edi + 0xa0]
inc ecx
cmp ecx, 0x1000
jb 0x5c10d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0xf
mov byte [edi + 0xa0], 0
mov ecx, dword [edi + 0x9c]
cmp ecx, 0x10
jb 0x5c1134
mov eax, dword [edi + 0x88]
inc ecx
cmp ecx, 0x1000
jb 0x5c112a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0xf
mov byte [edi + 0x88], 0
mov ecx, dword [edi + 0x84]
cmp ecx, 0x10
jb 0x5c1186
mov eax, dword [edi + 0x70]
inc ecx
cmp ecx, 0x1000
jb 0x5c117c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0xf
mov byte [edi + 0x70], 0
mov ecx, dword [edi + 0x6c]
cmp ecx, 0x10
jb 0x5c11d2
mov eax, dword [edi + 0x58]
inc ecx
cmp ecx, 0x1000
jb 0x5c11c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
mov ecx, dword [edi + 0x54]
cmp ecx, 0x10
jb 0x5c1214
mov eax, dword [edi + 0x40]
inc ecx
cmp ecx, 0x1000
jb 0x5c120a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov ecx, dword [edi + 0x38]
cmp ecx, 0x10
jb 0x5c1256
mov eax, dword [edi + 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x5c124c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c126a
mov eax, edx
push ecx
push eax
call fcn.00663ac7
add esp, 8
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xf
mov byte [edi + 0x24], 0
pop edi
ret
call fcn.0066a5fb
int3