Function at 0x511b40
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa9ec
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x636d78]
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 [0x636524]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.005065a0
movzx eax, byte [0x63d314]
test eax, eax
jne 0x511b9f
movzx eax, byte [0x63d34e]
test eax, eax
jne 0x511c1a
mov ecx, 0x63e390
call fcn.00511410
movzx eax, al
test eax, eax
je 0x511c0e
push 1
call fcn.00511770
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e358]
cmp ecx, dword [eax + 0x2a8]
jne 0x511bdc
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e354]
cmp ecx, dword [eax + 0x2a4]
je 0x511c0e
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e358]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e354]
mov dword [eax + 0x2a4], ecx
mov eax, dword [str.Service_Disabled_]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x284
call fcn.005102e0
call fcn.005066b0
mov al, 1
jmp 0x512028
movzx eax, byte [0x6364ff]
test eax, eax
je 0x511cc8
mov ecx, 0x63e390
call fcn.00511410
movzx eax, al
test eax, eax
je 0x511cc8
call fcn.005116b0
sub eax, dword [0x63e360]
sbb edx, dword [0x63e364]
push edx
push eax
call fcn.00512050
add esp, 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0
jl 0x511cc8
jg 0x511c7c
cmp dword [ebp - 0xf4], 0xb4
jbe 0x511cc8
mov eax, dword [0x63d338]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00568bc0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x511c9f
call fcn.0053bc60
mov dword [ebp - 0x1c], eax
mov ecx, 0x63e390
call fcn.005113c0
cmp dword [ebp - 0x1c], eax
je 0x511cb8
push 1
call fcn.00511770
add esp, 4
call fcn.005116b0
mov dword [0x63e360], eax
mov dword [0x63e364], edx
mov ecx, 0x63e390
call fcn.00511410
movzx eax, al
test eax, eax
jne 0x511dcb
push 0x60ac7e
mov ecx, 0x63e688
call fcn.005102e0
mov dword [0x63e354], 0
mov dword [0x63e358], 0
cmp dword [0x63e350], 0
je 0x511d13
mov eax, dword [0x63e350]
mov dword [ebp - 0x14], eax
jmp 0x511d1a
mov dword [ebp - 0x14], 0x1f90
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x63e390
call fcn.0053e310
mov ecx, 0x63e390
call fcn.00511410
movzx eax, al
test eax, eax
jne 0x511d46
xor al, al
jmp 0x512028
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x63e390
call fcn.00512560
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, 0x63e688
call fcn.005121d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.0050e310
mov ecx, 0x63e390
call fcn.00512510
mov dword [0x63e354], eax
mov ecx, 0x63e390
call fcn.005113c0
mov dword [0x63e358], eax
call fcn.005116b0
mov dword [0x63e360], eax
mov dword [0x63e364], edx
mov ecx, 0x63e4e0
call fcn.0053c2b0
mov eax, dword [0x63e354]
push eax
call fcn.0042d9d0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x511df2
mov eax, dword [0x63e354]
push eax
mov ecx, dword [0x63e358]
push ecx
call fcn.0053b2e0
movzx eax, byte [0x63ea70]
test eax, eax
jne 0x511e46
movzx eax, byte [0x636505]
test eax, eax
je 0x511e46
mov ecx, 0x63e4e0
call fcn.00511410
movzx eax, al
test eax, eax
jne 0x511e46
mov ecx, 0x63e390
call fcn.00511410
movzx eax, al
test eax, eax
je 0x511e46
push 0x63d1c0
mov eax, dword [0x63e358]
push eax
mov ecx, dword [0x63e354]
push ecx
mov ecx, 0x63e4e0
call fcn.0053e310
cmp dword [ebp + 8], 0
je 0x511f4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e358]
cmp ecx, dword [eax + 0x2a8]
jne 0x511e76
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e354]
cmp ecx, dword [eax + 0x2a4]
je 0x511f4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e358]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x63e354]
mov dword [eax + 0x2a4], ecx
mov eax, dword [0x63e354]
push eax
lea ecx, [ebp - 0xac]
call fcn.005120a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0x610b68
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x63e688
call fcn.005123c0
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.00512230
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.005121d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.0050e310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.0050e310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0050e310
movzx eax, byte [0x63e35c]
test eax, eax
jne 0x512021
push 0x14
push 0
push 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x63d344], eax
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00582ec0
add esp, 0xc
mov eax, 2
mov word [ebp - 0x2c], ax
movzx eax, word [0x636840]
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 [0x63d344]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x511fc9
call fcn.00512610
call fcn.005066b0
xor al, al
jmp 0x512028
push str.233.65.31.78
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x63d348], eax
mov eax, dword [0x63d348]
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 [0x63d344]
push ecx
call dword [sym.imp.WS2_32.dll_WSAJoinLeaf]
mov dword [0x63d340], eax
cmp dword [0x63d340], 0xffffffff
jne 0x51201a
call fcn.00512610
call fcn.005066b0
xor al, al
jmp 0x512028
mov byte [0x63e35c], 1
call fcn.005066b0
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.005824ce
mov esp, ebp
pop ebp
ret