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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fae1
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x13c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [0x5b6e6c]
push 9
mov byte [ebp - 0x113], 0
mov esi, dword [eax + 0x7a8]
lea edi, [eax + 0x734]
call fcn.00517363
add esp, 4
mov dword [ebp - 0x138], eax
mov eax, 0x5a6ab0
test esi, esi
mov ecx, 0x5a6aa8
mov edx, 1
cmovne ecx, eax
call fcn.0041e100
mov esi, dword [ebp - 0x138]
mov ecx, edi
mov edx, esi
call fcn.0041e350
mov byte [esi + 8], 0
mov dword [ebp - 0x180], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x16c]
mov eax, dword [0x5b6e6c]
add eax, 0x838
push eax
call fcn.0041faf0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439c43
sub ecx, edx
je 0x439cb6
push 0x200
mov byte [ebp - 0x113], 1
call fcn.0051138a
mov esi, eax
lea eax, [ebp - 0x10f]
push 0xff
push 0
push eax
mov dword [ebp - 0x168], esi
mov byte [esi], 0
call fcn.00513330
lea eax, [ebp - 0x110]
mov byte [ebp - 0x110], 0
push eax
push dword [ebp - 0x16c]
push 0x58e4f4
push 0xffffffffffffffff
push 0x1fe
push esi
call fcn.0041f360
mov eax, dword [ebx + 0x26c]
add esp, 0x28
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x439cd5
push esi
jmp 0x439cd0
mov eax, dword [ebx + 0x26c]
mov edx, dword [0x5b6e6c]
add edx, 0x838
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x439cd5
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
xor eax, eax
mov byte [ebp - 0x111], 1
xor edx, edx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x144], edx
nop dword [eax]
mov eax, dword [ebx + 0x26c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x140], 0
push edx
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x140]
push edx
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [ebx + 0x26c]
test al, al
je 0x43a61c
movzx edx, word [ebp - 0x140]
mov dword [ebp - 0x14c], edx
cmp dword [esi + 8], 0xffffffff
je 0x43a606
cmp byte [esi + 0x18], 0
mov edi, 2
je 0x439d9a
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x439d9a
cmp byte [esi + 0x68], 0
je 0x439d71
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x64]
mov word [ecx + eax], dx
add dword [esi + 0x6c], edi
jmp 0x439db1
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0
push eax
push 2
lea eax, [ebp - 0x14c]
mov ecx, esi
push eax
call fcn.0047d910
mov edi, dword [ebp - 0x148]
jmp 0x439da0
lea eax, [ebp - 0x14c]
push edi
push eax
mov ecx, esi
call fcn.0047d3e0
cmp eax, edi
jne 0x43a606
mov esi, dword [ebx + 0x26c]
mov edi, dword [ebp - 0x140]
cmp dword [esi + 8], 0xffffffff
je 0x43a606
test edi, edi
je 0x439e39
cmp byte [esi + 0x18], 0
je 0x439e22
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x439e22
cmp byte [esi + 0x68], 0
je 0x439dfb
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
push edi
push dword [ebp - 0x11c]
push eax
call fcn.00512db0
add esp, 0xc
add dword [esi + 0x6c], edi
jmp 0x439e39
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0
push eax
push edi
push dword [ebp - 0x11c]
mov ecx, esi
call fcn.0047d910
mov edi, dword [ebp - 0x150]
jmp 0x439e28
mov eax, dword [ebp - 0x11c]
push edi
push eax
mov ecx, esi
call fcn.0047d2e0
cmp eax, edi
jne 0x43a606
cmp dword [ebx + 0x280], 0
mov dl, byte [ebp - 0x113]
mov byte [ebp - 0x112], dl
jne 0x439e62
mov ecx, dword [ebp - 0x138]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439e57
sub ecx, esi
jne 0x439e6a
mov dl, 2
mov byte [ebp - 0x112], dl
mov esi, dword [ebx + 0x26c]
cmp dword [esi + 8], 0xffffffff
je 0x43a606
cmp byte [esi + 0x18], 0
mov edi, 1
je 0x439ecb
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x439ecb
cmp byte [esi + 0x68], 0
je 0x439ea2
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x64]
mov byte [ecx + eax], dl
inc dword [esi + 0x6c]
jmp 0x439ee2
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push 1
lea eax, [ebp - 0x112]
mov ecx, esi
push eax
call fcn.0047d910
mov edi, dword [ebp - 0x154]
jmp 0x439ed1
lea eax, [ebp - 0x112]
push edi
push eax
mov ecx, esi
call fcn.0047d2e0
cmp eax, edi
jne 0x43a606
mov eax, dword [ebx + 0x26c]
push dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x26c]
lea eax, [ebp - 0x124]
push 2
push eax
mov dword [ebp - 0x124], 0
call fcn.0047d6f0
test eax, eax
je 0x43a656
mov eax, dword [ebp - 0x124]
mov ecx, 0x7e8
cmp ax, cx
ja 0x43a656
movzx eax, ax
push eax
call fcn.0051138a
movzx ecx, word [ebp - 0x124]
mov ebx, eax
push ecx
push 0
push ebx
mov dword [ebp - 0x118], ebx
call fcn.00513330
movzx edi, word [ebp - 0x124]
mov esi, ebx
mov ebx, dword [ebp - 0x13c]
add esp, 0x10
mov ebx, dword [ebx + 0x26c]
cmp dword [ebx + 8], 0xffffffff
je 0x43a5f5
test edi, edi
je 0x43a118
cmp byte [ebx + 0x18], 0
je 0x43a0e0
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x21], 0
je 0x43a0e0
mov edx, dword [ebx + 0x14]
lea esi, [ecx + 8]
test edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x174], esi
mov ecx, edx
sete al
mov byte [ebp - 0x170], al
test edx, edx
jne 0x439fbf
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x12c], 0
test ecx, ecx
je 0x439fe4
mov eax, dword [ecx]
lea edx, [ebp - 0x12c]
push edx
push edi
push 0
call dword [eax + 8]
mov edi, eax
jmp 0x43a00a
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x12c]
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 - 0x174]
test edi, edi
je 0x43a568
mov eax, dword [ebp - 0x12c]
mov edx, eax
mov dword [ebp - 0x134], edx
test edx, edx
jle 0x43a076
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffffff
je 0x43a055
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x43a04f
mov eax, dword [ebp - 0x12c]
add edi, ecx
sub eax, ecx
mov dword [ebp - 0x12c], eax
jmp 0x43a06c
je 0x43a53d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43a544
mov eax, dword [ebp - 0x12c]
test eax, eax
jg 0x43a024
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x12c], edx
test ecx, ecx
je 0x43a0a3
mov eax, dword [ecx]
lea esi, [ebp - 0x158]
push esi
push edx
push edi
call dword [eax + 8]
jmp 0x43a0c0
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x158]
push eax
push edx
push edi
mov eax, dword [esi + 0x2a4]
call eax
add esp, 0xc
mov dword [esi + 0x2c0], eax
cmp dword [ebp - 0x120], 0
mov byte [ebp - 4], 1
jne 0x43a11e
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43a11e
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x43a103
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43a0fd
add esi, eax
sub edi, eax
jmp 0x43a114
je 0x43a5e1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43a5f5
test edi, edi
jne 0x43a0e0
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebx + 0x26c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x111]
push eax
push dword [ebp - 0x144]
movzx eax, word [ebp - 0x124]
mov edx, dword [ecx]
push eax
push edi
mov eax, dword [edx + 0x34]
call eax
test al, al
jne 0x43a18a
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 0x43a161
mov ecx, dword [ebp - 0x160]
sub edx, esi
push edx
push eax
call fcn.0041c3b0
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x111], 0
jmp 0x43a1a5
mov esi, dword [ebp - 0x128]
mov eax, 1
cmp byte [ebp - 0x111], 0
cmove esi, eax
mov dword [ebp - 0x128], esi
push edi
call fcn.00511347
mov eax, dword [ebx + 0x26c]
add esp, 4
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [ebx + 0x280], 0
jne 0x43a50c
mov ecx, dword [ebp - 0x138]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a1d2
sub ecx, edx
je 0x43a50c
mov ecx, dword [ebx + 0x26c]
lea eax, [ebp - 0x124]
push 2
push eax
call fcn.0047d6f0
test eax, eax
je 0x43a656
mov eax, dword [ebp - 0x124]
mov ecx, 0x7e8
cmp ax, cx
ja 0x43a656
movzx eax, ax
push eax
call fcn.0051138a
movzx edi, word [ebp - 0x124]
mov ebx, eax
mov dword [ebp - 0x118], ebx
mov esi, ebx
mov ebx, dword [ebp - 0x13c]
add esp, 4
mov ebx, dword [ebx + 0x26c]
cmp dword [ebx + 8], 0xffffffff
je 0x43a5f5
test edi, edi
je 0x43a3e8
cmp byte [ebx + 0x18], 0
je 0x43a3b0
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x21], 0
je 0x43a3b0
mov edx, dword [ebx + 0x14]
lea esi, [ecx + 8]
test edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x17c], esi
mov ecx, edx
sete al
mov byte [ebp - 0x178], al
test edx, edx
jne 0x43a290
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebp - 0x130], 0
test ecx, ecx
je 0x43a2b5
mov eax, dword [ecx]
lea edx, [ebp - 0x130]
push edx
push edi
push 0
call dword [eax + 8]
mov edi, eax
jmp 0x43a2db
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x130]
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 - 0x17c]
test edi, edi
je 0x43a5a9
mov eax, dword [ebp - 0x130]
mov edx, eax
mov dword [ebp - 0x134], edx
test edx, edx
jle 0x43a347
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffffff
je 0x43a326
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x43a320
mov eax, dword [ebp - 0x130]
add edi, ecx
sub eax, ecx
mov dword [ebp - 0x130], eax
jmp 0x43a33d
je 0x43a585
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43a58c
mov eax, dword [ebp - 0x130]
test eax, eax
jg 0x43a2f5
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x130], edx
test ecx, ecx
je 0x43a374
mov eax, dword [ecx]
lea esi, [ebp - 0x15c]
push esi
push edx
push edi
call dword [eax + 8]
jmp 0x43a391
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x15c]
push eax
push edx
push edi
mov eax, dword [esi + 0x2a4]
call eax
add esp, 0xc
mov dword [esi + 0x2c0], eax
cmp dword [ebp - 0x120], 0
mov byte [ebp - 4], 1
jne 0x43a3ee
push dword [ebp - 0x17c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43a3ee
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x43a3d3
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43a3cd
add esi, eax
sub edi, eax
jmp 0x43a3e4
je 0x43a5e1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43a5f5
test edi, edi
jne 0x43a3b0
mov edi, dword [ebp - 0x118]
cmp byte [ebp - 0x113], 0
jne 0x43a47e
mov ebx, dword [ebp - 0x138]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a406
sub ecx, edx
mov esi, edi
mov edx, ebx
sub ecx, 4
jb 0x43a429
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x43a432
add edx, 4
add esi, 4
sub ecx, 4
jae 0x43a418
cmp ecx, 0xfffffffc
je 0x43a4fd
mov al, byte [edx]
cmp al, byte [esi]
jne 0x43a46f
cmp ecx, 0xfffffffd
je 0x43a4fd
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x43a46f
cmp ecx, 0xfffffffe
je 0x43a4fd
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x43a46f
cmp ecx, 0xffffffff
je 0x43a4fd
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x43a4fd
mov dword [ebp - 0x128], 0
jmp 0x43a4fd
mov ebx, dword [ebp - 0x164]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a490
sub ecx, edx
mov esi, edi
mov edx, ebx
sub ecx, 4
jb 0x43a4b3
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x43a4b8
add edx, 4
add esi, 4
sub ecx, 4
jae 0x43a4a2
cmp ecx, 0xfffffffc
je 0x43a4f1
mov al, byte [edx]
cmp al, byte [esi]
jne 0x43a46f
cmp ecx, 0xfffffffd
je 0x43a4f1
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x43a46f
cmp ecx, 0xfffffffe
je 0x43a4f1
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x43a46f
cmp ecx, 0xffffffff
je 0x43a4f1
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x43a4f1
mov dword [ebp - 0x128], 0
jmp 0x43a4fd
mov ebx, dword [ebp - 0x128]
mov dword [ebp - 0x128], ebx
push edi
call fcn.00511347
mov ebx, dword [ebp - 0x13c]
add esp, 4
mov edx, dword [ebp - 0x144]
inc edx
cmp byte [ebp - 0x111], 0
mov dword [ebp - 0x144], edx
jne 0x439cf0
cmp dword [ebp - 0x128], 0
je 0x43a656
mov esi, 1
jmp 0x43a658
push str.VSocket::ReadExact_:_zero_bytes_read1_n
jmp 0x43a56d
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
cmp dword [ebp - 0x120], 0
jmp 0x43a5c4
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
cmp dword [ebp - 0x120], 0
jmp 0x43a5c4
push str.VSocket::ReadExact_:_zero_bytes_read1_n
jmp 0x43a5ae
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 0x43a5bd
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
cmp dword [ebp - 0x120], 0
jne 0x43a5f5
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x118]
push edi
call fcn.00511347
add esp, 4
jmp 0x43a656
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
mov edi, dword [ebp - 0x118]
push edi
call fcn.00511347
add esp, 4
jmp 0x43a656
mov eax, dword [ebx + 0x26c]
push dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x43a656
mov ecx, dword [esi + 4]
push dword [ebp - 0x11c]
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]
nop dword [eax]
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x43a640
mov ecx, dword [ebp - 0x160]
sub esi, edi
push esi
push eax
call fcn.0041c3b0
xor esi, esi
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x43a66b
push eax
call fcn.00511347
add esp, 4
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x43a67e
push eax
call fcn.00511347
add esp, 4
mov ebx, dword [ebp - 0x138]
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a690
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 4