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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x465024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 0x284], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x274], edi
test ebx, ebx
je 0x4206fe
push 0
push ebx
push edi
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x420184
add edi, esi
sub ebx, esi
mov dword [ebp - 0x274], edi
jmp 0x42033a
jns 0x420466
call fcn.00438ebb
cmp dword [eax], 4
je 0x4201af
call fcn.00438ebb
cmp dword [eax], 0x8c
je 0x4201af
call fcn.00438ebb
cmp dword [eax], 0xb
jne 0x420466
mov ecx, 2
call fcn.004291c0
test eax, eax
je 0x42033a
cmp dword [0x465bd4], 1
jg 0x42034d
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x4201f5
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x4201fa
mov edi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x290]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x290]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x25c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x270], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420278
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004195d0
cmp dword [ebp - 0x25c], 0x10
lea eax, [ebp - 0x270]
push str.Connection::RecvBlock
cmovae eax, dword [ebp - 0x270]
push 0x15f
push edi
push dword [0x45e960]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x25c]
add esp, 0x20
mov dword [ebp - 0x278], eax
cmp ecx, 0x10
jb 0x420310
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420306
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420713
push ecx
push edx
call fcn.0042f231
add esp, 8
mov edi, dword [ebp - 0x274]
call fcn.00438ebb
push dword [eax]
lea eax, [ebp - 0x258]
push esi
push str.recv_return__d__errno:_d__just_retry
push dword [ebp - 0x278]
push eax
push 2
call fcn.004291f0
add esp, 0x18
test ebx, ebx
je 0x4206fe
mov eax, dword [ebp - 0x284]
jmp 0x420162
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x280]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x25c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x270], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4203d0
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004195d0
push dword [0x45e960]
cmp dword [ebp - 0x25c], 0x10
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
push str._s___s_
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x25c]
add esp, 0x14
mov dword [ebp - 0x278], eax
cmp ecx, 0x10
jb 0x420316
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420457
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420713
push ecx
push edx
call fcn.0042f231
add esp, 8
jmp 0x420316
mov ecx, 4
call fcn.004291c0
test eax, eax
je 0x4206e9
cmp dword [0x465bd4], 1
jg 0x4205c7
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x4204ac
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x4204b1
mov edi, str.E:_srcdragent_test_srcconnection.cpp
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x280]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x25c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x270], xmm0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420530
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004195d0
cmp dword [ebp - 0x25c], 0x10
lea eax, [ebp - 0x270]
push str.Connection::RecvBlock
cmovae eax, dword [ebp - 0x270]
push 0x161
push edi
push dword [0x45e968]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x25c]
add esp, 0x20
mov edi, eax
cmp ecx, 0x10
jb 0x4206ca
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4206c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420713
jmp 0x4206c0
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x280]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x25c], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x270], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420645
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004195d0
push dword [0x45e968]
cmp dword [ebp - 0x25c], 0x10
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
push str._s___s_
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x25c]
add esp, 0x14
mov edi, eax
cmp ecx, 0x10
jb 0x4206ca
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4206c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420718
push ecx
push edx
call fcn.0042f231
add esp, 8
call fcn.00438ebb
push dword [eax]
lea eax, [ebp - 0x258]
push esi
push str.recv_return__d_errno:_d
push edi
push eax
push 4
call fcn.004291f0
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f1f3
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f1f3
mov esp, ebp
pop ebp
ret 8
call fcn.00436a90
call fcn.00436a90
int3