Function at 0x10019540
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
and esp, 0xfffffff8
sub esp, 0x278
mov eax, dword [0x10080704]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push esi
lea eax, [esp + 0x98]
mov dword [esp + 0x14], ecx
push eax
push 0x101
mov ebx, edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100197a1
mov eax, dword [esp + 0x98]
cmp al, 1
jne 0x100197a1
shr eax, 8
cmp al, 1
jne 0x100197a1
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 4
mov esi, eax
mov dword [esp + 0x10], 0xbb8
lea eax, [esp + 0x10]
push eax
push 0x1005
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x100195d7
push eax
push str.setsockopt_SO_SNDTIMEO_Error:_d
call fcn.10010e40
add esp, 8
push 4
lea eax, [esp + 0x10]
push eax
push 0x1006
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x10019601
push eax
push str.setsockopt_SO_RCVTIMEO_Error:_d
call fcn.10010e40
add esp, 8
push str.120.25.108.11
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x2c], eax
mov eax, 2
push 0x7b
mov word [esp + 0x2c], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0xb000000
mov word [esp + 0x2e], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], 0
push eax
push 0
push 0x30
lea eax, [esp + 0x48]
mov dword [esp + 0x50], 0
push eax
push esi
mov dword [esp + 0x5c], 0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x10019784
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x30
lea eax, [esp + 0x78]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x10019784
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [esp + 0x90]
call dword [sym.imp.WS2_32.dll_ntohl]
add eax, 0x7c558180
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.10044102
mov esi, eax
add esp, 4
test esi, esi
je 0x100197a7
mov eax, dword [esi + 0x10]
push ecx
push 0
push 0
push 0
push dword [esi + 0xc]
inc eax
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
call fcn.10015f00
mov eax, dword [esp + 0x20]
push esi
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
push str._Y__m__d
mov dword [ebx + 4], eax
lea eax, [esp + 0x230]
push 0x50
push eax
call fcn.10044263
lea edx, [esp + 0x238]
add esp, 0x10
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10019750
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x228]
sub edx, esi
push edx
push eax
call fcn.10008470
mov eax, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x27c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret