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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, 0x433458
mov ebx, 0x67df8c
push edi
mov byte [ebp - 4], 0xc1
mov word [ebp - 3], 0x6004
mov byte [ebp - 1], al
xor edi, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
jmp 0x403510
cmp byte [esi + 0x48], 1
jne 0x4037c4
mov dword [ebp - 0x10], 0
cmp edi, 0x28
ja 0x403779
cmp dword [ebx - 4], 1
jl 0x4037a9
mov esi, dword [ebx]
mov eax, dword [esi + 0x5e14]
mov dword [ebp - 0x14], esi
add esi, 0x2f18
cmp dword [esi + 0x2f0c], 0
jle 0x4035bd
lea ecx, [eax + 4]
cmp ecx, 0x176f
jbe 0x4035a7
mov edx, dword [esi + 0x2f00]
push 4
push eax
push edx
push edi
push str._IOCP__::__Index___d__MAX_BUFFER_OVER__d__d__d
push 0x688660
call fcn.0040a296
mov eax, dword [0x6885e0]
mov ecx, dword [eax]
push 0x688660
push 0x6885e0
call ecx
add esp, 0x20
mov dword [esi + 0x2f0c], 0
mov eax, edi
mov ebx, 0x6885e0
call fcn.00405550
mov ebx, dword [ebp - 8]
jmp 0x4037a9
mov edx, dword [ebp - 4]
mov dword [eax + esi + 0x178c], edx
add dword [esi + 0x2efc], 4
jmp 0x4037a9
mov dword [esi + 0x2f00], 0
test eax, eax
jle 0x4035f5
push eax
lea eax, [esi + 0x178c]
push eax
lea ecx, [esi + 0x1c]
push ecx
call fcn.0040b630
mov edx, dword [esi + 0x2efc]
add esp, 0xc
mov dword [esi + 0x2f00], edx
mov dword [esi + 0x2efc], 0
mov eax, dword [esi + 0x2f00]
lea ecx, [eax + 4]
cmp ecx, 0x176f
jbe 0x403635
push 4
push eax
push edi
push str._IOCP__::__Index___d__MAX_BUFFER_OVER__d__d__d
push 0x688660
call fcn.0040a296
mov edx, dword [0x6885e0]
mov eax, dword [edx]
push 0x688660
push 0x6885e0
call eax
add esp, 0x1c
jmp 0x403589
mov ecx, dword [ebp - 4]
mov dword [eax + esi + 0x1c], ecx
add dword [esi + 0x2f00], 4
mov ecx, dword [esi + 0x2f00]
push 0
push esi
lea eax, [esi + 0x14]
push 0
mov dword [eax], ecx
lea ecx, [ebp - 0x10]
push ecx
lea edx, [esi + 0x1c]
push 1
mov dword [esi + 0x18], edx
mov dword [esi + 0x2f04], 0
mov dword [esi + 0x2f08], 1
mov edx, dword [ebx - 0x50]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x403764
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x40376d
mov eax, dword [esi + 0x18]
mov dword [esi + 0x2f0c], 0
movsx eax, byte [eax]
cmp eax, 0xc1
jne 0x403705
mov esi, dword [esi + 0x18]
add ebx, 0xffffffb4
push ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi]
push eax
push ecx
push edx
push edi
push 0x2b9
push str._IOCP__::___d_WSASend__d__failed_with_error___x___x___d__s
push 0x688660
call fcn.0040a296
mov eax, dword [0x6885e0]
mov ecx, dword [eax]
push 0x688660
push 0x6885e0
call ecx
add esp, 0x28
mov eax, edi
mov ebx, 0x6885e0
call fcn.00405550
mov ebx, dword [ebp - 8]
jmp 0x4037a9
cmp eax, 0xc2
jne 0x403593
mov esi, dword [esi + 0x18]
add ebx, 0xffffffb4
push ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx edx, byte [esi + 3]
push eax
movzx eax, byte [esi]
push edx
push eax
push edi
push 0x2bf
push str._IOCP__::___d_WSASend__d__failed_with_error___x___x___d__s
push 0x688660
call fcn.0040a296
mov ecx, dword [0x6885e0]
mov edx, dword [ecx]
push 0x688660
push 0x6885e0
call edx
add esp, 0x28
mov eax, edi
mov ebx, 0x6885e0
call fcn.00405550
mov ebx, dword [ebp - 8]
jmp 0x4037a9
mov eax, dword [ebp - 0x14]
inc dword [eax + 0x5e28]
mov dword [esi + 0x2f0c], 1
jmp 0x4037a9
push 0x60
push 4
push 0xc1
push 4
push str._IOCP__::__DataSend__Index__d___x__x__x
push 0x688660
call fcn.0040a296
mov eax, dword [0x6885e0]
mov ecx, dword [eax]
push 0x688660
push 0x6885e0
call ecx
add esp, 0x20
mov esi, dword [ebp - 0xc]
push esi
push str._Start_Event_To_Server___s_
push 0x8a2be2
mov eax, 0x42a6d8
call fcn.00407e40
add esp, 0xc
add ebx, 0x58
add esi, 0x4c
inc edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
cmp ebx, 0x67ed4c
jl 0x403510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret