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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fb25
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5a6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x48], ebx
mov eax, dword [0x5b6e6c]
push 9
mov esi, dword [eax + 0x7a8]
lea edi, [eax + 0x734]
call fcn.00517363
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, 0x5a6ab0
test esi, esi
mov ecx, 0x5a6aa8
mov edx, 1
cmovne ecx, eax
call fcn.0041e100
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.0041e350
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x50], edi
mov byte [edi + 8], 0
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0x26c]
mov edx, dword [0x5b6e6c]
add edx, 0x838
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43a774
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov esi, dword [ebx + 0x26c]
cmp dword [ebx + 0x280], 0
mov dword [ebp - 0x2c], 0
jne 0x43a7b3
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a790
sub ecx, edx
je 0x43a7b3
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43a7a0
sub edx, ecx
mov ecx, dword [esi + 4]
push edx
push edi
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor edx, edx
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x30], edx
nop dword [eax]
mov eax, dword [ebx + 0x26c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
push edx
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [ebx + 0x26c]
test al, al
je 0x43abb3
movzx edx, word [ebp - 0x28]
mov dword [ebp - 0x3c], edx
cmp dword [esi + 8], 0xffffffff
je 0x43aba0
cmp byte [esi + 0x18], 0
mov edi, 2
je 0x43a84c
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x43a84c
cmp byte [esi + 0x68], 0
je 0x43a82f
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x64]
mov word [ecx + eax], dx
add dword [esi + 0x6c], edi
jmp 0x43a860
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 2
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0047d910
mov edi, dword [ebp - 0x38]
jmp 0x43a84f
lea eax, [ebp - 0x3c]
push edi
push eax
mov ecx, esi
call fcn.0047d3e0
cmp eax, edi
jne 0x43aba0
mov esi, dword [ebx + 0x26c]
mov edi, dword [ebp - 0x28]
cmp dword [esi + 8], 0xffffffff
je 0x43aba0
test edi, edi
je 0x43a8d3
cmp byte [esi + 0x18], 0
je 0x43a8bf
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x43a8bf
cmp byte [esi + 0x68], 0
je 0x43a8a4
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
push edi
push dword [ebp - 0x14]
push eax
call fcn.00512db0
add esp, 0xc
add dword [esi + 0x6c], edi
jmp 0x43a8d3
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push edi
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0047d910
mov edi, dword [ebp - 0x40]
jmp 0x43a8c2
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, esi
call fcn.0047d2e0
cmp eax, edi
jne 0x43aba0
mov eax, dword [ebx + 0x26c]
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x26c]
lea eax, [ebp - 0x20]
push 2
push eax
mov dword [ebp - 0x20], 0
call fcn.0047d6f0
test eax, eax
je 0x43abe4
movzx eax, word [ebp - 0x20]
push eax
call fcn.0051138a
movzx edi, word [ebp - 0x20]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov ebx, dword [ebp - 0x48]
add esp, 4
mov ebx, dword [ebx + 0x26c]
cmp dword [ebx + 8], 0xffffffff
je 0x43ab70
test edi, edi
je 0x43aa98
cmp byte [ebx + 0x18], 0
je 0x43aa60
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x21], 0
je 0x43aa60
mov edx, dword [ebx + 0x14]
lea esi, [ecx + 8]
test edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x58], esi
mov ecx, edx
sete al
mov byte [ebp - 0x54], al
test edx, edx
jne 0x43a972
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x43a991
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push edi
push 0
call dword [eax + 8]
mov edi, eax
jmp 0x43a9b1
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x18]
push eax
push edi
push 0
mov eax, dword [esi + 0x2a4]
call eax
mov edi, eax
add esp, 0xc
mov dword [esi + 0x2c0], edi
mov esi, dword [ebp - 0x58]
test edi, edi
je 0x43ab4f
mov eax, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x4c], edx
test edx, edx
jle 0x43aa0b
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffffff
je 0x43a9f0
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x43a9ea
mov eax, dword [ebp - 0x18]
add edi, ecx
sub eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x43aa04
je 0x43ab2b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43ab32
mov eax, dword [ebp - 0x18]
test eax, eax
jg 0x43a9c5
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x43aa2c
mov eax, dword [ecx]
lea esi, [ebp - 0x44]
push esi
push edx
push edi
call dword [eax + 8]
jmp 0x43aa46
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x44]
push eax
push edx
push edi
mov eax, dword [esi + 0x2a4]
call eax
add esp, 0xc
mov dword [esi + 0x2c0], eax
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
jne 0x43aa9b
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43aa9b
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x43aa83
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43aa7d
add esi, eax
sub edi, eax
jmp 0x43aa94
je 0x43ab7e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43ab70
test edi, edi
jne 0x43aa60
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x26c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x30]
movzx eax, word [ebp - 0x20]
mov edx, dword [ecx]
push eax
push edi
mov eax, dword [edx + 0x34]
call eax
test al, al
jne 0x43aaed
mov eax, dword [ebx + 0x26c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43aad2
mov ecx, dword [ebp + 8]
sub edx, esi
push edx
push eax
call fcn.0041c3b0
xor esi, esi
mov byte [ebp - 0xd], 0
jmp 0x43aafc
cmp byte [ebp - 0xd], 0
mov eax, 1
mov esi, dword [ebp - 0x2c]
cmove esi, eax
push edi
mov dword [ebp - 0x2c], esi
call fcn.00511347
mov edx, dword [ebp - 0x30]
add esp, 4
inc edx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x30], edx
jne 0x43a7c0
test esi, esi
je 0x43abe4
mov esi, 1
jmp 0x43abe6
push str.VSocket::ReadExact_:_zero_bytes_read1_n
jmp 0x43ab54
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.VSocket::ReadExact_:_socket_error_1:__d_n
push 4
push 0x5a6c48
call fcn.0041d720
add esp, 0x10
jmp 0x43ab63
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x43ab70
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x1c]
push edi
call fcn.00511347
add esp, 4
jmp 0x43abe4
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5a6c48
call fcn.0041d720
mov edi, dword [ebp - 0x1c]
add esp, 0xc
push edi
call fcn.00511347
add esp, 4
jmp 0x43abe4
mov eax, dword [ebx + 0x26c]
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x43abe4
mov ecx, dword [esi + 4]
push dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x26c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
lea edi, [esi + 1]
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x43abd1
mov ecx, dword [ebp + 8]
sub esi, edi
push esi
push eax
call fcn.0041c3b0
xor esi, esi
mov ebx, dword [ebp - 0x34]
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43abf0
sub ecx, edx
push ecx
push 0
push ebx
call fcn.00513330
push ebx
call fcn.00515679
add esp, 0x10
mov eax, esi
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