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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548925
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
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 [0x5bdff0]
push 9
mov esi, dword [eax + 0x7a8]
lea edi, [eax + 0x734]
call fcn.0051e703
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, 0x5b0bb0
test esi, esi
mov ecx, 0x5b0ba8
mov edx, 1
cmovne ecx, eax
call fcn.0041d700
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.0041d950
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 [0x5bdff0]
add edx, 0x838
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43e7d4
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 0x43e813
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e7f0
sub ecx, edx
je 0x43e813
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43e800
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 0x43ec13
movzx edx, word [ebp - 0x28]
mov dword [ebp - 0x3c], edx
cmp dword [esi + 8], 0xffffffff
je 0x43ec00
cmp byte [esi + 0x18], 0
mov edi, 2
je 0x43e8ac
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x43e8ac
cmp byte [esi + 0x68], 0
je 0x43e88f
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x64]
mov word [ecx + eax], dx
add dword [esi + 0x6c], edi
jmp 0x43e8c0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 2
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00484510
mov edi, dword [ebp - 0x38]
jmp 0x43e8af
lea eax, [ebp - 0x3c]
push edi
push eax
mov ecx, esi
call fcn.00483fe0
cmp eax, edi
jne 0x43ec00
mov esi, dword [ebx + 0x26c]
mov edi, dword [ebp - 0x28]
cmp dword [esi + 8], 0xffffffff
je 0x43ec00
test edi, edi
je 0x43e933
cmp byte [esi + 0x18], 0
je 0x43e91f
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x43e91f
cmp byte [esi + 0x68], 0
je 0x43e904
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
push edi
push dword [ebp - 0x14]
push eax
call fcn.0051a200
add esp, 0xc
add dword [esi + 0x6c], edi
jmp 0x43e933
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push edi
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00484510
mov edi, dword [ebp - 0x40]
jmp 0x43e922
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, esi
call fcn.00483ee0
cmp eax, edi
jne 0x43ec00
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.004842f0
test eax, eax
je 0x43ec44
movzx eax, word [ebp - 0x20]
push eax
call fcn.005187ea
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 0x43ebd0
test edi, edi
je 0x43eaf8
cmp byte [ebx + 0x18], 0
je 0x43eac0
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x21], 0
je 0x43eac0
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 0x43e9d2
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 0x43e9f1
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push edi
push 0
call dword [eax + 8]
mov edi, eax
jmp 0x43ea11
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 0x43ebaf
mov eax, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x4c], edx
test edx, edx
jle 0x43ea6b
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffffff
je 0x43ea50
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x43ea4a
mov eax, dword [ebp - 0x18]
add edi, ecx
sub eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x43ea64
je 0x43eb8b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43eb92
mov eax, dword [ebp - 0x18]
test eax, eax
jg 0x43ea25
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 0x43ea8c
mov eax, dword [ecx]
lea esi, [ebp - 0x44]
push esi
push edx
push edi
call dword [eax + 8]
jmp 0x43eaa6
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 0x43eafb
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43eafb
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x43eae3
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43eadd
add esi, eax
sub edi, eax
jmp 0x43eaf4
je 0x43ebde
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43ebd0
test edi, edi
jne 0x43eac0
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 0x43eb4d
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 0x43eb32
mov ecx, dword [ebp + 8]
sub edx, esi
push edx
push eax
call fcn.0041c370
xor esi, esi
mov byte [ebp - 0xd], 0
jmp 0x43eb5c
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.005187a7
mov edx, dword [ebp - 0x30]
add esp, 4
inc edx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x30], edx
jne 0x43e820
test esi, esi
je 0x43ec44
mov esi, 1
jmp 0x43ec46
push str.VSocket::ReadExact_:_zero_bytes_read1_n
jmp 0x43ebb4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.VSocket::ReadExact_:_socket_error_1:__d_n
push 4
push 0x5b0d48
call fcn.0041ccb0
add esp, 0x10
jmp 0x43ebc3
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x43ebd0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x1c]
push edi
call fcn.005187a7
add esp, 4
jmp 0x43ec44
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5b0d48
call fcn.0041ccb0
mov edi, dword [ebp - 0x1c]
add esp, 0xc
push edi
call fcn.005187a7
add esp, 4
jmp 0x43ec44
mov eax, dword [ebx + 0x26c]
push dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x43ec44
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 0x43ec31
mov ecx, dword [ebp + 8]
sub esi, edi
push esi
push eax
call fcn.0041c370
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 0x43ec50
sub ecx, edx
push ecx
push 0
push ebx
call fcn.0051a780
push ebx
call fcn.0051cad9
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