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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0xc], 4
push 0xfa
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
call fcn.00407000
cmp dword [ebp + 8], 0
jge 0x4076ad
mov dword [ebp - 0x24], 0
jmp 0x4076c1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
sub ecx, 1
xor edx, edx
cmp dword [ebp + 8], ecx
setle dl
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x407715
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 1]
push eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.error_L2_:_Index__d___x__x__x
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx]
call ecx
add esp, 0x18
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x7d08]
mov edx, dword [eax + 0xc]
call edx
xor eax, eax
jmp 0x407a8c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
shl ecx, 5
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + ecx + 0x1c]
test eax, eax
jne 0x40774b
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x7d08]
mov edx, dword [eax + 0xc]
call edx
xor eax, eax
jmp 0x407a8c
mov eax, dword [ebp + 8]
shl eax, 5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0x24]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0x10], 0x36b0
jbe 0x4077b1
push 0x224
push str.SourceNetworkcIOCP.cpp
mov eax, dword [ebp + 0x10]
push eax
push str.Error_:_Max_msg__d___s__d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx]
call ecx
add esp, 0x14
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00407f20
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x7d08]
mov eax, dword [edx + 0xc]
call eax
xor eax, eax
jmp 0x407a8c
mov ecx, dword [ebp - 0x10]
add ecx, 0x6d98
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x6d8c], 0
jle 0x4078a6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6d7c]
add ecx, dword [ebp + 0x10]
cmp ecx, 0x36af
jbe 0x40784c
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6d7c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6d80]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.__d_error_L2_MAX_BUFFER_OVER__d__d__d
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax]
call edx
add esp, 0x18
mov eax, dword [ebp - 4]
mov dword [eax + 0x6d8c], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00407f20
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x7d08]
mov edx, dword [eax + 0xc]
call edx
mov eax, 1
jmp 0x407a8c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6d7c]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x36cc]
push edx
call fcn.00434160
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6d7c]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6d7c], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x7d08]
mov eax, dword [edx + 0xc]
call eax
mov eax, 1
jmp 0x407a8c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6d80], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x6d7c], 0
jle 0x407901
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6d7c]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x36cc
push edx
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call fcn.00434160
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6d7c]
mov dword [ecx + 0x6d80], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6d7c], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6d80]
add eax, dword [ebp + 0x10]
cmp eax, 0x36af
jbe 0x407972
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6d80]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.__d_error_L2_MAX_BUFFER_OVER__d__d
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax]
call edx
add esp, 0x14
mov eax, dword [ebp - 4]
mov dword [eax + 0x6d8c], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00407f20
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x7d08]
mov edx, dword [eax + 0xc]
call edx
xor eax, eax
jmp 0x407a8c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6d80]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x1c]
push edx
call fcn.00434160
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6d80]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6d80], ecx
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6d80]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x6d84], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x6d88], 1
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x1c]
push edx
push 1
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov ecx, dword [ebp + 8]
shl ecx, 5
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x407a4e
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x407a4c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6d8c], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00407f20
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x7d08]
mov eax, dword [edx + 0xc]
call eax
xor eax, eax
jmp 0x407a8c
jmp 0x407a63
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xdb28]
add edx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xdb28], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6d8c], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x7d08
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x7d08]
mov edx, dword [eax + 0xc]
call edx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc