Function at 0x514490
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f6c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x6aae20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6aa5ec]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00508f20
movzx eax, byte [0x6b1614]
test eax, eax
jne 0x5144ef
movzx eax, byte [0x6b164e]
test eax, eax
jne 0x51456a
mov ecx, 0x6b2690
call fcn.00513d60
movzx eax, al
test eax, eax
je 0x51455e
push 1
call fcn.005140c0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2658]
cmp ecx, dword [eax + 0x2a8]
jne 0x51452c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2654]
cmp ecx, dword [eax + 0x2a4]
je 0x51455e
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2658]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2654]
mov dword [eax + 0x2a4], ecx
mov eax, dword [str.Service_Disabled_]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x284
call fcn.00512c30
call fcn.00509030
mov al, 1
jmp 0x514978
movzx eax, byte [0x6aa5c7]
test eax, eax
je 0x514618
mov ecx, 0x6b2690
call fcn.00513d60
movzx eax, al
test eax, eax
je 0x514618
call fcn.00514000
sub eax, dword [0x6b2660]
sbb edx, dword [0x6b2664]
push edx
push eax
call fcn.005149a0
add esp, 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0
jl 0x514618
jg 0x5145cc
cmp dword [ebp - 0xf4], 0xb4
jbe 0x514618
mov eax, dword [0x6b1638]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00513ce0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x5145ef
call fcn.0053ca60
mov dword [ebp - 0x1c], eax
mov ecx, 0x6b2690
call fcn.00513d10
cmp dword [ebp - 0x1c], eax
je 0x514608
push 1
call fcn.005140c0
add esp, 4
call fcn.00514000
mov dword [0x6b2660], eax
mov dword [0x6b2664], edx
mov ecx, 0x6b2690
call fcn.00513d60
movzx eax, al
test eax, eax
jne 0x51471b
push 0x67eed6
mov ecx, 0x6b2988
call fcn.00512c30
mov dword [0x6b2654], 0
mov dword [0x6b2658], 0
cmp dword [0x6b2650], 0
je 0x514663
mov eax, dword [0x6b2650]
mov dword [ebp - 0x14], eax
jmp 0x51466a
mov dword [ebp - 0x14], 0x1f90
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x6b2690
call fcn.0053f0f0
mov ecx, 0x6b2690
call fcn.00513d60
movzx eax, al
test eax, eax
jne 0x514696
xor al, al
jmp 0x514978
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x6b2690
call fcn.00514eb0
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xf4]
push edx
mov ecx, 0x6b2988
call fcn.00514b20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.0054b6b0
mov ecx, 0x6b2690
call fcn.00514e60
mov dword [0x6b2654], eax
mov ecx, 0x6b2690
call fcn.00513d10
mov dword [0x6b2658], eax
call fcn.00514000
mov dword [0x6b2660], eax
mov dword [0x6b2664], edx
mov ecx, 0x6b27e0
call fcn.0053d0b0
mov eax, dword [0x6b2654]
push eax
call fcn.0042d9f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x514742
mov eax, dword [0x6b2654]
push eax
mov ecx, dword [0x6b2658]
push ecx
call fcn.0053c0e0
movzx eax, byte [0x6b2d70]
test eax, eax
jne 0x514796
movzx eax, byte [0x6aa5cd]
test eax, eax
je 0x514796
mov ecx, 0x6b27e0
call fcn.00513d60
movzx eax, al
test eax, eax
jne 0x514796
mov ecx, 0x6b2690
call fcn.00513d60
movzx eax, al
test eax, eax
je 0x514796
push 0x6b14c0
mov eax, dword [0x6b2658]
push eax
mov ecx, dword [0x6b2654]
push ecx
mov ecx, 0x6b27e0
call fcn.0053f0f0
cmp dword [ebp + 8], 0
je 0x51489c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2658]
cmp ecx, dword [eax + 0x2a8]
jne 0x5147c6
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2654]
cmp ecx, dword [eax + 0x2a4]
je 0x51489c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2658]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6b2654]
mov dword [eax + 0x2a4], ecx
mov eax, dword [0x6b2654]
push eax
lea ecx, [ebp - 0xac]
call fcn.005149f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0x684d30
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x6b2988
call fcn.00514d10
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xf4]
call fcn.00514b80
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x284
call fcn.00514b20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.0054b6b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.0054b6b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0054b6b0
movzx eax, byte [0x6b265c]
test eax, eax
jne 0x514971
push 0x14
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x6b1644], eax
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00588eb0
add esp, 0xc
mov eax, 2
mov word [ebp - 0x2c], ax
movzx eax, word [0x6aa908]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x28], 0
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x6b1644]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x514919
call fcn.00514f60
call fcn.00509030
xor al, al
jmp 0x514978
push str.233.65.31.78
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x6b1648], eax
mov eax, dword [0x6b1648]
mov dword [ebp - 0x28], eax
push 4
push 0
push 0
push 0
push 0
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x6b1644]
push ecx
call dword [sym.imp.WS2_32.dll_WSAJoinLeaf]
mov dword [0x6b1640], eax
cmp dword [0x6b1640], 0xffffffff
jne 0x51496a
call fcn.00514f60
call fcn.00509030
xor al, al
jmp 0x514978
mov byte [0x6b265c], 1
call fcn.00509030
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005884bd
mov esp, ebp
pop ebp
ret