Function at 0x41f670
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x465024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
xor ecx, ecx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], edi
call fcn.004291c0
test eax, eax
je 0x41f91b
cmp dword [0x465bd4], 1
jg 0x41f7f7
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41f6da
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41f6df
mov esi, 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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f760
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::SendBlock
cmovae eax, dword [ebp - 0x270]
push 0x145
push esi
push dword [0x45e958]
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 esi, eax
cmp ecx, 0x10
jb 0x41f8fe
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f8f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420111
jmp 0x41f8f4
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 0x41f875
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004195d0
push dword [0x45e958]
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 esi, eax
cmp ecx, 0x10
jb 0x41f8fe
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f8f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420116
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.SendBlock_enter
push esi
lea eax, [ebp - 0x258]
push eax
push 0
call fcn.004291f0
mov edx, dword [ebp - 0x288]
add esp, 0x10
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x41fe82
push 0
push ebx
push edi
push dword [edx + 4]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jle 0x41f948
add edi, esi
sub ebx, esi
mov dword [ebp - 0x284], edi
jmp 0x41fbce
jns 0x41fbe1
call fcn.00438ebb
cmp dword [eax], 4
je 0x41f973
call fcn.00438ebb
cmp dword [eax], 0x8c
je 0x41f973
call fcn.00438ebb
cmp dword [eax], 0xb
jne 0x41fbe1
mov ecx, 2
call fcn.004291c0
test eax, eax
je 0x41fbce
cmp dword [0x465bd4], 1
jg 0x41fa9d
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41f9b9
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x41f9be
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fa40
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::SendBlock
cmovae eax, dword [ebp - 0x270]
push 0x14d
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
add esp, 0x20
jmp 0x41fb6d
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x278]
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 0x41fb20
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
add esp, 0x14
mov ecx, dword [ebp - 0x25c]
mov edi, eax
cmp ecx, 0x10
jb 0x41fba9
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fb9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420111
push ecx
push edx
call fcn.0042f231
add esp, 8
call fcn.00438ebb
push dword [eax]
lea eax, [ebp - 0x258]
push esi
push str.send_return__d__errno:_d__retry
push edi
push eax
push 2
call fcn.004291f0
mov edi, dword [ebp - 0x284]
add esp, 0x18
test ebx, ebx
je 0x41fe82
mov edx, dword [ebp - 0x288]
jmp 0x41f926
mov ecx, 4
call fcn.004291c0
test eax, eax
je 0x41fe6d
cmp dword [0x465bd4], 1
jg 0x41fd47
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41fc27
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea edi, [eax + 1]
jmp 0x41fc2c
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 - 0x278]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x278]
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 word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fcb0
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::SendBlock
cmovae eax, dword [ebp - 0x270]
push 0x14f
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 0x41fe4e
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fe44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42011b
jmp 0x41fe44
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x278]
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 0x41fdc5
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 0x41fe4e
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fe44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420120
push ecx
push edx
call fcn.0042f231
add esp, 8
call fcn.00438ebb
push dword [eax]
lea eax, [ebp - 0x258]
push esi
push str.send_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
xor ecx, ecx
call fcn.004291c0
test eax, eax
je 0x4200fc
cmp dword [0x465bd4], 1
jg 0x41ffdf
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x41fec5
push 0x5c
push str.E:_srcdragent_test_srcconnection.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x41feca
mov esi, 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 - 0x278]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x278]
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 0x41ff48
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::SendBlock
cmovae eax, dword [ebp - 0x270]
push 0x153
push esi
push dword [0x45e958]
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 esi, eax
cmp ecx, 0x10
jb 0x4200e5
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4200db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420125
jmp 0x4200db
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x278]
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420060
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004195d0
push dword [0x45e958]
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 esi, eax
cmp ecx, 0x10
jb 0x4200e5
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4200db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42012a
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.SendBlock_leave_success
push esi
lea eax, [ebp - 0x258]
push eax
push 0
call fcn.004291f0
add esp, 0x10
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
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
call fcn.00436a90
int3