Function at 0x514220
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0ddc
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x63ee20]
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 [0x63e5ec]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00508ce0
movzx eax, byte [0x645464]
test eax, eax
jne 0x51427f
movzx eax, byte [0x64549e]
test eax, eax
jne 0x5142fa
mov ecx, 0x6464e0
call fcn.00513af0
movzx eax, al
test eax, eax
je 0x5142ee
push 1
call fcn.00513e50
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a8]
cmp ecx, dword [eax + 0x2a8]
jne 0x5142bc
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a4]
cmp ecx, dword [eax + 0x2a4]
je 0x5142ee
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a8]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a4]
mov dword [eax + 0x2a4], ecx
mov eax, dword [str.Service_Disabled_]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x284
call fcn.005129a0
call fcn.00508df0
mov al, 1
jmp 0x514708
movzx eax, byte [0x63e5c7]
test eax, eax
je 0x5143a8
mov ecx, 0x6464e0
call fcn.00513af0
movzx eax, al
test eax, eax
je 0x5143a8
call fcn.00513d90
sub eax, dword [0x6464b0]
sbb edx, dword [0x6464b4]
push edx
push eax
call fcn.00514730
add esp, 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0
jl 0x5143a8
jg 0x51435c
cmp dword [ebp - 0xf4], 0xb4
jbe 0x5143a8
mov eax, dword [0x645488]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0056a030
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x51437f
call fcn.0053d1e0
mov dword [ebp - 0x1c], eax
mov ecx, 0x6464e0
call fcn.00513aa0
cmp dword [ebp - 0x1c], eax
je 0x514398
push 1
call fcn.00513e50
add esp, 4
call fcn.00513d90
mov dword [0x6464b0], eax
mov dword [0x6464b4], edx
mov ecx, 0x6464e0
call fcn.00513af0
movzx eax, al
test eax, eax
jne 0x5144ab
push 0x612d66
mov ecx, 0x6467d8
call fcn.005129a0
mov dword [0x6464a4], 0
mov dword [0x6464a8], 0
cmp dword [0x6464a0], 0
je 0x5143f3
mov eax, dword [0x6464a0]
mov dword [ebp - 0x14], eax
jmp 0x5143fa
mov dword [ebp - 0x14], 0x1f90
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x6464e0
call fcn.0053f870
mov ecx, 0x6464e0
call fcn.00513af0
movzx eax, al
test eax, eax
jne 0x514426
xor al, al
jmp 0x514708
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x6464e0
call fcn.00514c40
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, 0x6467d8
call fcn.005148b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.00510a40
mov ecx, 0x6464e0
call fcn.00514bf0
mov dword [0x6464a4], eax
mov ecx, 0x6464e0
call fcn.00513aa0
mov dword [0x6464a8], eax
call fcn.00513d90
mov dword [0x6464b0], eax
mov dword [0x6464b4], edx
mov ecx, 0x646630
call fcn.0053d830
mov eax, dword [0x6464a4]
push eax
call fcn.0042da10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x5144d2
mov eax, dword [0x6464a4]
push eax
mov ecx, dword [0x6464a8]
push ecx
call fcn.0053c860
movzx eax, byte [0x646bc0]
test eax, eax
jne 0x514526
movzx eax, byte [0x63e5cd]
test eax, eax
je 0x514526
mov ecx, 0x646630
call fcn.00513af0
movzx eax, al
test eax, eax
jne 0x514526
mov ecx, 0x6464e0
call fcn.00513af0
movzx eax, al
test eax, eax
je 0x514526
push 0x645310
mov eax, dword [0x6464a8]
push eax
mov ecx, dword [0x6464a4]
push ecx
mov ecx, 0x646630
call fcn.0053f870
cmp dword [ebp + 8], 0
je 0x51462c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a8]
cmp ecx, dword [eax + 0x2a8]
jne 0x514556
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a4]
cmp ecx, dword [eax + 0x2a4]
je 0x51462c
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a8]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x6464a4]
mov dword [eax + 0x2a4], ecx
mov eax, dword [0x6464a4]
push eax
lea ecx, [ebp - 0xac]
call fcn.00514780
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0x618bc8
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x6467d8
call fcn.00514aa0
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.00514910
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.005148b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00510a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.00510a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00510a40
movzx eax, byte [0x6464ac]
test eax, eax
jne 0x514701
push 0x14
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x645494], eax
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00588e40
add esp, 0xc
mov eax, 2
mov word [ebp - 0x2c], ax
movzx eax, word [0x63e908]
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 [0x645494]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x5146a9
call fcn.00514cf0
call fcn.00508df0
xor al, al
jmp 0x514708
push str.233.65.31.78
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x645498], eax
mov eax, dword [0x645498]
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 [0x645494]
push ecx
call dword [sym.imp.WS2_32.dll_WSAJoinLeaf]
mov dword [0x645490], eax
cmp dword [0x645490], 0xffffffff
jne 0x5146fa
call fcn.00514cf0
call fcn.00508df0
xor al, al
jmp 0x514708
mov byte [0x6464ac], 1
call fcn.00508df0
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.0058844d
mov esp, ebp
pop ebp
ret