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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660868
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
mov ecx, dword [esi + 0x3214]
mov eax, dword [esi + 0x321c]
xor ebx, ebx
cmp ecx, eax
jae 0x59ce54
cmp byte [esi + 0x3288], bl
je 0x59ce2e
mov edx, dword [esi + 0x3284]
cmp edx, ebx
je 0x59ce2e
push ebx
sub eax, ecx
push eax
mov eax, dword [esi + 0x3220]
add eax, edx
push eax
mov ecx, dword [esi + 0x3238]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jg 0x59ce48
cmp eax, 0xffffffff
jne 0x59cdd1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x59d484
push 1
mov edx, dword [0x75ba8c]
push edx
mov ecx, esi
call fcn.00560b40
lea ecx, [ebp - 0x18]
call fcn.00402500
mov dword [ebp - 4], ebx
push edi
push str.Recv_header_failed__error___ld_n
lea eax, [ebp - 0x18]
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.00560320
mov esi, dword [esi + 0x323c]
cmp esi, ebx
je 0x59cdb0
cmp edi, ebx
jne 0x59cdaa
mov edi, 0xfffffffd
mov dword [esi + 0x144], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x321c]
sub edx, dword [esi + 0x3214]
je 0x59ce40
cmp eax, ebx
jne 0x59ce42
push 1
mov eax, dword [0x75ba90]
push eax
mov ecx, esi
call fcn.00560b40
mov ecx, dword [0x75ba24]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.00569300
mov esi, dword [esi + 0x323c]
cmp esi, ebx
je 0x59d484
mov dword [esi + 0x144], 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
push eax
push ebx
mov edx, dword [esi + 0x3238]
push edx
mov ecx, esi
call fcn.00563cd0
cmp eax, ebx
jle 0x59d484
add dword [esi + 0x3214], eax
add dword [esi + 0x3220], eax
mov eax, dword [esi + 0x3220]
cmp eax, dword [esi + 0x3200]
jb 0x59d457
mov eax, dword [esi + 0x323c]
cmp eax, ebx
je 0x59d072
mov byte [eax + 0x240], 1
mov ecx, dword [esi + 0x323c]
cmp dword [ecx + 0xf4], ebx
je 0x59d072
cmp dword [esi + 0x3284], ebx
je 0x59d072
lea edx, [ebp - 0x11]
push edx
mov ecx, esi
call fcn.00599d90
test eax, eax
jne 0x59d484
cmp byte [ebp - 0x11], bl
je 0x59d072
mov eax, dword [esi + 0x323c]
cmp dword [eax + 0x140], ebx
jne 0x59cf18
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x59ced4
mov eax, ecx
jmp 0x59ced6
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 0x59cf18
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esi + 0x323c]
mov dword [ecx + 0x144], 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x10]
call fcn.005693f0
mov eax, dword [esi + 0x323c]
cmp dword [eax + 0xb0], ebx
setne byte [ebp - 0x11]
lea ecx, [eax + 0x28]
call fcn.00559220
mov eax, dword [esi + 0x323c]
mov dword [eax + 0xc8], ebx
mov dword [eax + 0xcc], ebx
mov eax, dword [esi + 0x323c]
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], ebx
mov eax, dword [esi + 0x323c]
mov dword [eax + 0x1c0], ebx
mov dword [eax + 0x1c4], ebx
lea ecx, [esi + 0x322c]
call fcn.005a6f80
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov edx, dword [esi + 0x323c]
mov byte [edx + 0x240], bl
cmp dword [esi + 0x3284], ebx
je 0x59cfea
mov dword [ebp - 4], 1
wait
mov eax, dword [esi + 0x3284]
push eax
call fcn.005f15b7
add esp, 4
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x59cfea
mov dword [esi + 0x3284], ebx
mov byte [esi + 0x3288], bl
mov byte [esi + 0x32cc], bl
xor eax, eax
mov word [esi + 0x3248], ax
mov dword [esi + 0x3228], ebx
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x20]
call eax
mov edx, dword [esi]
lea eax, [esi + 0x3238]
push eax
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
cmp byte [ebp - 0x11], bl
je 0x59d059
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x30]
push ecx
push esi
mov ecx, dword [esi + 0x323c]
add ecx, 0x28
call fcn.005593b0
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov edx, eax
or edx, ecx
je 0x59d059
sub eax, 1
sbb ecx, ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov ecx, esi
call fcn.00560630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x31f8], ebx
je 0x59d086
cmp dword [esi + 0x3210], ebx
jne 0x59d164
mov ecx, esi
call fcn.0059cb70
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x40], ebx
jne 0x59d164
cmp dword [esi + 0x323c], ebx
je 0x59d164
mov edi, vtable.StringConvertor.0
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402500
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
fld qword [esi + 0x3208]
call fcn.0061f596
push edx
push eax
lea ecx, [ebp - 0x24]
call fcn.0043f320
lea ecx, [ebp - 0x1c]
call fcn.00402500
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x323c]
mov edx, dword [eax + 0x860]
cmp dword [edx - 0xc], ebx
mov ecx, 0x6afeec
jne 0x59d103
mov ecx, 0x676974
mov edx, dword [ebp - 0x20]
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 - 0x1c]
push eax
call fcn.00402f70
add esp, 0x1c
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
push ebx
push 5
mov ecx, dword [esi + 0x323c]
call fcn.005b3250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00402570
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], edi
cmp byte [esi + 0x3225], bl
je 0x59d178
mov dword [esi + 0x31f8], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov edx, dword [esi + 0x31f8]
cmp edx, ebx
je 0x59d218
mov ecx, dword [esi + 0x31f4]
cmp ecx, ebx
je 0x59d218
mov eax, dword [esi + 0x3210]
mov edi, eax
shl edi, 5
sub edi, eax
mov eax, edx
imul eax, ecx
lea ecx, [eax + edi*2]
add ecx, dword [esi + 0x3200]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], ebx
cmp dword [esi + 0x74], ebx
jg 0x59d1d0
jl 0x59d1c1
cmp dword [esi + 0x70], ebx
ja 0x59d1d0
mov eax, ecx
sub eax, 1
mov ecx, ebx
sbb ecx, ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
dec edx
mov dword [esi + 0x8c], edx
mov ecx, dword [esi + 0x323c]
cmp ecx, ebx
je 0x59d218
push 1
mov edx, ebx
push edx
mov eax, dword [esi + 0x58]
push eax
call fcn.005b25f0
mov ecx, dword [esi + 0x323c]
mov edi, dword [ecx + 0x1b0]
call fcn.005b1060
mov ecx, dword [esi + 0x323c]
mov dword [ecx + 0x1a8], eax
mov edx, dword [esi + 0x323c]
mov dword [edx + 0x1b0], edi
lea ecx, [ebp - 0x18]
call fcn.00402500
mov dword [ebp - 4], 6
mov eax, dword [esi + 0x5c]
push eax
mov ecx, dword [esi + 0x58]
push ecx
mov edx, dword [esi + 0x3210]
push edx
fld qword [esi + 0x3208]
call fcn.0061f596
push edx
push eax
mov eax, dword [esi + 0x31f4]
push eax
mov ecx, dword [esi + 0x31f8]
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 - 0x18]
push edx
call fcn.00402f70
add esp, 0x24
mov eax, dword [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00560320
mov ecx, dword [esi + 0x31f4]
push ecx
mov ecx, dword [esi + 0xa0]
call fcn.0055f760
cmp dword [esi + 0x323c], ebx
je 0x59d352
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
cmp edx, ebx
jl 0x59d308
jg 0x59d29b
cmp ecx, ebx
jbe 0x59d308
mov eax, dword [esi + 0xa4]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
cmp edi, ecx
jne 0x59d2b1
cmp eax, edx
je 0x59d2d4
mov eax, dword [esi + 0x323c]
mov eax, dword [eax + 0x864]
imul eax, dword [esi + 0x31f4]
xor edx, edx
add eax, edi
adc edx, dword [ebp - 0x24]
cmp eax, ecx
jne 0x59d308
cmp edx, dword [esi + 0x5c]
jne 0x59d308
mov ecx, esi
call fcn.0059c460
mov edx, dword [esi + 0x323c]
mov dword [edx + 0x144], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, dword [esi + 0x323c]
call fcn.0059ebb0
test eax, eax
je 0x59d352
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [esi + 0x323c]
mov dword [eax + 0x144], 0x7574
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x88], ebx
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
cmp eax, ebx
jl 0x59d401
jg 0x59d370
cmp ecx, ebx
jbe 0x59d401
cmp dword [esi + 0x31f4], ebx
je 0x59d401
mov edx, dword [esi + 0x3200]
xor edi, edi
sub ecx, edx
sbb eax, edi
push ebx
mov edx, dword [esi + 0x31f4]
push edx
push eax
push ecx
call fcn.00624aa0
mov edi, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 0x88], eax
test edi, edi
je 0x59d3c5
push edi
lea ecx, [esi + 0x10]
call fcn.005694b0
xor ecx, ecx
sub dword [esi + 0x60], edi
sbb dword [esi + 0x64], ecx
mov eax, dword [esi + 0xa4]
sub dword [eax], edi
sbb dword [eax + 4], ecx
mov eax, dword [esi + 0x3200]
xor ecx, ecx
mov edx, dword [esi + 0x70]
sub edx, eax
mov eax, dword [esi + 0x74]
sbb eax, ecx
add edx, 1
adc eax, ecx
mov ecx, dword [esi + 0x31f4]
push 0
push ecx
push eax
push edx
call fcn.006212e0
dec eax
mov dword [esi + 0x8c], eax
mov edx, dword [esi + 0x90]
add dword [esi + 0x88], edx
xor ebx, ebx
mov eax, dword [esi + 0x88]
mov dword [esi + 0x31fc], eax
cmp eax, ebx
je 0x59d416
lea ecx, [eax - 1]
jmp 0x59d418
xor ecx, ecx
mov dword [esi + 0x3218], ecx
push eax
mov ecx, esi
call fcn.0059aae0
cmp eax, ebx
je 0x59d436
mov ecx, dword [esi + 0x323c]
mov dword [ecx + 0x144], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x3214]
cmp edx, dword [esi + 0x321c]
jb 0x59d484
mov dword [esi + 0x9c], 0x11
mov byte [esi + 0x3280], bl
xor eax, eax
mov word [esi + 0x3248], ax
mov dword [esi + 0x3214], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret