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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1f4e
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x639490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x6c]
call fcn.004104d0
mov dword [ebp - 4], 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
jne 0x445319
mov byte [ebp - 0x6c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.004087a0
add esp, 8
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x88]
push eax
push str.create_udp_socket_error:
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00408b80
add esp, 0xc
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040f610
lea ecx, [ebp - 0xa8]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf0]
call fcn.004066d0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov ecx, dword [ebp - 0x70]
or ecx, 1
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x44548b
mov dword [ebp - 0x14], 0x40000
push 4
lea edx, [ebp - 0x14]
push edx
push 0x1002
push 0xffff
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x1001
push 0xffff
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, 2
mov word [ebp - 0x24], ax
mov ecx, dword [ebp - 0x78]
movzx edx, word [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
mov ecx, dword [ebp - 0x78]
add ecx, 0x8c
call fcn.00406750
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x20], eax
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x44544a
mov byte [ebp - 0x6c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.004087a0
add esp, 8
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x8c]
push edx
push str.bind_error:
lea eax, [ebp - 0xd8]
push eax
call fcn.00408b80
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040f610
lea ecx, [ebp - 0xd8]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004066d0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov ecx, dword [ebp - 0x70]
or ecx, 1
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x44548b
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x28], eax
mov byte [ebp - 0x6c], 1
push 0x60d099
lea ecx, [ebp - 0x68]
call fcn.00408b60
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov edx, dword [ebp - 0x70]
or edx, 1
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581e9f
mov esp, ebp
pop ebp
ret 4