Function at 0x584cc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63abb0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x40], esi
mov ecx, dword [esi + 0x31fc]
mov eax, dword [esi + 0x3204]
xor ebx, ebx
cmp ecx, eax
jae 0x584e39
cmp byte [esi + 0x3270], bl
je 0x584e13
mov edx, dword [esi + 0x326c]
cmp edx, ebx
je 0x584e13
push ebx
sub eax, ecx
push eax
mov eax, dword [esi + 0x3208]
add eax, edx
push eax
mov ecx, dword [esi + 0x3220]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jg 0x584e2d
cmp eax, 0xffffffff
jne 0x584dc3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x5853f1
push 1
mov edx, dword [0x7103cc]
push edx
mov ecx, esi
call fcn.0054cc90
lea ecx, [ebp - 0x3c]
call fcn.004024e0
mov dword [ebp - 4], ebx
push edi
push str.Recv_header_failed__error___ld_n
lea eax, [ebp - 0x3c]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, esi
call fcn.0054c540
mov esi, dword [esi + 0x3224]
cmp esi, ebx
je 0x584daf
cmp edi, ebx
jne 0x584da9
mov edi, 0xfffffffd
mov dword [esi + 0x140], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402550
jmp 0x5853f1
mov edx, dword [esi + 0x3204]
sub edx, dword [esi + 0x31fc]
je 0x584e25
cmp eax, ebx
jne 0x584e27
push 1
mov eax, dword [0x7103d0]
push eax
mov ecx, esi
call fcn.0054cc90
mov ecx, dword [0x710364]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.00554e70
mov esi, dword [esi + 0x3224]
cmp esi, ebx
je 0x5853f1
mov dword [esi + 0x140], 0xfffffffc
jmp 0x5853f1
sub eax, ecx
push eax
push ebx
mov edx, dword [esi + 0x3220]
push edx
mov ecx, esi
call fcn.0054faa0
cmp eax, ebx
jle 0x5853f1
add dword [esi + 0x31fc], eax
add dword [esi + 0x3208], eax
mov eax, dword [esi + 0x3208]
cmp eax, dword [esi + 0x31e8]
jb 0x5853c4
mov eax, dword [esi + 0x3224]
cmp eax, ebx
je 0x585037
mov byte [eax + 0x240], 1
mov ecx, dword [esi + 0x3224]
cmp dword [ecx + 0xf4], ebx
je 0x585037
cmp dword [esi + 0x326c], ebx
je 0x585037
lea edx, [ebp - 0x35]
push edx
mov ecx, esi
call fcn.00581da0
test eax, eax
jne 0x5853f1
cmp byte [ebp - 0x35], bl
je 0x585037
mov eax, dword [esi + 0x3224]
cmp dword [eax + 0x13c], ebx
jne 0x584ef0
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x584eb9
mov eax, ecx
jmp 0x584ebb
mov eax, dword [eax]
push 0x50041
push eax
push str.The_file_has_been_changed_on_the_server._nIt_will_be_downloaded_from_the_beginning.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x584ef0
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x140], 0x7540
jmp 0x5853f1
lea ecx, [esi + 0x10]
call fcn.00554f50
mov eax, dword [esi + 0x3224]
cmp dword [eax + 0xb0], ebx
setne byte [ebp - 0x35]
lea ecx, [eax + 0x28]
call fcn.005464d0
mov eax, dword [esi + 0x3224]
mov dword [eax + 0xc8], ebx
mov dword [eax + 0xcc], ebx
mov eax, dword [esi + 0x3224]
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], ebx
mov eax, dword [esi + 0x3224]
mov dword [eax + 0x1c0], ebx
mov dword [eax + 0x1c4], ebx
lea ecx, [esi + 0x3214]
call fcn.0058df10
mov dword [esi + 0x90], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov edx, dword [esi + 0x3224]
mov byte [edx + 0x240], bl
cmp dword [esi + 0x326c], ebx
je 0x584fbc
mov dword [ebp - 4], 1
wait
mov eax, dword [esi + 0x326c]
push eax
call fcn.005cfa9b
add esp, 4
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x584fbc
mov dword [esi + 0x326c], ebx
mov byte [esi + 0x3270], bl
mov byte [esi + 0x32b4], bl
xor eax, eax
mov word [esi + 0x3230], ax
mov dword [esi + 0x3210], ebx
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x20]
call eax
mov edx, dword [esi]
lea eax, [esi + 0x3220]
push eax
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
cmp byte [ebp - 0x35], bl
je 0x58502b
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x30]
push ecx
push esi
mov ecx, dword [esi + 0x3224]
add ecx, 0x28
call fcn.00546660
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edx, eax
or edx, ecx
je 0x58502b
sub eax, 1
sbb ecx, ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov ecx, esi
call fcn.0054c7f0
jmp 0x5853f1
cmp dword [esi + 0x31e0], ebx
je 0x58504b
cmp dword [esi + 0x31f8], ebx
jne 0x585111
mov ecx, esi
call fcn.00584b70
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x40], ebx
jne 0x585111
cmp dword [esi + 0x3224], ebx
je 0x585111
mov edi, vtable.StringConvertor.0
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
push ecx
fld qword [esi + 0x31f0]
call fcn.005fa886
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0043abb0
lea ecx, [ebp - 0x48]
call fcn.004024e0
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x3224]
mov edx, dword [eax + 0x860]
cmp dword [edx - 0xc], ebx
mov ecx, 0x687ab4
jne 0x5850bc
mov ecx, 0x64f8bc
lea edx, [ebp - 0x34]
push edx
mov edx, dword [eax + 0x860]
push edx
push ecx
mov ecx, dword [eax + 0x85c]
push ecx
mov edx, dword [eax + 0x858]
push edx
push str._s___s_s_s__Length:__s
lea eax, [ebp - 0x48]
push eax
call fcn.00402f60
add esp, 0x1c
push 1
mov ecx, dword [ebp - 0x48]
push ecx
push ebx
push 5
mov ecx, dword [esi + 0x3224]
call fcn.00599fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00402550
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], edi
cmp byte [esi + 0x320d], bl
je 0x585125
mov dword [esi + 0x31e0], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [esi + 0x31e0]
cmp edx, ebx
je 0x5851c2
mov ecx, dword [esi + 0x31dc]
cmp ecx, ebx
je 0x5851c2
mov eax, dword [esi + 0x31f8]
mov edi, eax
shl edi, 5
sub edi, eax
mov eax, edx
imul eax, ecx
lea ecx, [eax + edi*2]
add ecx, dword [esi + 0x31e8]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ebx
cmp dword [esi + 0x64], ebx
jg 0x58517d
jl 0x58516e
cmp dword [esi + 0x60], ebx
ja 0x58517d
mov eax, ecx
sub eax, 1
mov ecx, ebx
sbb ecx, ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
dec edx
mov dword [esi + 0x7c], edx
mov ecx, dword [esi + 0x3224]
cmp ecx, ebx
je 0x5851c2
push 1
mov edx, ebx
push edx
mov eax, dword [esi + 0x48]
push eax
call fcn.00599560
mov ecx, dword [esi + 0x3224]
mov edi, dword [ecx + 0x1b0]
call fcn.00597fe0
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x1a8], eax
mov edx, dword [esi + 0x3224]
mov dword [edx + 0x1b0], edi
lea ecx, [ebp - 0x3c]
call fcn.004024e0
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x4c]
push eax
mov ecx, dword [esi + 0x48]
push ecx
mov edx, dword [esi + 0x31f8]
push edx
fld qword [esi + 0x31f0]
call fcn.005fa886
push edx
push eax
mov eax, dword [esi + 0x31dc]
push eax
mov ecx, dword [esi + 0x31e0]
push ecx
push str.Media_header_has_been_parsed:_nPackets_number__ld__packet_length__ld__media_length__I64d__streams_count__d__file_size__I64d_n
lea edx, [ebp - 0x3c]
push edx
call fcn.00402f60
add esp, 0x24
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0054c540
mov ecx, dword [esi + 0x31dc]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.0054b9c0
cmp dword [esi + 0x3224], ebx
je 0x5852e2
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
cmp edx, ebx
jl 0x5852a5
jg 0x585245
cmp ecx, ebx
jbe 0x5852a5
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
cmp edi, ecx
jne 0x58525b
cmp eax, edx
je 0x58527e
mov eax, dword [esi + 0x3224]
mov eax, dword [eax + 0x864]
imul eax, dword [esi + 0x31dc]
xor edx, edx
add eax, edi
adc edx, dword [ebp - 0x40]
cmp eax, ecx
jne 0x5852a5
cmp edx, dword [esi + 0x4c]
jne 0x5852a5
mov ecx, esi
call fcn.00584460
mov edx, dword [esi + 0x3224]
mov dword [edx + 0x140], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402550
jmp 0x5853f1
push ebx
mov ecx, dword [esi + 0x3224]
call fcn.00586ad0
test eax, eax
je 0x5852e2
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [esi + 0x3224]
mov dword [eax + 0x140], 0x7574
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402550
jmp 0x5853f1
mov dword [esi + 0x78], ebx
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
cmp eax, ebx
jl 0x585381
jg 0x5852fd
cmp ecx, ebx
jbe 0x585381
cmp dword [esi + 0x31dc], ebx
je 0x585381
mov edx, dword [esi + 0x31e8]
xor edi, edi
sub ecx, edx
sbb eax, edi
push ebx
mov edx, dword [esi + 0x31dc]
push edx
push eax
push ecx
call fcn.005ffdb0
mov edi, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x40], edx
mov dword [esi + 0x78], eax
test edi, edi
je 0x58534b
push edi
lea ecx, [esi + 0x10]
call fcn.00554fc0
xor ecx, ecx
sub dword [esi + 0x50], edi
sbb dword [esi + 0x54], ecx
mov eax, dword [esi + 0x94]
sub dword [eax], edi
sbb dword [eax + 4], ecx
mov eax, dword [esi + 0x31e8]
xor ecx, ecx
mov edx, dword [esi + 0x60]
sub edx, eax
mov eax, dword [esi + 0x64]
sbb eax, ecx
add edx, 1
adc eax, ecx
mov ecx, dword [esi + 0x31dc]
push 0
push ecx
push eax
push edx
call fcn.005fc580
dec eax
mov dword [esi + 0x7c], eax
mov edx, dword [esi + 0x80]
add dword [esi + 0x78], edx
xor ebx, ebx
mov eax, dword [esi + 0x78]
mov dword [esi + 0x31e4], eax
cmp eax, ebx
je 0x585393
lea ecx, [eax - 1]
jmp 0x585395
xor ecx, ecx
mov dword [esi + 0x3200], ecx
push eax
mov ecx, esi
call fcn.00582af0
cmp eax, ebx
je 0x5853b3
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x140], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402550
jmp 0x5853f1
mov edx, dword [esi + 0x31fc]
cmp edx, dword [esi + 0x3204]
jb 0x5853f1
mov dword [esi + 0x8c], 0x11
mov byte [esi + 0x3268], bl
xor eax, eax
mov word [esi + 0x3230], ax
mov dword [esi + 0x31fc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret