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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbe8
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x18], eax
push esi
push edi
mov edi, edx
test eax, eax
je 0x100103d6
push 0x7ff
lea eax, [ebp - 0xa23]
mov dword [ebp - 0x10], 0
push 0
push eax
mov byte [ebp - 0xa24], 0
call fcn.1006ff30
add esp, 8
mov dword [ebp - 0xbd8], 0
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xbd8]
push eax
call fcn.10011260
cmp dword [ebp - 0xbd8], 0
jne 0x100103d6
push ecx
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xbd8]
push eax
call fcn.10011720
cmp dword [ebp - 0xbd8], 0
jne 0x100103d6
call fcn.10011190
test eax, eax
jne 0x100103d6
push 0x206
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call fcn.1006ff30
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.1000ff60
test al, al
jne 0x100103d6
xor eax, eax
push 0x18e
push eax
mov word [ebp - 0xbd4], ax
lea eax, [ebp - 0xbd2]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0xbd4]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0
push 2
push 2
call sub.WS2_32.dll_socket
mov esi, eax
mov dword [ebp - 0xbd8], esi
cmp esi, 0xffffffff
je 0x100103d6
push 4
lea eax, [ebp - 0xbdc]
mov dword [ebp - 0xbdc], 0xbb8
push eax
push 0x1005
push 0xffff
push esi
call sub.WS2_32.dll_setsockopt
push 4
lea eax, [ebp - 0xbdc]
push eax
push 0x1006
push 0xffff
push esi
call sub.WS2_32.dll_setsockopt
push 4
lea eax, [ebp - 0xbdc]
mov dword [ebp - 0xbdc], 4
push eax
push 0x1001
push 0xffff
push esi
call sub.WS2_32.dll_setsockopt
push 4
lea eax, [ebp - 0xbdc]
mov dword [ebp - 0xbdc], 0x304
push eax
push 0x1002
push 0xffff
push esi
call sub.WS2_32.dll_setsockopt
xorps xmm0, xmm0
mov eax, 2
movdqu xmmword [ebp - 0xa34], xmm0
push edi
mov word [ebp - 0xa34], ax
call sub.WS2_32.dll_htons
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov word [ebp - 0xa32], ax
mov dword [ebp - 0xa30], 0x3d389f73
mov dword [ebp - 0xbe0], 0x10
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebp - 0xbe4], eax
lea eax, [ebp - 0xa34]
push eax
push 0
push 4
lea eax, [ebp - 0xbe4]
push eax
push esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jle 0x10010342
lea eax, [ebp - 0xbe0]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x304
push dword [ebp - 0x18]
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x10010342
cmp dword [ebp - 0xbe0], 0x10
jne 0x10010342
lea ecx, [ebp - 0xa34]
mov esi, 0xc
lea edx, [ebp - 0xa44]
jmp 0x10010320
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001033c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10010320
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xff1425
je 0x10010350
mov esi, dword [ebp - 0xbd8]
push 0x64
call edi
inc ebx
cmp ebx, 0x1e
jl 0x100102b5
push dword [ebp - 0xbd8]
call sub.WS2_32.dll_closesocket
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ecx + 0x204]
call fcn.10010830
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100103d6
test eax, eax
jle 0x100103d6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xd4d7b4c0
push eax
push ecx
mov word [ebp - 0xc], 0xbaa3
mov byte [ebp - 0xa], 0
call fcn.10072370
add esp, 8
test eax, eax
je 0x100103d6
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xa9becfc4
push ecx
add eax, 6
mov word [ebp - 0x14], 0xd0ca
push eax
mov byte [ebp - 0x12], 0
call fcn.10072370
add esp, 8
test eax, eax
jne 0x100103d6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret