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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e16b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
call fcn.00482190
test eax, eax
jne 0x48352e
call fcn.00481730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48353c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x483516
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push ecx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x3c], 2
mov dword [ebp - 0x38], edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3a], ax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x483739
mov eax, dword [ebx + 0xc]
test eax, eax
mov byte [ebp + 8], 0x14
je 0x483587
mov ecx, dword [ebx + 8]
call fcn.00481e40
add al, 0x14
mov byte [ebp + 8], al
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
xor eax, eax
mov al, byte [ebx + 0x14]
xor ecx, ecx
mov cl, byte [ebx + 0x15]
push eax
push 0x4000
push ecx
mov ecx, ebx
call dword [esi + 0x28]
mov esi, eax
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx]
push edi
push eax
push esi
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [edx + 0x30]
movzx eax, byte [ebp + 8]
mov ecx, dword [ebp + 0x10]
lea edi, [eax + ecx]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esi + 2], ax
call sub.MFC71.DLL_operator_new
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 0x2c], 0x4ab798
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 1
mov edx, esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [edx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebx + 0xc]
test eax, eax
mov byte [ebp - 4], 2
je 0x483648
mov ecx, dword [ebx + 8]
mov esi, dword [ecx + 0x30]
call fcn.00481e40
add edi, 0x14
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48366d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov esi, eax
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call fcn.00482110
add esp, 8
mov word [esi + 0xa], ax
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x34]
mov eax, esi
mov edx, dword [eax]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x18]
push 0x10
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x3c]
push ecx
push 0
push edx
push edi
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp + 0x10], eax
call fcn.00481730
cmp dword [ebp + 0x10], eax
jne 0x483712
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 4]
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x483712
push str.Send___Raw
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x58]
push edx
lea ecx, [ecx + ebx + 4]
mov byte [ebp - 4], 3
call fcn.004813c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
call sub.MFC71.DLL_operator_delete
push esi
call sub.MFC71.DLL_operator_delete_1
mov esi, dword [ebp + 0x10]
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00481730
xor edx, edx
test eax, eax
sete dl
mov esi, edx
call fcn.00481730
cmp esi, eax
je 0x48376f
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x1c]
push 0x10
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp + 0x10], eax
mov esi, eax
call fcn.00481730
cmp esi, eax
jne 0x4837c0
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + ebx + 4]
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4837c0
push str.Send
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [eax + ebx + 4]
mov byte [ebp - 4], 4
call fcn.004813c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10