Function at 0x4028b0
Capabilities:
Create udp socket
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4b8
mov eax, dword [0x4280f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x4a0]
push 0
push eax
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b8], 0
call fcn.0040b2e0
mov esi, dword [sym.imp.WS2_32.dll_htons]
add esp, 0xc
xorps xmm0, xmm0
push 0xc16f
movdqa xmmword [ebp - 0x4b0], xmm0
call esi
mov word [ebp - 0x4ae], ax
mov eax, 2
push 0
mov word [ebp - 0x4b0], ax
call esi
movzx eax, ax
mov dword [ebp - 0x4ac], eax
lea ebx, [ebx]
push 0x42e254
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00404100
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
push 0x10
lea eax, [ebp - 0x4b0]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
js 0x402982
mov esi, 0xc16f
mov dword [ebp - 0x4b4], esi
jmp 0x402a2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xc16f
lea eax, [ebp - 0x4a0]
push 0x422628
push eax
call fcn.0040b03e
lea eax, [ebp - 0x4a0]
push eax
call fcn.0040a680
add esp, 0x14
mov esi, 0xc000
cmp esi, 0xc16f
je 0x402a17
push esi
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 2
push 2
mov word [ebp - 0x4ae], ax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
push 0x10
lea eax, [ebp - 0x4b0]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x402a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x4a0]
push 0x42266c
push eax
call fcn.0040b03e
lea eax, [ebp - 0x4a0]
push eax
call fcn.0040a680
add esp, 0x14
inc esi
cmp esi, 0x10000
jl 0x4029b3
mov esi, dword [ebp - 0x4b4]
test esi, esi
jle 0x402bca
push esi
call fcn.0040a000
add esp, 4
test eax, eax
jns 0x402a91
push 0x4226ac
call fcn.0040a680
add esp, 4
xor esi, esi
lea ebx, [ebx]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x4b4]
call fcn.0040a000
add esp, 4
test eax, eax
js 0x402a91
inc esi
cmp esi, 3
jl 0x402a50
push 0x4226e8
call fcn.0040a680
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x402c3e
mov dword [ebp - 0x4b4], esi
jmp 0x402a26
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x42e254
call esi
push 0x81
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0040b2e0
push 0x422778
call fcn.0040a680
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0
push 0x81
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4a0]
push 0x422798
push eax
call fcn.0040b03e
lea eax, [ebp - 0x4a0]
push eax
call fcn.0040a680
add esp, 0x10
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x42e254
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00404100
lea ecx, [ebp - 0xa0]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402b30
sub ecx, edx
cmp ecx, 0xc
jb 0x402b53
push 0xc
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040c030
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push 0x4227b8
push eax
call fcn.0040b03e
lea eax, [ebp - 0x4a0]
push eax
call fcn.0040a680
add esp, 0x10
mov ecx, str.DMM_FINISHED
lea eax, [ebp - 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402ba0
test dl, dl
je 0x402b9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402ba0
add eax, 2
add ecx, 2
test dl, dl
jne 0x402b80
xor eax, eax
jmp 0x402ba5
sbb eax, eax
or eax, 1
test eax, eax
je 0x402c01
push str.checkLogoffSignal
call fcn.0040a680
add esp, 4
push 0x42e254
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402940
push 0x422724
call fcn.0040a680
mov eax, dword [ebp - 0x4b8]
inc eax
add esp, 4
mov dword [ebp - 0x4b8], eax
cmp eax, 3
jge 0x402c31
push 0x42e254
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402940
push 0x42e254
mov byte [0x42c3e2], 1
call esi
push 0x4227f0
call fcn.0040a680
add esp, 4
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x422748
call fcn.0040a680
add esp, 4
push 0x42e254
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0040b2c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret