Function at 0x100771c0
Capabilities:
Create udp socket
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6d3e
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1bc]
call fcn.1004a660
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1bc]
push eax
call fcn.10053c30
add esp, 4
xor ecx, ecx
mov byte [ebp - 0x1a1], cl
push 0x270f
lea edx, [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x171]
call fcn.10076fe0
push 0x826
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x171]
call fcn.10076fe0
push 0x827
lea ecx, [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x171]
call fcn.10076fe0
push 0x828
lea edx, [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x171]
call fcn.10076fe0
push 0xa55a
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x24], ax
xor eax, eax
mov word [ebp - 0x22], ax
push 0x14
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x20], ax
push 0
call fcn.1004ef80
add esp, 4
movzx ecx, ax
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov dl, byte [ebp - 0x1c]
and dl, 0xfe
mov byte [ebp - 0x1c], dl
mov al, byte [ebp - 0x1c]
and al, 0xfd
mov byte [ebp - 0x1c], al
mov cl, byte [ebp - 0x1c]
and cl, 0xfb
mov byte [ebp - 0x1c], cl
mov dl, byte [ebp - 0x1c]
and dl, 0xf7
mov byte [ebp - 0x1c], dl
mov al, byte [ebp - 0x1c]
and al, 0xf
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x1b], 0
xor ecx, ecx
mov word [ebp - 0x1a], cx
xor edx, edx
mov word [ebp - 0x18], dx
mov ecx, dword [ebp + 0x10]
call fcn.10007050
push eax
call fcn.100a6ca8
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x16], eax
push 0x100
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
xor eax, eax
mov word [ebp - 0x178], ax
lea ecx, [ebp - 0x1a0]
call fcn.1004a660
mov byte [ebp - 4], 1
mov dword [ebp - 0x1a8], 0
jmp 0x10077341
mov ecx, dword [ebp - 0x1a8]
add ecx, 1
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 3
jge 0x100777f5
mov dword [ebp - 0x188], 0
jmp 0x10077369
mov edx, dword [ebp - 0x188]
add edx, 1
mov dword [ebp - 0x188], edx
lea ecx, [ebp - 0x1a0]
call fcn.1006c810
cmp dword [ebp - 0x188], eax
jae 0x100773a5
mov eax, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10063520
mov ecx, dword [eax]
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0x1e8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1007735a
lea ecx, [ebp - 0x1a0]
call fcn.1006b710
mov dword [ebp - 0x1b0], 0
jmp 0x100773cb
mov eax, dword [ebp - 0x1b0]
add eax, 1
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0x1bc]
call fcn.10054310
cmp dword [ebp - 0x1b0], eax
jae 0x10077498
mov dword [ebp - 0x17c], 0xffffffff
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0xffffffff
jne 0x10077409
jmp 0x100773bc
mov dword [ebp - 0x1cc], 1
lea ecx, [ebp - 0x1cc]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x17c]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x10077443
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x100773bc
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
push 0
push 0
lea ecx, [ebp - 0x1d0]
push ecx
push 0
push 0
push 4
lea edx, [ebp - 0x1d4]
push edx
push 0x9800000c
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
lea ecx, [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.1003bff0
jmp 0x100773bc
lea ecx, [ebp - 0x1a0]
call fcn.1000f7f0
movzx edx, al
test edx, edx
je 0x100774af
jmp 0x10077332
mov dword [ebp - 0x184], 0
jmp 0x100774ca
mov eax, dword [ebp - 0x184]
add eax, 1
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x1a0]
call fcn.1006c810
cmp dword [ebp - 0x184], eax
jae 0x1007759a
mov ecx, dword [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.10063520
mov edx, dword [eax]
mov dword [ebp - 0x1d8], edx
mov eax, 2
mov word [ebp - 0x34], ax
xor ecx, ecx
mov word [ebp - 0x32], cx
mov byte [ebp - 0x30], 0
xor edx, edx
mov word [ebp - 0x2f], dx
mov byte [ebp - 0x2d], dl
mov byte [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x2b], eax
mov word [ebp - 0x27], ax
mov byte [ebp - 0x25], al
mov ecx, dword [ebp + 8]
call fcn.10007050
push eax
lea ecx, [ebp - 0x5c]
call fcn.10005de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
push ecx
call fcn.1002bbb0
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10005f30
mov edx, dword [ebp - 0x184]
push edx
lea ecx, [ebp - 0x1bc]
call fcn.10076fc0
mov ax, word [eax]
movzx ecx, ax
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x32], ax
push 0x10
lea edx, [ebp - 0x34]
push edx
push 0
push 0x14
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1d8]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x100774bb
mov dword [ebp - 0x1ac], 0
jmp 0x100775b5
mov edx, dword [ebp - 0x1ac]
add edx, 1
mov dword [ebp - 0x1ac], edx
cmp dword [ebp - 0x1ac], 3
jae 0x100777e3
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x18c], 0
jmp 0x100775e7
mov eax, dword [ebp - 0x18c]
add eax, 1
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x1a0]
call fcn.1006c810
cmp dword [ebp - 0x18c], eax
jae 0x1007769c
mov ecx, dword [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.10063520
mov edx, dword [eax]
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x180], 0
jmp 0x10077633
mov eax, dword [ebp - 0x180]
add eax, 1
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [ebp - 0x170]
jae 0x1007765a
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp + edx*4 - 0x16c]
cmp eax, dword [ebp - 0x1c8]
jne 0x10077658
jmp 0x1007765a
jmp 0x10077624
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [ebp - 0x170]
jne 0x10077693
cmp dword [ebp - 0x170], 0x40
jae 0x10077693
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x1c8]
mov dword [ebp + edx*4 - 0x16c], eax
mov ecx, dword [ebp - 0x170]
add ecx, 1
mov dword [ebp - 0x170], ecx
xor edx, edx
jne 0x10077618
jmp 0x100775d8
mov dword [ebp - 0x1f0], 2
mov dword [ebp - 0x1ec], 0
lea eax, [ebp - 0x1f0]
push eax
push 0
push 0
lea ecx, [ebp - 0x170]
push ecx
push 0
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xffffffff
jne 0x100776de
jmp 0x100777e3
cmp dword [ebp - 0x1c4], 0
jne 0x100776ec
jmp 0x100775a6
mov dword [ebp - 0x190], 0
jmp 0x10077707
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
lea ecx, [ebp - 0x1a0]
call fcn.1006c810
cmp dword [ebp - 0x190], eax
jae 0x100777d1
mov eax, dword [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10063520
mov ecx, dword [eax]
mov dword [ebp - 0x1c0], ecx
lea edx, [ebp - 0x170]
push edx
mov eax, dword [ebp - 0x1c0]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x10077751
jmp 0x100776f8
xor ecx, ecx
mov word [ebp - 0x44], cx
xor edx, edx
mov dword [ebp - 0x42], edx
mov dword [ebp - 0x3e], edx
mov dword [ebp - 0x3a], edx
mov word [ebp - 0x36], dx
mov dword [ebp - 0x1dc], 0x10
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x10
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x1c0]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0x10
je 0x100777a4
jmp 0x100776f8
movzx ecx, word [ebp - 0x5e]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
cmp edx, 0x100
je 0x100777bf
jmp 0x100776f8
mov ax, word [ebp - 0x42]
mov word [ebp - 0x178], ax
jmp 0x100777d1
movzx ecx, word [ebp - 0x178]
test ecx, ecx
je 0x100777de
jmp 0x100777e3
jmp 0x100775a6
movzx edx, word [ebp - 0x178]
test edx, edx
je 0x100777f0
jmp 0x100777f5
jmp 0x10077332
xor eax, eax
jne 0x10077326
mov dword [ebp - 0x194], 0
jmp 0x10077818
mov ecx, dword [ebp - 0x194]
add ecx, 1
mov dword [ebp - 0x194], ecx
lea ecx, [ebp - 0x1a0]
call fcn.1006c810
cmp dword [ebp - 0x194], eax
jae 0x10077854
mov edx, dword [ebp - 0x194]
push edx
lea ecx, [ebp - 0x1a0]
call fcn.10063520
mov eax, dword [eax]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x10077809
mov dx, word [ebp - 0x178]
mov word [ebp - 0x1a4], dx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.10062af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.100410f0
mov ax, word [ebp - 0x1a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret