Function at 0x437fb0
Capabilities:
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x451424]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x58], 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x437ff2
or eax, 0xffffffff
jmp 0x43824d
mov eax, 2
mov word [ebp - 0x38], ax
push 0x3039
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x36], ax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x34], eax
push 0x10
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x43803c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x43824d
push 4
lea ecx, [ebp - 0x54]
push ecx
push 0x20
push 0xffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x43806a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x43824d
push 4
lea ecx, [ebp - 0x54]
push ecx
push 4
push 0xffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x438098
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x43824d
mov dword [ebp - 0x20], 0x1388
push 4
lea ecx, [ebp - 0x20]
push ecx
push 0x1006
push 0xffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4380d0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x43824d
push str.225.12.34.56
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x50], eax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
push 8
lea ecx, [ebp - 0x50]
push ecx
push 0xc
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x438126
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x43824d
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 4], 0
push 0x458120
call fcn.00403080
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, 1
test ecx, ecx
je 0x438235
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x3c], 0
jle 0x43816b
cmp dword [ebp - 4], 2
jle 0x43816b
jmp 0x438235
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xc
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jge 0x438198
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x438144
lea ecx, [ebp - 0x48]
push ecx
call fcn.00437b50
add esp, 4
test eax, eax
jge 0x4381de
movzx edx, byte [ebp - 0x40]
push edx
movzx eax, byte [ebp - 0x3f]
push eax
movzx ecx, byte [ebp - 0x3e]
push ecx
mov edx, dword [ebp - 0x58]
push edx
push str.er_len:_d_flag:_u_crc:_u_index:_u_n
call fcn.00402cdd
add eax, 0x40
push eax
call fcn.0040381a
add esp, 0x18
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x438144
movzx eax, byte [ebp - 0x45]
push eax
movzx ecx, byte [ebp - 0x46]
push ecx
movzx edx, byte [ebp - 0x47]
push edx
movzx eax, byte [ebp - 0x48]
push eax
push str.Got__d._d._d._d_n
call fcn.00402cdd
add eax, 0x40
push eax
call fcn.0040381a
add esp, 0x18
movzx ecx, byte [ebp - 0x45]
push ecx
movzx edx, byte [ebp - 0x46]
push edx
movzx eax, byte [ebp - 0x47]
push eax
movzx ecx, byte [ebp - 0x48]
push ecx
push str._d._d._d._d:80
push 0x458120
call fcn.00402ff8
add esp, 0x18
jmp 0x438235
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00402ab3
mov esp, ebp
pop ebp
ret