Function at 0x5142a0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e6c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x65ee20]
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 [0x65e5ec]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00508d30
movzx eax, byte [0x6654e4]
test eax, eax
jne 0x5142ff
movzx eax, byte [0x66551e]
test eax, eax
jne 0x51437a
mov ecx, 0x666560
call fcn.00513b70
movzx eax, al
test eax, eax
je 0x51436e
push 1
call fcn.00513ed0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x666528]
cmp ecx, dword [eax + 0x2a8]
jne 0x51433c
mov eax, dword [ebp + 8]
mov ecx, dword [0x666524]
cmp ecx, dword [eax + 0x2a4]
je 0x51436e
mov eax, dword [ebp + 8]
mov ecx, dword [0x666528]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x666524]
mov dword [eax + 0x2a4], ecx
mov eax, dword [str.Service_Disabled_]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x284
call fcn.00512a40
call fcn.00508e40
mov al, 1
jmp 0x514788
movzx eax, byte [0x65e5c7]
test eax, eax
je 0x514428
mov ecx, 0x666560
call fcn.00513b70
movzx eax, al
test eax, eax
je 0x514428
call fcn.00513e10
sub eax, dword [0x666530]
sbb edx, dword [0x666534]
push edx
push eax
call fcn.005147b0
add esp, 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0
jl 0x514428
jg 0x5143dc
cmp dword [ebp - 0xf4], 0xb4
jbe 0x514428
mov eax, dword [0x665508]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00513af0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x5143ff
call fcn.0053c720
mov dword [ebp - 0x1c], eax
mov ecx, 0x666560
call fcn.00513b20
cmp dword [ebp - 0x1c], eax
je 0x514418
push 1
call fcn.00513ed0
add esp, 4
call fcn.00513e10
mov dword [0x666530], eax
mov dword [0x666534], edx
mov ecx, 0x666560
call fcn.00513b70
movzx eax, al
test eax, eax
jne 0x51452b
push 0x632dce
mov ecx, 0x666858
call fcn.00512a40
mov dword [0x666524], 0
mov dword [0x666528], 0
cmp dword [0x666520], 0
je 0x514473
mov eax, dword [0x666520]
mov dword [ebp - 0x14], eax
jmp 0x51447a
mov dword [ebp - 0x14], 0x1f90
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x666560
call fcn.0053edb0
mov ecx, 0x666560
call fcn.00513b70
movzx eax, al
test eax, eax
jne 0x5144a6
xor al, al
jmp 0x514788
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x666560
call fcn.00514cc0
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, 0x666858
call fcn.00514930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.0054b370
mov ecx, 0x666560
call fcn.00514c70
mov dword [0x666524], eax
mov ecx, 0x666560
call fcn.00513b20
mov dword [0x666528], eax
call fcn.00513e10
mov dword [0x666530], eax
mov dword [0x666534], edx
mov ecx, 0x6666b0
call fcn.0053cd70
mov eax, dword [0x666524]
push eax
call fcn.0042d9f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x514552
mov eax, dword [0x666524]
push eax
mov ecx, dword [0x666528]
push ecx
call fcn.0053bda0
movzx eax, byte [0x666c40]
test eax, eax
jne 0x5145a6
movzx eax, byte [0x65e5cd]
test eax, eax
je 0x5145a6
mov ecx, 0x6666b0
call fcn.00513b70
movzx eax, al
test eax, eax
jne 0x5145a6
mov ecx, 0x666560
call fcn.00513b70
movzx eax, al
test eax, eax
je 0x5145a6
push 0x665390
mov eax, dword [0x666528]
push eax
mov ecx, dword [0x666524]
push ecx
mov ecx, 0x6666b0
call fcn.0053edb0
cmp dword [ebp + 8], 0
je 0x5146ac
mov eax, dword [ebp + 8]
mov ecx, dword [0x666528]
cmp ecx, dword [eax + 0x2a8]
jne 0x5145d6
mov eax, dword [ebp + 8]
mov ecx, dword [0x666524]
cmp ecx, dword [eax + 0x2a4]
je 0x5146ac
mov eax, dword [ebp + 8]
mov ecx, dword [0x666528]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x666524]
mov dword [eax + 0x2a4], ecx
mov eax, dword [0x666524]
push eax
lea ecx, [ebp - 0xac]
call fcn.00514800
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0x638c28
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x666858
call fcn.00514b20
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.00514990
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.00514930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.0054b370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.0054b370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0054b370
movzx eax, byte [0x66652c]
test eax, eax
jne 0x514781
push 0x14
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x665514], eax
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00588e50
add esp, 0xc
mov eax, 2
mov word [ebp - 0x2c], ax
movzx eax, word [0x65e908]
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 [0x665514]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x514729
call fcn.00514d70
call fcn.00508e40
xor al, al
jmp 0x514788
push str.233.65.31.78
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x665518], eax
mov eax, dword [0x665518]
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 [0x665514]
push ecx
call dword [sym.imp.WS2_32.dll_WSAJoinLeaf]
mov dword [0x665510], eax
cmp dword [0x665510], 0xffffffff
jne 0x51477a
call fcn.00514d70
call fcn.00508e40
xor al, al
jmp 0x514788
mov byte [0x66652c], 1
call fcn.00508e40
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.0058845d
mov esp, ebp
pop ebp
ret