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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x4a5c78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
mov ebx, dword [edi + 0x864c]
mov eax, dword [ebx + 0x1ab0]
sub eax, dword [ebx + 0x1aac]
lea ecx, [ebx + 0x18ac]
add eax, 2
push eax
push ecx
push 0x3c
mov dword [ebp - 0x90c], esi
mov dword [ebp - 0x908], edi
call fcn.0042ea90
mov eax, dword [ebx + 0x1aac]
movzx ecx, byte [eax]
inc eax
add esp, 0xc
mov dword [ebx + 0x1aac], eax
cmp ecx, 0x18
je 0x42f155
cmp ecx, 0x23
je 0x42f0c5
cmp ecx, 0x27
jne 0x42f1f0
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea edx, [ebp - 0x904]
push 0x800
push edx
call dword [0x49e7c4]
mov edi, dword [ebx + 0x18a8]
add esp, 0x1c
mov esi, 4
test edi, edi
je 0x42f04e
mov edi, edi
mov edx, dword [edi]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42efe7
sub eax, ebx
lea ebx, [eax + esi + 1]
cmp ebx, 0x7fa
jae 0x42f047
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x104]
push ecx
push str._127_____127s
push edx
call fcn.00469553
lea edx, [ebp - 0x84]
push edx
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov ecx, 0x800
push str._c_s_c_s
sub ecx, esi
push ecx
lea edx, [ebp + esi - 0x904]
push edx
call dword [0x49e7c4]
add esp, 0x2c
mov esi, ebx
mov edi, dword [edi + 4]
test edi, edi
jne 0x42efe0
push 0xf0
push 0xff
mov eax, 0x800
push str._c_c
sub eax, esi
push eax
lea ecx, [ebp + esi - 0x904]
push ecx
call dword [0x49e7c4]
mov eax, dword [ebp - 0x90c]
mov ecx, dword [eax + 0x12c]
add esp, 0x14
push 0
add esi, 2
push esi
lea edx, [ebp - 0x904]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x42f0b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0x908]
push eax
push str.Sending_data_failed___d_
push edx
call fcn.0042a4b0
add esp, 0xc
add esi, 0xfffffffe
push esi
lea eax, [ebp - 0x902]
push eax
jmp 0x42f1e0
lea ecx, [ebx + 0x1828]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f0d0
push 0xf0
push 0xff
push ecx
push 0
push 0x23
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
lea ecx, [ebp - 0x904]
sub eax, edi
push 0x800
push ecx
lea ebx, [eax + 6]
call dword [0x49e7c4]
mov eax, dword [esi + 0x12c]
add esp, 0x28
push 0
push ebx
lea edx, [ebp - 0x904]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x42f145
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x908]
push eax
push str.Sending_data_failed___d_
push ecx
call fcn.0042a4b0
add esp, 0xc
add ebx, 0xfffffffe
push ebx
lea edx, [ebp - 0x902]
push edx
jmp 0x42f1e0
lea ecx, [ebx + 0x1808]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f160
push 0xf0
push 0xff
push ecx
push 0
push 0x18
push 0xfa
push 0xff
sub eax, edi
push str._c_c_c_c_s_c_c
lea ebx, [eax + 6]
lea eax, [ebp - 0x904]
push 0x800
push eax
call dword [0x49e7c4]
mov edx, dword [esi + 0x12c]
add esp, 0x28
push 0
push ebx
lea ecx, [ebp - 0x904]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x42f1d5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [ebp - 0x908]
push str.Sending_data_failed___d_
push eax
call fcn.0042a4b0
add esp, 0xc
add ebx, 0xfffffffe
push ebx
lea ecx, [ebp - 0x902]
push ecx
mov edi, dword [ebp - 0x908]
push 0x3e
call fcn.0042ea90
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468861
mov esp, ebp
pop ebp
ret