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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x31f4]
mov eax, dword [esi + 0x31fc]
cmp ecx, eax
jae 0x57575c
mov dl, byte [esi + 0x3268]
xor ebx, ebx
cmp dl, bl
je 0x575724
mov edx, dword [esi + 0x3264]
cmp edx, ebx
je 0x575724
sub eax, ecx
mov ecx, dword [esi + 0x3218]
push ebx
push eax
mov eax, dword [esi + 0x3200]
add eax, edx
push eax
push ecx
call sub.WS2_32.dll_recv
cmp eax, ebx
jg 0x57573e
cmp eax, 0xffffffff
jne 0x5756c6
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x575e23
mov edx, dword [0x6cffbc]
push 1
push edx
mov ecx, esi
call fcn.00534870
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x1c], eax
push edi
lea ecx, [ebp - 0x1c]
push str.Recv_header_failed__error___ld_n
push ecx
mov dword [ebp - 4], ebx
call fcn.005d9fbb
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.00534940
mov esi, dword [esi + 0x321c]
cmp esi, ebx
je 0x5756a6
cmp edi, ebx
jne 0x5756a0
mov edi, 0xfffffffd
mov dword [esi + 0x160], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x31fc]
mov edx, dword [esi + 0x31f4]
sub ecx, edx
je 0x575736
cmp eax, ebx
jne 0x575738
mov edx, dword [0x6cffb8]
push 1
push edx
mov ecx, esi
call fcn.00534870
mov eax, dword [0x6d0024]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.0053c5b0
mov esi, dword [esi + 0x321c]
cmp esi, ebx
je 0x575e23
mov dword [esi + 0x160], 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
mov ecx, dword [esi + 0x3218]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.005370f0
cmp eax, ebx
jle 0x575e23
mov edx, dword [esi + 0x31f4]
mov ecx, dword [esi + 0x3200]
add edx, eax
add ecx, eax
mov dword [esi + 0x31f4], edx
mov dword [esi + 0x3200], ecx
jmp 0x57575e
xor ebx, ebx
mov edx, dword [esi + 0x3200]
mov eax, dword [esi + 0x31e0]
cmp edx, eax
jb 0x575df6
mov eax, dword [esi + 0x321c]
cmp eax, ebx
je 0x575963
mov byte [eax + 0x250], 1
mov eax, dword [esi + 0x321c]
cmp dword [eax + 0x114], ebx
je 0x575963
cmp dword [esi + 0x3264], ebx
je 0x575963
lea ecx, [ebp - 0x11]
push ecx
mov ecx, esi
call fcn.00577460
test eax, eax
jne 0x575e23
cmp byte [ebp - 0x11], bl
je 0x575963
mov edx, dword [esi + 0x321c]
cmp dword [edx + 0x15c], ebx
jne 0x575821
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x5757e0
mov eax, ecx
jmp 0x5757e2
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 0x575821
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x321c]
mov dword [ecx + 0x160], 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x10]
call fcn.0053c720
mov eax, dword [esi + 0x321c]
mov edx, dword [eax + 0xd0]
lea ecx, [eax + 0x48]
cmp edx, ebx
setne byte [ebp - 0x11]
call fcn.0052b260
mov edx, dword [esi + 0x321c]
mov dword [edx + 0xe8], ebx
mov dword [edx + 0xec], ebx
mov eax, dword [esi + 0x321c]
mov dword [eax + 0xf0], ebx
mov dword [eax + 0xf4], ebx
mov ecx, dword [esi + 0x321c]
mov dword [ecx + 0x1d0], ebx
mov dword [ecx + 0x1d4], ebx
lea ecx, [esi + 0x320c]
call fcn.0057df20
mov edx, dword [esi + 0x321c]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x5c], ebx
mov byte [edx + 0x250], bl
mov eax, dword [esi + 0x3264]
cmp eax, ebx
je 0x5758e2
push eax
mov dword [ebp - 4], 1
call fcn.005dd5b6
add esp, 4
jmp 0x5758db
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x3264], ebx
mov byte [esi + 0x3268], bl
mov byte [esi + 0x32ac], bl
mov word [esi + 0x3228], bx
mov dword [esi + 0x3208], ebx
call dword [eax + 0x1c]
mov edx, dword [esi]
lea eax, [esi + 0x3218]
push eax
mov ecx, esi
call dword [edx + 0x14]
cmp byte [ebp - 0x11], bl
je 0x57594b
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0x30]
mov ecx, dword [esi + 0x321c]
push edx
push esi
add ecx, 0x48
call fcn.0052c140
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edx, eax
or edx, ecx
je 0x57594b
sub eax, 1
sbb ecx, ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov ecx, esi
call fcn.005381d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x31d8], ebx
je 0x575977
cmp dword [esi + 0x31f0], ebx
jne 0x575aeb
mov ecx, esi
call fcn.00574810
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x40], ebx
jne 0x575aeb
cmp dword [esi + 0x321c], ebx
je 0x575aeb
mov dword [ebp - 0x24], 0x6197d0
fld qword [esi + 0x31e8]
mov dword [ebp - 4], 3
call fcn.005c5038
mov edi, edx
mov dword [ebp - 0x2c], eax
cmp edi, ebx
jg 0x5759cd
jl 0x5759c1
cmp eax, ebx
jae 0x5759cd
mov ecx, dword [0x6cfac8]
push ecx
jmp 0x575a64
mov eax, dword [ebp - 0x2c]
push ebx
push 0x3c
push edi
push eax
call fcn.005c6b20
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
cdq
sub ecx, eax
mov eax, edi
sbb eax, edx
push ebx
push 0x3c
push eax
push ecx
call fcn.005c6a70
push ebx
push 0x3c
push edx
push eax
call fcn.005c6b20
mov ecx, dword [ebp - 0x2c]
push ebx
push 0xe10
push edi
push ecx
mov dword [ebp - 0x20], eax
call fcn.005c6a70
cmp edx, ebx
jg 0x575a5f
jl 0x575a1b
cmp eax, 0x2710
ja 0x575a5f
cmp eax, ebx
je 0x575a2b
mov edx, dword [ebp - 0x20]
push edx
push eax
mov eax, dword [0x6cfb20]
jmp 0x575a3c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp eax, ebx
push edx
je 0x575a4b
push eax
mov eax, dword [0x6cfb1c]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call fcn.005c5558
add esp, 0x10
jmp 0x575a70
mov eax, dword [0x6cfb18]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call fcn.005c5558
add esp, 0xc
jmp 0x575a70
push 0x69feec
lea edx, [ebp - 0x4c]
push edx
call fcn.005c5558
add esp, 8
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x321c]
mov byte [ebp - 4], 4
mov ecx, dword [eax + 0x870]
mov edx, dword [ecx - 8]
mov ecx, 0x6c0720
cmp edx, ebx
jne 0x575a99
mov ecx, 0x6ce7c8
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [eax + 0x870]
push edx
mov edx, dword [eax + 0x868]
push ecx
mov ecx, dword [eax + 0x86c]
push ecx
push edx
lea eax, [ebp - 0x20]
push str._s___s_s_s__Length:__s
push eax
call fcn.005d9fbb
mov ecx, dword [ebp - 0x20]
add esp, 0x1c
push 1
push ecx
mov ecx, dword [esi + 0x321c]
push ebx
push 5
call fcn.005898f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005e118c
mov dword [ebp - 4], 0xffffffff
cmp byte [esi + 0x3205], bl
je 0x575aff
mov dword [esi + 0x48], ebx
mov dword [esi + 0x31d8], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [esi + 0x31d8]
cmp edx, ebx
je 0x575ba1
mov eax, dword [esi + 0x31d4]
cmp eax, ebx
je 0x575ba1
mov ecx, dword [esi + 0x31f0]
imul eax, edx
mov edi, ecx
shl edi, 5
sub edi, ecx
mov ecx, dword [esi + 0x31e0]
lea eax, [eax + edi*2]
add eax, ecx
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x64]
cmp eax, ebx
mov dword [esi + 0x4c], ebx
jg 0x575b5b
jl 0x575b4a
cmp dword [esi + 0x60], ebx
ja 0x575b5b
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub ecx, 1
sbb eax, ebx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0x321c]
dec edx
cmp ecx, ebx
mov dword [esi + 0x7c], edx
je 0x575ba1
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
push 1
push edx
push eax
call fcn.00588f40
mov ecx, dword [esi + 0x321c]
mov edi, dword [ecx + 0x1c0]
call fcn.005882e0
mov ecx, dword [esi + 0x321c]
mov dword [ecx + 0x1b8], eax
mov edx, dword [esi + 0x321c]
mov dword [edx + 0x1c0], edi
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x31f0]
push ecx
fld qword [esi + 0x31e8]
push edx
mov dword [ebp - 4], 5
push eax
call fcn.005c5038
mov ecx, dword [esi + 0x31d4]
push edx
mov edx, dword [esi + 0x31d8]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push str.Media_header_has_been_parsed:_nPackets_number__ld__packet_length__ld__media_length__I64d__streams_count__d__file_size__I64d_n
push eax
call fcn.005d9fbb
mov ecx, dword [ebp - 0x18]
add esp, 0x24
push ecx
mov ecx, esi
call fcn.00534940
mov edx, dword [esi + 0x31d4]
mov ecx, dword [esi + 0x90]
push edx
call fcn.005342c0
cmp dword [esi + 0x321c], ebx
je 0x575cd9
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
cmp eax, ebx
jl 0x575c92
jg 0x575c24
cmp edi, ebx
jbe 0x575c92
mov edx, dword [esi + 0x94]
mov ecx, dword [edx]
cmp ecx, edi
mov edx, dword [edx + 4]
mov dword [ebp - 0x28], edx
jne 0x575c3a
cmp edx, eax
je 0x575c5f
mov eax, dword [esi + 0x321c]
xor edx, edx
mov eax, dword [eax + 0x874]
imul eax, dword [esi + 0x31d4]
add eax, ecx
mov ecx, dword [ebp - 0x28]
adc edx, ecx
cmp eax, edi
jne 0x575c92
cmp edx, dword [esi + 0x4c]
jne 0x575c92
mov ecx, esi
call fcn.005760f0
mov eax, dword [esi + 0x321c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x160], ebx
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x321c]
push ebx
call fcn.00578ee0
test eax, eax
je 0x575cd9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [esi + 0x321c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x160], 0x7574
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
cmp eax, ebx
mov dword [esi + 0x78], ebx
jl 0x575da4
jg 0x575cf4
cmp ecx, ebx
jbe 0x575da4
cmp dword [esi + 0x31d4], ebx
je 0x575da4
mov edi, dword [esi + 0x31e0]
xor edx, edx
sub ecx, edi
mov edi, ecx
sbb eax, edx
xor ecx, ecx
push ecx
mov ecx, dword [esi + 0x31d4]
push ecx
push eax
push edi
mov dword [ebp - 0x28], eax
call fcn.005c6a70
mov dword [esi + 0x78], eax
xor eax, eax
push eax
mov eax, dword [esi + 0x31d4]
push eax
mov eax, dword [ebp - 0x28]
push eax
push edi
call fcn.005c6b20
mov edi, eax
cmp edi, ebx
je 0x575d6c
push edi
lea ecx, [esi + 0x10]
call fcn.0053c9b0
mov ecx, dword [esi + 0x50]
sub ecx, edi
mov dword [esi + 0x50], ecx
mov eax, dword [esi + 0x54]
sbb eax, ebx
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
sub edx, edi
mov dword [eax], edx
mov ecx, dword [eax + 4]
sbb ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x31e0]
mov eax, dword [esi + 0x60]
xor edx, edx
sub eax, ecx
mov ecx, dword [esi + 0x64]
push ebx
sbb ecx, edx
mov edx, dword [esi + 0x31d4]
add eax, 1
push edx
adc ecx, ebx
push ecx
push eax
call fcn.005c6a70
mov ecx, dword [esi + 0x78]
dec eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x80]
add ecx, eax
mov dword [esi + 0x78], ecx
mov eax, dword [esi + 0x78]
cmp eax, ebx
mov dword [esi + 0x31dc], eax
je 0x575db6
lea ecx, [eax - 1]
jmp 0x575db8
xor ecx, ecx
mov dword [esi + 0x31f8], ecx
push eax
mov ecx, esi
call fcn.00573610
cmp eax, ebx
je 0x575dd6
mov ecx, dword [esi + 0x321c]
mov dword [ecx + 0x160], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x31f4]
mov eax, dword [esi + 0x31fc]
cmp edx, eax
jb 0x575e23
mov dword [esi + 0x8c], 0x11
mov byte [esi + 0x3260], bl
mov word [esi + 0x3228], bx
mov dword [esi + 0x31f4], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret