Function at 0x1000ffd0
Capabilities:
Create udp socket
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002e48b
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x1003a1c0]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
push edi
mov eax, dword [0x1003a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x408]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
call fcn.10006200
lea eax, [esp + 0x16c]
push eax
push 0x202
mov byte [esp + 0x1b], 0
call sub.WS2_32.dll_WSAStartup
mov esi, dword [sym.imp.WS2_32.dll_socket]
push 0x11
push 2
push 2
call esi
push 0x11
push 2
mov ebx, eax
push 2
mov dword [esp + 0x28], ebx
call esi
cmp ebx, 0xffffffff
mov edi, eax
mov dword [esp + 0x14], edi
je 0x10010107
push 4
lea ecx, [esp + 0x2c]
push ecx
push 0x20
push 0xffff
push ebx
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [sym.imp.WS2_32.dll_htons]
xor eax, eax
mov ebx, 0x2732
mov dword [esp + 0x142], eax
mov dword [esp + 0x146], eax
mov dword [esp + 0x14a], eax
mov word [esp + 0x14e], ax
mov dword [esp + 0x18], 0x10
mov word [esp + 0x140], 2
push ebx
call esi
push 0
mov word [esp + 0x146], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x144], eax
push edx
lea eax, [esp + 0x144]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1001010e
add ebx, 1
lea ecx, [ebx - 0x2732]
cmp ecx, 0xa
jl 0x100100b6
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push edx
call esi
push edi
call esi
xor al, al
jmp 0x1001037d
push 0xff
lea eax, [esp + 0x301]
push 0
push eax
call fcn.10020580
mov ecx, dword [str.yzlanhostmem]
mov edx, dword [0x10033314]
mov eax, dword [0x10033318]
add esp, 0xc
mov dword [esp + 0x2fc], ecx
mov cl, byte [0x1003331c]
push ebx
mov dword [esp + 0x304], edx
mov dword [esp + 0x308], eax
mov byte [esp + 0x30c], cl
call esi
movzx eax, ax
mov byte [esp + 0x309], al
mov byte [esp + 0x30a], ah
mov dword [esp + 0x20], 0
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_htonl]
push 0x2731
mov dword [esp + 0x148], eax
call esi
mov ecx, dword [esp + 0x1c]
push 0x10
lea edx, [esp + 0x144]
push edx
push 0
mov word [esp + 0x14e], ax
push 0xf
lea eax, [esp + 0x30c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x100101c8
push 0xbb8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10010308
lea edx, [esp + 0x2c]
push edx
push 0
push 0
lea eax, [esp + 0x40]
push eax
push 1
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10010308
cmp dword [esp + 0x34], 0
jbe 0x10010308
push 0xff
lea ecx, [esp + 0x300]
push 0
push ecx
call fcn.10020580
add esp, 0xc
push ebx
mov dword [esp + 0x1c], 0x10
mov word [esp + 0x144], 2
call esi
push 0
mov word [esp + 0x146], ax
call dword [sym.imp.WS2_32.dll_htonl]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x148], eax
lea eax, [esp + 0x144]
push eax
push 0
push 0xff
lea ecx, [esp + 0x30c]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x10010308
xor edi, edi
lea eax, [esp + 0x2fc]
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], edi
mov byte [esp + 0x154], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100102a3
sub eax, edx
push eax
lea edx, [esp + 0x300]
push edx
lea ecx, [esp + 0x158]
call fcn.10007110
mov dword [esp + 0x410], edi
mov ecx, str.yzlanhostmem
lea edi, [esp + 0x150]
call fcn.10009930
test al, al
jne 0x10010322
mov dword [esp + 0x410], 0xffffffff
cmp dword [esp + 0x168], 0x10
jb 0x10010304
mov eax, dword [esp + 0x154]
push eax
call fcn.1001dad4
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, 2
mov dword [esp + 0x20], eax
jl 0x10010174
mov bl, byte [esp + 0x13]
jmp 0x1001036b
mov ecx, dword [esp + 0x144]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10010335
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.10007110
cmp dword [esp + 0x168], 0x10
mov bl, 1
jb 0x10010367
mov edx, dword [esp + 0x154]
push edx
call fcn.1001dad4
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push eax
call esi
push edi
call esi
mov al, bl
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.1001e327
mov esp, ebp
pop ebp
ret