Function at 0x41b1e0
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d15b
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x49b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 2
mov word [ebp - 0x24], ax
movzx ecx, word [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x20], eax
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x41b3cf
mov eax, dword [ebp + 8]
cdq
push edx
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0041cda0
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc0]
push eax
push 0x495070
lea ecx, [ebp - 0xf4]
push ecx
call fcn.0040cdb0
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 1
push 0x49506c
mov eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.0040cdf0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf4]
call fcn.00404910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
call fcn.00404910
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cdq
push edx
push eax
lea edx, [ebp - 0x13c]
push edx
call fcn.0041cda0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
push ecx
push 0x495078
lea edx, [ebp - 0x124]
push edx
call fcn.0040ccf0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0041c990
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.00404910
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x13c]
call fcn.00404910
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
push 0x495088
lea edx, [ebp - 0x3c]
push edx
push ecx
call fcn.004029d0
add esp, 0xc
mov dword [ebp - 0xd0], eax
call fcn.0041b1c0
add esp, 0x18
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00404910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00404910
mov eax, dword [ebp - 0x94]
jmp 0x41b5b1
mov dword [ebp - 0x14], 0x8000
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1002
push 0xffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x41b5ac
mov eax, dword [ebp + 8]
cdq
push edx
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.0041cda0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x9c]
push edx
push str._port_:
lea eax, [ebp - 0x154]
push eax
call fcn.0040cdb0
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 0xb
push 0x49508c
mov edx, dword [ebp - 0xa4]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0040cdf0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x154]
call fcn.00404910
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x16c]
call fcn.00404910
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cdq
push edx
push eax
lea ecx, [ebp - 0x19c]
push ecx
call fcn.0041cda0
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x84]
push eax
push 0x495098
lea ecx, [ebp - 0x184]
push ecx
call fcn.0040ccf0
add esp, 0xc
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0041c990
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x184]
call fcn.00404910
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x19c]
call fcn.00404910
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xd4], esp
push 0x4950a8
lea ecx, [ebp - 0x6c]
push ecx
push eax
call fcn.004029d0
add esp, 0xc
mov dword [ebp - 0xd8], eax
call fcn.0041b1c0
add esp, 0x18
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov dword [ebp - 0xb8], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c]
call fcn.00404910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00404910
mov eax, dword [ebp - 0xb8]
jmp 0x41b5b1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456b9f
mov esp, ebp
pop ebp
ret