Function at 0x602af870
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602f3455
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1344
call fcn.602e99e0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x602af8af
or eax, 0xffffffff
jmp 0x602afb06
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x1300
lea ecx, [ebp - 0x1324]
push ecx
push 0
push 0
push 0x4004747f
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x602af8f1
or eax, 0xffffffff
jmp 0x602afb06
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, 0x4c
div ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x1330], edx
push 0x60384d74
mov eax, dword [ebp - 0x1330]
imul eax, eax, 0x1c
add eax, 4
push eax
call fcn.602e99c8
add esp, 8
mov dword [ebp - 0x1338], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1338], 0
je 0x602af984
mov ecx, dword [ebp - 0x1338]
mov edx, dword [ebp - 0x1330]
mov dword [ecx], edx
push sym.ACE.dll_public_virtual:_void___thiscall_ACE_INET_Addr::destructor_void_
push sym.ACE.dll_public:_void___thiscall_ACE_INET_Addr::constructor_void_
mov eax, dword [ebp - 0x1330]
push eax
push 0x1c
mov ecx, dword [ebp - 0x1338]
add ecx, 4
push ecx
call fcn.602e9af3
mov edx, dword [ebp - 0x1338]
add edx, 4
mov dword [ebp - 0x1348], edx
jmp 0x602af98e
mov dword [ebp - 0x1348], 0
mov eax, dword [ebp - 0x1348]
mov dword [ebp - 0x1334], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1334]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x602af9c8
call dword [sym.imp.MSVCR71.dll__errno]
mov dword [eax], 0xc
or eax, 0xffffffff
jmp 0x602afb06
xor ecx, ecx
jne 0x602af907
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov dword [ebp - 0x14], 0
jmp 0x602af9eb
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x24]
jge 0x602afa69
mov dword [ebp - 0x132c], 0
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x4c
lea eax, [ebp + edx - 0x1324]
mov dword [ebp - 0x1328], eax
mov ecx, dword [ebp - 0x1328]
mov edx, dword [ecx]
and edx, 1
jne 0x602afa1f
jmp 0x602af9e2
mov eax, dword [ebp - 0x1328]
add eax, 4
mov dword [ebp - 0x132c], eax
mov ecx, dword [ebp - 0x132c]
cmp dword [ecx + 4], 0
jne 0x602afa3c
jmp 0x602af9e2
push 0x10
mov edx, dword [ebp - 0x132c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
imul ecx, ecx, 0x1c
mov edx, dword [ebp + 0xc]
add ecx, dword [edx]
call sym.ACE.dll_public:_int___thiscall_ACE_INET_Addr::set_struct_sockaddr_in_const___int_
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x602af9e2
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x602afb04
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x1344], edx
mov eax, dword [ebp - 0x1344]
mov dword [ebp - 0x1340], eax
mov ecx, dword [ebp - 0x1340]
mov dword [ebp - 0x133c], ecx
cmp dword [ebp - 0x133c], 0
je 0x602afaf1
mov edx, dword [ebp - 0x133c]
cmp dword [edx - 4], 0
je 0x602afac7
push 3
mov eax, dword [ebp - 0x1340]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1340]
call dword [edx]
mov dword [ebp - 0x134c], eax
jmp 0x602afae3
mov eax, dword [ebp - 0x133c]
sub eax, 4
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [ebp - 0x134c], 0
mov ecx, dword [ebp - 0x134c]
mov dword [ebp - 0x1350], ecx
jmp 0x602afafb
mov dword [ebp - 0x1350], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret