Function at 0x514740
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0edc
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x6d2e20]
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 [0x6d25ec]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00509220
movzx eax, byte [0x6d96b4]
test eax, eax
jne 0x51479f
movzx eax, byte [0x6d96ee]
test eax, eax
jne 0x51481a
mov ecx, 0x6da730
call fcn.00514010
movzx eax, al
test eax, eax
je 0x51480e
push 1
call fcn.00514370
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f8]
cmp ecx, dword [eax + 0x2a8]
jne 0x5147dc
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f4]
cmp ecx, dword [eax + 0x2a4]
je 0x51480e
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f8]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f4]
mov dword [eax + 0x2a4], ecx
mov eax, dword [str.Service_Disabled_]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x284
call fcn.00512ec0
call fcn.00509330
mov al, 1
jmp 0x514c28
movzx eax, byte [0x6d25c7]
test eax, eax
je 0x5148c8
mov ecx, 0x6da730
call fcn.00514010
movzx eax, al
test eax, eax
je 0x5148c8
call fcn.005142b0
sub eax, dword [0x6da700]
sbb edx, dword [0x6da704]
push edx
push eax
call fcn.00514c50
add esp, 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0
jl 0x5148c8
jg 0x51487c
cmp dword [ebp - 0xf4], 0xb4
jbe 0x5148c8
mov eax, dword [0x6d96d8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005697d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x51489f
call fcn.0053c960
mov dword [ebp - 0x1c], eax
mov ecx, 0x6da730
call fcn.00513fc0
cmp dword [ebp - 0x1c], eax
je 0x5148b8
push 1
call fcn.00514370
add esp, 4
call fcn.005142b0
mov dword [0x6da700], eax
mov dword [0x6da704], edx
mov ecx, 0x6da730
call fcn.00514010
movzx eax, al
test eax, eax
jne 0x5149cb
push 0x6a6f4e
mov ecx, 0x6daa28
call fcn.00512ec0
mov dword [0x6da6f4], 0
mov dword [0x6da6f8], 0
cmp dword [0x6da6f0], 0
je 0x514913
mov eax, dword [0x6da6f0]
mov dword [ebp - 0x14], eax
jmp 0x51491a
mov dword [ebp - 0x14], 0x1f90
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x6da730
call fcn.0053eff0
mov ecx, 0x6da730
call fcn.00514010
movzx eax, al
test eax, eax
jne 0x514946
xor al, al
jmp 0x514c28
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x6da730
call fcn.00515160
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, 0x6daa28
call fcn.00514dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.0054b5b0
mov ecx, 0x6da730
call fcn.00515110
mov dword [0x6da6f4], eax
mov ecx, 0x6da730
call fcn.00513fc0
mov dword [0x6da6f8], eax
call fcn.005142b0
mov dword [0x6da700], eax
mov dword [0x6da704], edx
mov ecx, 0x6da880
call fcn.0053cfb0
mov eax, dword [0x6da6f4]
push eax
call fcn.0042da10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x5149f2
mov eax, dword [0x6da6f4]
push eax
mov ecx, dword [0x6da6f8]
push ecx
call fcn.0053bfe0
movzx eax, byte [0x6dae10]
test eax, eax
jne 0x514a46
movzx eax, byte [0x6d25cd]
test eax, eax
je 0x514a46
mov ecx, 0x6da880
call fcn.00514010
movzx eax, al
test eax, eax
jne 0x514a46
mov ecx, 0x6da730
call fcn.00514010
movzx eax, al
test eax, eax
je 0x514a46
push 0x6d9560
mov eax, dword [0x6da6f8]
push eax
mov ecx, dword [0x6da6f4]
push ecx
mov ecx, 0x6da880
call fcn.0053eff0
cmp dword [ebp + 8], 0
je 0x514b4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f8]
cmp ecx, dword [eax + 0x2a8]
jne 0x514a76
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f4]
cmp ecx, dword [eax + 0x2a4]
je 0x514b4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f8]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6da6f4]
mov dword [eax + 0x2a4], ecx
mov eax, dword [0x6da6f4]
push eax
lea ecx, [ebp - 0xac]
call fcn.00514ca0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0x6acda8
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x6daa28
call fcn.00514fc0
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.00514e30
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.00514dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.0054b5b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.0054b5b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0054b5b0
movzx eax, byte [0x6da6fc]
test eax, eax
jne 0x514c21
push 0x14
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x6d96e4], eax
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00588e80
add esp, 0xc
mov eax, 2
mov word [ebp - 0x2c], ax
movzx eax, word [0x6d2908]
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 [0x6d96e4]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x514bc9
call fcn.00515210
call fcn.00509330
xor al, al
jmp 0x514c28
push str.233.65.31.78
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x6d96e8], eax
mov eax, dword [0x6d96e8]
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 [0x6d96e4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAJoinLeaf]
mov dword [0x6d96e0], eax
cmp dword [0x6d96e0], 0xffffffff
jne 0x514c1a
call fcn.00515210
call fcn.00509330
xor al, al
jmp 0x514c28
mov byte [0x6da6fc], 1
call fcn.00509330
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.0058848d
mov esp, ebp
pop ebp
ret