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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556f55
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5c3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edx, dword [0x5d1914]
lea ecx, [ebp - 0x4c]
cmp dword [edx + 0x7a8], 0
setne al
movzx eax, al
push eax
lea eax, [edx + 0x734]
push eax
call fcn.00440aa0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x260]
mov edx, dword [0x5d1914]
add edx, 0x838
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x445156
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
cmp dword [ebx + 0x274], 0
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 0
jne 0x44519b
test esi, esi
je 0x44519b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445172
sub ecx, edx
je 0x44519b
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x445182
mov eax, dword [ebx + 0x260]
sub edx, ecx
push edx
push esi
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor edx, edx
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x38], edx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebx + 0x260]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
push edx
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x4455e9
mov edi, dword [ebx + 0x260]
movzx edx, word [ebp - 0x30]
mov dword [ebp - 0x40], edx
cmp dword [edi + 8], 0xffffffff
je 0x4455d6
cmp byte [edi + 0x18], 0
mov ebx, 2
je 0x44523c
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44523c
cmp byte [edi + 0x68], 0
je 0x44521f
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
mov word [ecx + eax], dx
add dword [edi + 0x6c], ebx
jmp 0x445250
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push 2
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0048f190
mov ebx, dword [ebp - 0x3c]
jmp 0x44523f
lea eax, [ebp - 0x40]
push ebx
push eax
mov ecx, edi
call fcn.0048ec60
cmp eax, ebx
jne 0x4455d3
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov edi, dword [eax + 0x260]
cmp dword [edi + 8], 0xffffffff
je 0x4455c0
test ebx, ebx
je 0x4452c6
cmp byte [edi + 0x18], 0
je 0x4452b2
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4452b2
cmp byte [edi + 0x68], 0
je 0x445297
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
push ebx
push dword [ebp - 0x14]
push eax
call fcn.005264b0
add esp, 0xc
add dword [edi + 0x6c], ebx
jmp 0x4452c6
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push ebx
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0048f190
mov ebx, dword [ebp - 0x44]
jmp 0x4452b5
mov eax, dword [ebp - 0x14]
push ebx
push eax
mov ecx, edi
call fcn.0048eb60
cmp eax, ebx
jne 0x4455bd
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x260]
lea eax, [ebp - 0x2c]
push 2
push eax
mov dword [ebp - 0x2c], 0
call fcn.0048ef70
test eax, eax
je 0x445623
movzx eax, word [ebp - 0x2c]
push eax
call fcn.005247b4
movzx ebx, word [ebp - 0x2c]
mov edi, eax
mov dword [ebp - 0x24], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x260]
mov dword [ebp - 0x28], ecx
cmp dword [ecx + 8], 0xffffffff
je 0x44556f
test ebx, ebx
je 0x44549b
cmp byte [ecx + 0x18], 0
je 0x445460
mov edx, dword [ecx + 0x10]
cmp byte [edx + 0x21], 0
je 0x445460
mov eax, dword [ecx + 0x14]
lea edi, [edx + 8]
test eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], edi
sete al
cmp dword [ebp - 0x20], 0
mov byte [ebp - 0x54], al
jne 0x445369
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x18], 0
test edx, edx
je 0x44538d
mov eax, dword [edx]
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0
mov ecx, edx
call dword [eax + 8]
mov ebx, eax
jmp 0x4453ad
mov edi, dword [ecx + 0x10]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
mov eax, dword [edi + 0x2a4]
call eax
mov ebx, eax
add esp, 0xc
mov dword [edi + 0x2c0], ebx
mov edi, dword [ebp - 0x58]
test ebx, ebx
je 0x44557f
mov eax, dword [ebp - 0x18]
mov edx, eax
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x50], edx
test edx, edx
jle 0x44540a
mov ecx, dword [edi + 8]
cmp ecx, 0xffffffff
je 0x4453ef
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x4453e9
mov eax, dword [ebp - 0x18]
add ebx, ecx
sub eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x445403
je 0x44552f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x445545
mov eax, dword [ebp - 0x18]
test eax, eax
jg 0x4453c4
mov edx, dword [ebp - 0x50]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x44542a
mov eax, dword [ecx]
lea edi, [ebp - 0x48]
push edi
push edx
push dword [ebp - 0x24]
call dword [eax + 8]
jmp 0x445446
mov edi, dword [edi + 0x10]
lea eax, [ebp - 0x48]
push eax
push edx
push dword [ebp - 0x24]
mov eax, dword [edi + 0x2a4]
call eax
add esp, 0xc
mov dword [edi + 0x2c0], eax
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
jne 0x44549b
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44549b
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x445483
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x44547d
add edi, eax
sub ebx, eax
jmp 0x445494
je 0x44559c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44556f
mov ecx, dword [ebp - 0x28]
test ebx, ebx
jne 0x445460
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x38]
movzx eax, word [ebp - 0x2c]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x24]
mov eax, dword [edx + 0x34]
call eax
test al, al
jne 0x4454ef
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, eax
lea edi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4454d4
mov ecx, dword [ebp + 8]
sub edx, edi
push edx
push eax
call fcn.0041caa0
xor edi, edi
mov byte [ebp - 0xd], 0
jmp 0x4454fe
cmp byte [ebp - 0xd], 0
mov eax, 1
mov edi, dword [ebp - 0x34]
cmove edi, eax
push dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
call fcn.00524771
mov edx, dword [ebp - 0x38]
add esp, 4
inc edx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x38], edx
jne 0x4451b0
test edi, edi
je 0x445623
mov edi, 1
jmp 0x445625
push str.VSocket::ReadExact_:_zero_bytes_read1_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
jmp 0x445560
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.VSocket::ReadExact_:_socket_error_1:__d_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0x10
cmp dword [ebp - 0x20], 0
jne 0x44556f
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x24]
call fcn.00524771
add esp, 4
jmp 0x445623
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
cmp dword [ebp - 0x20], 0
jne 0x44556f
push edi
jmp 0x445569
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
push dword [ebp - 0x24]
call fcn.00524771
add esp, 4
jmp 0x445623
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x260]
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x445623
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x260]
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x445623
mov eax, dword [ebx + 0x260]
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
lea ecx, [edi + 1]
nop dword [eax]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x445610
sub edi, ecx
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0041caa0
xor edi, edi
test esi, esi
je 0x44564b
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445630
sub ecx, edx
push ecx
push 0
push esi
call fcn.00526a30
push esi
call fcn.0052a52b
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4