Function at 0x1003f670
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x11
push 2
push 2
mov edi, ecx
mov dword [ebp - 0xa4], 0xb5367df1
mov dword [ebp - 0xa0], 0x11cfcbac
xor esi, esi
mov dword [ebp - 0x9c], 0x8000ca95
mov dword [ebp - 0x98], 0x92a1485f
mov dword [ebp - 0xb4], 0x25a207b9
mov dword [ebp - 0xb0], 0x4660ddf3
mov dword [ebp - 0xac], 0xe576e98e
mov dword [ebp - 0xa8], 0x3e06748c
mov dword [ebp - 0xc4], 0xa441e712
mov dword [ebp - 0xc0], 0x43ca754f
mov dword [ebp - 0xbc], 0xee0da784
mov dword [ebp - 0xb8], 0x6d60cf44
mov dword [ebp - 0xd4], 0xf689d7c8
mov dword [ebp - 0xd0], 0x436b6f1f
mov dword [ebp - 0xcc], 0x4fe5538a
mov dword [ebp - 0xc8], 0x22c351e3
mov dword [ebp - 0xe4], 0x8509e081
mov dword [ebp - 0xe0], 0x400596dd
mov dword [ebp - 0xdc], 0x2e9e65b1
mov dword [ebp - 0xd8], 0x3f9ec7e8
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003f7ba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059abe], 0x20
je 0x1003fa7e
push eax
push str._data__UDP_send_segmentation_helper_socket_failed_to_open__0x_x
push ebx
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004cd88
push eax
call fcn.10001490
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100483f7
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push 4
lea eax, [edi + 0x18]
push eax
push 0x10
lea eax, [ebp - 0xa4]
push eax
push 0xc8000006
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1003f819
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059ab8], 4
mov esi, eax
je 0x1003f803
push str.SIO_GET_EXTENSION_FUNCTION_POINTER__AcceptEx_
push esi
call fcn.10001400
add esp, 8
test esi, esi
jle 0x1003fa77
movzx esi, si
or esi, 0x80070000
jmp 0x1003fa77
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push 4
lea eax, [edi + 0x1c]
push eax
push 0x10
lea eax, [ebp - 0xb4]
push eax
push 0xc8000006
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1003f878
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059ab8], 4
mov esi, eax
je 0x1003f862
push str.SIO_GET_EXTENSION_FUNCTION_POINTER__ConnectEx_
push esi
call fcn.10001400
add esp, 8
test esi, esi
jle 0x1003fa77
movzx esi, si
or esi, 0x80070000
jmp 0x1003fa77
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push 4
lea eax, [edi + 0x20]
push eax
push 0x10
lea eax, [ebp - 0xc4]
push eax
push 0xc8000006
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1003f8d7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059ab8], 4
mov esi, eax
je 0x1003f8c1
push str.SIO_GET_EXTENSION_FUNCTION_POINTER__WSASendMsg_
push esi
call fcn.10001400
add esp, 8
test esi, esi
jle 0x1003fa77
movzx esi, si
or esi, 0x80070000
jmp 0x1003fa77
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push 4
lea eax, [edi + 0x24]
push eax
push 0x10
lea eax, [ebp - 0xd4]
push eax
push 0xc8000006
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1003f936
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059ab8], 4
mov esi, eax
je 0x1003f920
push str.SIO_GET_EXTENSION_FUNCTION_POINTER__WSARecvMsg_
push esi
call fcn.10001400
add esp, 8
test esi, esi
jle 0x1003fa77
movzx esi, si
or esi, 0x80070000
jmp 0x1003fa77
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
push 0x38
lea eax, [edi + 0x28]
push eax
push 0x10
lea eax, [ebp - 0xe4]
push eax
push 0xc8000024
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1003f995
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059ab8], 4
mov esi, eax
je 0x1003f97f
push str.SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER__RIO_
push esi
call fcn.10001400
add esp, 8
test esi, esi
jle 0x1003fa77
movzx esi, si
or esi, 0x80070000
jmp 0x1003fa77
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 4
push eax
lea eax, [ebp - 0x94]
push eax
push 2
push 0x11
push ebx
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x1003f9fd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059abe], 0x20
je 0x1003fa01
push eax
push str._data__Query_for_UDP_SEND_MSG_SIZE_failed__0x_x
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004cd88
push eax
call fcn.10001490
add esp, 4
jmp 0x1003fa01
or dword [edi + 0x64], 4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 1
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x90], 4
push eax
push 3
push 0x11
push ebx
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x1003fa73
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test byte [0x10059abe], 0x20
je 0x1003fa77
push eax
push str._data__Query_for_UDP_RECV_MAX_COALESCED_SIZE_failed__0x_x
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.100015f0
add esp, 0x14
lea eax, [ebp - 0x88]
mov edx, 0x1004cd88
push eax
call fcn.10001490
add esp, 4
jmp 0x1003fa77
or dword [edi + 0x64], 2
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100483f7
mov esp, ebp
pop ebp
ret