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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cab73
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x2d]
test ecx, ecx
je 0x4602ee
jmp 0x4604a4
mov edx, dword [ebp - 0x48]
add edx, 0x4c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 2
mov word [ebp - 0x20], ax
movzx ecx, word [ebp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x50], 0
jge 0x4603bf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2733
jne 0x4603bf
mov dword [ebp - 0x54], 0
jmp 0x460371
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0xa
jge 0x4603bf
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x4603a9
jmp 0x4603bf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2733
je 0x4603bd
jmp 0x4603bf
jmp 0x460368
cmp dword [ebp - 0x50], 0
jge 0x460497
cmp dword [ebp - 0x4c], 0x2733
je 0x460497
lea ecx, [ebp - 0x44]
call fcn.00408fe0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 3
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], 1
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004087a0
add esp, 8
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
push str.sendto_error:
lea ecx, [ebp - 0x80]
push ecx
call fcn.00408b80
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x38]
call fcn.0040f610
lea ecx, [ebp - 0x80]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004066d0
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x2d]
test ecx, ecx
jne 0x460488
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0xc], 0
je 0x460488
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x44]
push eax
call fcn.004099f0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004099d0
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588574
mov esp, ebp
pop ebp
ret 0x10