Function at 0x550abb
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop edi
mov esi, eax
cmp byte [esi + 0x15], bl
push ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
push ebx
je 0x550b13
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
lea eax, [esi + 0x5e8]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x550b3e
push edi
lea eax, [esi + 0x73c]
push eax
lea eax, [esi + 0x3c]
push eax
mov dword [ebp - 0x1c], edi
call fcn.0040b070
add esp, 0xc
jmp 0x550b38
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
lea eax, [esi + 0x5e8]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x550ba4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub eax, 0x2733
je 0x550b89
sub eax, 0x13
je 0x550b80
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push 0x673594
push str...RMLStack.cpp:4253
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x1c
or eax, 0xffffffff
jmp 0x55111c
push str.ICMP_port_unreachable_received_n
push 0x1e
jmp 0x550b90
push str.Recv_would_block_n
push 0xa
call fcn.004f1757
pop ecx
pop ecx
push ebx
mov byte [esi + 0x6bc], bl
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp byte [esi + 0x6bc], bl
je 0x55111a
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
jb 0x55111a
add eax, 0xfffffff3
mov dword [esi + 0x38], eax
mov al, byte [esi + 0x30]
mov cl, al
shr cl, 2
and cl, 1
mov byte [ebp - 1], cl
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
mov cl, al
and cl, 1
mov byte [ebp - 3], cl
mov cl, al
shr cl, 1
and cl, 1
mov byte [ebp - 4], cl
mov cl, al
shr cl, 7
mov byte [ebp - 6], cl
mov cl, al
shr cl, 3
shr al, 6
lea ebx, [esi + 0x24]
push dword [ebx]
and cl, 1
and al, 1
mov byte [ebp - 5], cl
mov byte [ebp - 2], al
call edi
push dword [esi + 0x28]
mov dword [ebp - 0xc], eax
call edi
push dword [esi + 0x2c]
mov dword [ebp - 0x14], eax
call edi
lea edi, [esi + 0x3c]
push edi
push dword [esi + 0x38]
mov dword [ebp - 0x18], eax
push ebx
push 0x52
call fcn.0054d8f9
add esp, 0x10
call fcn.0054e30c
cmp eax, 3
mov dword [ebp - 0x10], eax
jg 0x550d41
cmp eax, 3
je 0x550cd8
xor ecx, ecx
sub eax, ecx
je 0x550d61
dec eax
je 0x550c9c
dec eax
jne 0x55111a
cmp byte [ebp - 4], al
je 0x550d61
cmp dword [ebp - 0x14], 1
jne 0x550d61
cmp byte [ebp - 1], al
jne 0x550df4
cmp byte [ebp - 3], al
je 0x55111a
cmp dword [ebp - 0xc], ecx
jne 0x550e08
cmp dword [esi + 0x38], 0x29
jb 0x550e08
call fcn.00550159
jmp 0x550cca
cmp byte [ebp - 1], 0
jne 0x55111a
cmp byte [ebp - 4], 0
jne 0x550e08
cmp byte [ebp - 3], 0
je 0x55111a
cmp dword [ebp - 0xc], ecx
jne 0x550e08
mov ebx, esi
call fcn.00550058
cmp eax, 0xffffffff
jne 0x55111a
jmp 0x550b78
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jl 0x550d32
sub eax, dword [esi + 0x60c]
dec eax
jns 0x550d32
cmp byte [ebp - 1], 0
je 0x550d00
push 1
push esi
call fcn.0054e571
pop ecx
pop ecx
jmp 0x55111a
cmp byte [ebp - 3], 0
jne 0x550e08
cmp byte [ebp - 4], 0
je 0x55111a
cmp dword [ebp - 0x14], 1
jne 0x550e08
cmp dword [esi + 0x38], 4
jb 0x550e08
call fcn.0055032b
jmp 0x55111a
cmp byte [ebp - 1], 0
jne 0x55111a
jmp 0x550e59
cmp eax, 4
jl 0x55111a
cmp eax, 0xa
jle 0x550d70
cmp eax, 0xb
jle 0x55111a
cmp eax, 0xd
jg 0x55111a
cmp byte [ebp - 1], 0
jne 0x55111a
jmp 0x550e08
cmp byte [ebp - 1], 0
jne 0x550d86
mov eax, esi
call fcn.0054fdfe
cmp eax, 0xffffffff
je 0x550b78
mov ebx, dword [esi + 0x20]
cmp ebx, 2
jne 0x550db5
cmp byte [ebp - 2], 0
je 0x550daf
mov eax, dword [esi + 0x75c]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x550daf
add eax, 4
mov ecx, edi
call fcn.0054db3e
test al, al
jne 0x550db5
mov byte [ebp - 2], 0
jmp 0x550db9
mov byte [ebp - 2], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x608]
mov edx, ecx
sub edx, dword [esi + 0x60c]
sub edx, eax
js 0x550dee
cmp byte [ebp - 1], 0
jne 0x55111a
inc dword [esi + 0x72c]
push str.Missing_packets_n
push 0xa
call fcn.004f1757
pop ecx
pop ecx
jmp 0x550e59
cmp byte [ebp - 1], 0
je 0x550dfe
call fcn.005504a2
jmp 0x55111a
cmp byte [ebp - 3], 0
je 0x550e12
test ecx, ecx
je 0x550e59
call fcn.0054ec9f
jmp 0x55111a
cmp byte [ebp - 4], 0
je 0x55111a
test ebx, ebx
je 0x550e45
cmp byte [ebp - 2], 0
je 0x550e45
mov edx, ecx
sub edx, eax
jns 0x550e45
mov edx, dword [esi + 0x38]
sub edx, eax
add edx, ecx
test edx, edx
jg 0x550e45
mov byte [esi + 0x6ac], 1
mov byte [esi + 0x6ad], 1
cmp ebx, 2
mov edi, dword [ebp - 0x14]
jne 0x550e6c
mov eax, edi
sub eax, dword [esi + 0x648]
test eax, eax
jle 0x550e6c
mov byte [esi + 0x6ac], 1
mov byte [esi + 0x6ad], 1
jmp 0x55111a
cmp byte [ebp - 5], 0
je 0x550e79
mov eax, esi
call fcn.0055037b
mov eax, dword [esi + 0x63c]
mov ecx, edi
sub ecx, eax
js 0x55108f
cmp byte [ebp - 2], 0
je 0x5510ca
cmp edi, eax
je 0x551027
mov ecx, dword [esi + 0x650]
mov edx, dword [esi + 0x654]
cmp ecx, edx
jae 0x550ec2
sub ecx, eax
lea eax, [ecx + edi]
cmp eax, edx
mov dword [esi + 0x650], eax
jbe 0x550edb
mov dword [esi + 0x650], edx
jmp 0x550edb
cmp ecx, 0x165c00
jae 0x550edb
xor edx, edx
mov eax, 0x1f3f11
div ecx
add eax, ecx
mov dword [esi + 0x650], eax
push dword [esi + 0x650]
push str.Congestion_window__lu_n
push 0xa
call fcn.004f1757
add esp, 0xc
cmp byte [esi + 0x67c], 0
je 0x550f0a
mov eax, edi
sub eax, dword [esi + 0x684]
test eax, eax
jle 0x550f0a
call fcn.005504b7
cmp dword [esi + 0x20], 2
mov dword [esi + 0x63c], edi
jne 0x550f33
lea eax, [esi + 0x75c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [ecx + 0x34], edi
mov eax, dword [eax]
mov ecx, dword [eax + 0x24]
cmp ecx, dword [eax + 0x1c]
jne 0x550f33
call fcn.0054dfc5
mov eax, dword [esi + 0x640]
sub eax, edi
jns 0x550f68
mov eax, dword [esi + 0x644]
sub eax, edi
mov dword [esi + 0x640], edi
jns 0x550f54
mov eax, esi
call fcn.0054fde1
mov ecx, dword [esi + 0x640]
lea eax, [esi + 0x648]
mov edx, dword [eax]
sub edx, ecx
jns 0x550f68
mov dword [eax], ecx
and dword [esi + 0x6dc], 0
lea ebx, [esi + 0x6f8]
cmp byte [ebx], 0
je 0x550f87
push 2
push esi
call fcn.0054db9c
pop ecx
pop ecx
mov byte [ebx], 0
mov ebx, dword [ebp - 0x18]
mov eax, ebx
sub eax, dword [esi + 0x640]
add eax, edi
js 0x55107d
mov ecx, dword [ebp - 0xc]
mov eax, ecx
sub eax, dword [esi + 0x658]
test eax, eax
jg 0x550fdb
jne 0x550fb7
mov edx, edi
sub edx, dword [esi + 0x65c]
test edx, edx
jg 0x550fdb
test eax, eax
jne 0x55107d
mov eax, edi
sub eax, dword [esi + 0x65c]
jne 0x55107d
mov eax, ebx
sub eax, dword [esi + 0x64c]
js 0x55107d
cmp ebx, dword [esi + 0x62c]
mov dword [esi + 0x64c], ebx
mov dword [esi + 0x658], ecx
mov dword [esi + 0x65c], edi
jbe 0x55106d
push ebx
push esi
call fcn.0054ecf8
test al, al
pop ecx
pop ecx
jne 0x55107d
push 0x2747
call fcn.0054d799
mov dword [esp], str...RMLStack.cpp:4600
push str._s:_malloc_failed_n
push 0x32
call fcn.004f1757
add esp, 0xc
jmp 0x550b78
mov eax, edi
sub eax, dword [esi + 0x640]
jns 0x550f87
cmp dword [esi + 0x20], 0
je 0x550f87
cmp dword [esi + 0x38], 0
jne 0x550f87
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [esi + 0x64c]
jne 0x550f8a
mov eax, esi
call fcn.0054fbe6
cmp eax, 0xffffffff
jne 0x550f8a
jmp 0x550b78
test ebx, ebx
jne 0x55107d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6d4], eax
cmp dword [esi + 0x698], 0
je 0x5510ca
push esi
call fcn.005508ee
pop ecx
jmp 0x5510ca
cmp dword [esi + 0x20], 2
jne 0x5510ca
cmp byte [ebp - 2], 0
jne 0x5510ca
cmp byte [ebp - 6], 0
jne 0x5510ca
mov eax, dword [esi + 0x640]
sub eax, dword [ebp - 0x18]
sub eax, edi
test eax, eax
jg 0x5510c3
mov ecx, edi
mov eax, esi
call fcn.0054fb64
cmp eax, 0xffffffff
jne 0x5510ca
jmp 0x550b78
mov eax, edi
call fcn.0054fb08
cmp byte [esi + 0x731], 0
je 0x5510e0
cmp edi, dword [esi + 0x648]
jne 0x5510e0
call fcn.00550353
cmp byte [ebp - 2], 0
je 0x551108
cmp dword [ebp - 0x10], 4
je 0x5510f8
cmp dword [ebp - 0x10], 5
je 0x5510f8
cmp dword [ebp - 0x10], 6
jne 0x551108
mov eax, esi
call fcn.005503de
cmp eax, 0xffffffff
je 0x550b78
cmp dword [esi + 0x18], 0xa
jne 0x55111a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret