Function at 0x4a93f0
Capabilities:
Check for time delay via gettickcount
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4db593
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5181f4]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x7c]
xor esi, esi
mov ebx, ecx
push 0x30
lea ecx, [ebp + 2]
push esi
push ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x11], 0
mov word [ebp], si
call fcn.004424d0
add esp, 0xc
lea edx, [ebp - 0x12]
push edx
push 0x400
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x12], 0
call fcn.004938e0
movzx eax, word [ebx]
mov dword [ebp - 4], esi
mov ecx, 7
mov esi, ebx
lea edi, [ebp + 0x50]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp ax, 2
mov dword [ebp - 0x44], 0x1c
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
je 0x4a94b5
cmp ax, 0x17
je 0x4a94b5
push 0x273f
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x4a94ae
push eax
call fcn.00441cca
add esp, 4
xor eax, eax
jmp 0x4a97d4
push 0x11
movzx eax, ax
push 2
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x20], ebx
jne 0x4a94e1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x38]
test eax, eax
jmp 0x4a94a3
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0x89
call esi
push 0x5221cc
mov word [ebp + 0x52], ax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push eax
call esi
push 1
mov word [ebp], ax
call esi
push str.CKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
lea ecx, [ebp + 0xd]
push 0x21
push ecx
mov word [ebp + 4], ax
mov byte [ebp + 0xc], 0x20
call fcn.004468bc
add esp, 0xc
push 0x21
call esi
push 1
mov word [ebp + 0x2e], ax
call esi
push 0x1c
lea edx, [ebp + 0x50]
push edx
push 0
mov word [ebp + 0x30], ax
push 0x32
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x4a956a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x60]
call fcn.0048a7e0
push 0x50e7a0
lea ecx, [ebp - 0x60]
push ecx
call fcn.0044661f
push 4
lea edx, [ebp + 0x78]
push edx
push 0x1006
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x4a9593
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x4a959e
xor esi, esi
jmp 0x4a95a7
mov eax, dword [ebp - 0x34]
sub eax, edi
mov esi, eax
jne 0x4a95ac
call fcn.00441e1b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x50]
push ecx
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a960a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x50]
call fcn.0048a7e0
cmp dword [ebp - 0x48], 0x2738
mov byte [ebp - 4], 2
jne 0x4a9663
lea ecx, [ebp - 0x3c]
call fcn.00404613
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], vtable.CMN::ExceptionBase.0
je 0x4a960a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x50]
push eax
push ecx
call fcn.00439042
add esp, 8
test al, al
je 0x4a967d
mov edx, dword [ebp + 0x52]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0x89
jne 0x4a967d
test edi, edi
je 0x4a9644
mov eax, dword [ebp - 0x34]
sub eax, edi
jne 0x4a9649
call fcn.00441e1b
mov cx, word [edi]
cmp cx, word [ebp]
mov edx, edi
mov dword [ebp - 0x18], edx
jne 0x4a967d
test byte [edi + 2], 0x80
je 0x4a967d
mov byte [ebp - 0x11], 1
jmp 0x4a968e
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0048a800
push 0x50e7a0
lea edx, [ebp - 0x6c]
push edx
call fcn.0044661f
call esi
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0x78]
jb 0x4a9590
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x24], 0
je 0x4a9791
cmp byte [ebp - 0x11], 0
je 0x4a9791
test byte [edx + 3], 0xf
jne 0x4a9791
cmp word [edx + 6], 0
jbe 0x4a9791
xor edi, edi
lea esp, [esp]
movzx ax, byte [edx + 0x38]
cmp di, ax
jae 0x4a978e
movzx eax, di
lea ecx, [eax + eax*8]
lea ecx, [edx + ecx*2]
add edx, ebx
lea esi, [ecx + 0x4b]
cmp edx, esi
jb 0x4a978e
test byte [ecx + 0x49], 0x80
jne 0x4a9744
mov edx, dword [ebp - 0x18]
lea eax, [eax + eax*8 + 0x24]
cmp byte [edx + eax*2], 0
jne 0x4a9744
add ecx, 0x39
push 0xf
push ecx
lea ecx, [ebp + 0x34]
call fcn.00401425
push 2
push 0x4f0684
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00401425
push 0
push eax
lea ecx, [ebp + 0x34]
call fcn.004a5c80
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.004022e7
cmp esi, 0xffffffff
lea ecx, [ebp + 0x34]
jne 0x4a974f
mov byte [ebp - 4], 1
call fcn.004022e7
mov edx, dword [ebp - 0x18]
add edi, 1
jmp 0x4a96c0
push esi
call fcn.0043ea90
push 0
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00493eb0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push 0
push eax
mov byte [ebp - 4], 4
call fcn.00404c75
lea ecx, [ebp - 0x88]
call fcn.00404364
lea ecx, [ebp + 0x34]
call fcn.004022e7
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [ebp - 0x11], 0
je 0x4a97c2
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x1c]
jmp 0x4a97c5
or esi, 0xffffffff
test edi, edi
je 0x4a97d2
push edi
call fcn.00441cca
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00441cbb
add ebp, 0x70
mov esp, ebp
pop ebp
ret