Function at 0x403d20
Capabilities:
Check for time delay via gettickcount
Create thread
Create udp socket
Get graphical window text
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xab8
mov eax, dword [0x43704c]
xor eax, esp
mov dword [esp + 0xab4], eax
push esi
push edi
xor edi, edi
mov ecx, 0x4390f2
mov dword [esp + 0xc], edi
call fcn.00427378
lea eax, [esp + 0xa8]
mov dword [esp + 0xa8], 8
push eax
mov dword [esp + 0xb0], 0x6ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
push edi
push edi
push 0x403b20
mov dword [0x438c84], eax
call fcn.0040dab5
add esp, 0xc
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xd8]
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb0], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], 0xf
nop dword [eax + eax]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x278]
mov dword [esp + 0x18], 0x1e61
push eax
push 0x40
push 0xd
push dword [0x438c94]
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [esp + 0x278]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x403e05
mov edx, dword [esp + 0xc0]
sub esi, ecx
cmp dword [esp + 0xc4], 0x10
lea ecx, [esp + 0xb0]
mov eax, edx
mov dword [esp + 0x14], edx
cmovae ecx, dword [esp + 0xb0]
cmp esi, edx
lea edx, [esp + 0x278]
cmovb eax, esi
push eax
call fcn.004070b0
add esp, 4
test eax, eax
jne 0x403e53
cmp dword [esp + 0x14], esi
jb 0x403e53
jbe 0x403e64
push str.Loading...
push dword [0x438c90]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x278]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403e70
sub ecx, edx
lea eax, [esp + 0x278]
push ecx
push eax
lea ecx, [esp + 0xb8]
call fcn.00406360
mov cl, byte [esp + 0x278]
lea eax, [esp + 0x278]
test cl, cl
je 0x403ec3
lea esi, [eax + 1]
cmp cl, 0x3a
jne 0x403ebb
push esi
mov byte [eax], 0
call fcn.004109c1
movzx eax, ax
add esp, 4
mov dword [esp + 0x18], eax
mov eax, esi
mov cl, byte [eax]
test cl, cl
jne 0x403ea0
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4044b8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x4044b8
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
mov dword [esp + 0xa4], 1
lea eax, [esp + 0xa4]
push eax
push 0x8004667e
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ax, word [str._nPassword_required]
movq xmm0, qword [str.SAMP]
mov ecx, dword [0x4339b0]
mov word [esp + 0x274], ax
mov al, byte [0x4339b6]
mov byte [esp + 0x276], al
mov eax, 2
push esi
movq qword [esp + 0x26c], xmm0
mov dword [esp + 0x274], ecx
mov word [esp + 0xcc], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, dword [esp + 0x18]
push esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0x270], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [esp + 0xce], ax
lea eax, [esp + 0xcc]
push eax
push 0
push 0xb
lea eax, [esp + 0x278]
mov word [esp + 0x280], si
push eax
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_sendto]
push 0x400
lea eax, [esp + 0x2bc]
push 0
push eax
call fcn.0040a650
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1f4
jae 0x403dd0
nop dword [eax]
push 0
push 0
push 0
push 0x400
lea eax, [esp + 0x2c8]
push eax
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xb
jg 0x40401e
push 0x63
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1f4
jb 0x403fe0
jmp 0x403dd0
mov al, byte [esp + 0x2c3]
xor ecx, ecx
mov esi, dword [esp + 0x2c8]
mov byte [0x438c7c], al
movzx eax, word [esp + 0x2c4]
mov dword [esp + 0x6c], eax
movzx eax, word [esp + 0x2c6]
mov dword [esp + 0x68], eax
mov eax, esi
add eax, 1
mov dword [esp + 0x10], esi
push 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d4d6
push esi
lea ecx, [esp + 0x2d8]
mov dword [esp + 0x7c], eax
push ecx
push eax
call fcn.0040dca0
mov eax, esi
xor ecx, ecx
add al, 0x14
add esp, 0x14
mov dword [esp + 0x10], eax
movzx eax, al
push 1
mov eax, dword [esp + eax + 0x2bc]
mov dword [esp + 0x18], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d4d6
push dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x1c]
add al, 4
mov dword [esp + 0x24], edx
movzx ecx, al
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c4]
add ecx, eax
push ecx
push edx
call fcn.0040dca0
mov eax, dword [esp + 0x24]
xor ecx, ecx
add al, byte [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x10], eax
movzx eax, al
push 1
mov esi, dword [esp + eax + 0x2bc]
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d4d6
mov edx, eax
mov eax, dword [esp + 0x18]
add al, 4
mov dword [esp + 0x1c], edx
movzx ecx, al
lea eax, [esp + 0x2c0]
push esi
add ecx, eax
push ecx
push edx
call fcn.0040dca0
mov esi, dword [esp + 0x28]
add esp, 0x14
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404125
sub ecx, edx
je 0x4041c8
push 6
or edi, 3
mov dword [esp + 0x90], 0
push str._nMap:
lea ecx, [esp + 0x94]
mov dword [esp + 0x14], edi
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0xf
call fcn.00406360
push esi
lea ecx, [esp + 0x90]
call fcn.00405930
mov dword [esp + 0x40], 0
lea esi, [esp + 0x40]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0x54], 0x10
cmovae esi, dword [esp + 0x40]
jmp 0x4041cd
mov esi, 0x43370f
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4041d4
sub ecx, edx
je 0x404272
push 7
or edi, 0xc
mov dword [esp + 0x78], 0
push str._nMode:
lea ecx, [esp + 0x7c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xf
call fcn.00406360
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x74]
push edi
call fcn.00405930
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0x34], 0x10
cmovae ecx, dword [esp + 0x20]
jmp 0x40427b
mov edi, dword [esp + 0x18]
mov ecx, 0x43370f
cmp byte [0x438c7c], 1
mov edx, 0x43370f
mov eax, str._nPassword_required
cmovne eax, edx
push eax
mov eax, dword [esp + 0x6c]
movzx eax, ax
push eax
mov eax, dword [esp + 0x74]
movzx eax, ax
push eax
push esi
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x6c8]
push ecx
push esi
push str._s_s_s_nPlayers:__d__d_s
push 0x400
push eax
call fcn.004011f0
mov eax, dword [esp + 0x30]
add esp, 0x24
test al, 8
je 0x404322
mov ecx, dword [esp + 0x34]
and eax, 0xfffffff7
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x40430d
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4042ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044ce
push ecx
push edx
call fcn.00408c8c
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
test al, 4
je 0x404385
mov ecx, dword [esp + 0x88]
and eax, 0xfffffffb
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x40436a
mov edx, dword [esp + 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40435c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044ce
push ecx
push edx
call fcn.00408c8c
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
test al, 2
je 0x4043df
mov ecx, dword [esp + 0x54]
and eax, 0xfffffffd
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x4043ca
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4043bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044ce
push ecx
push edx
call fcn.00408c8c
mov eax, dword [esp + 0x14]
add esp, 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
test al, 1
je 0x404444
mov ecx, dword [esp + 0xa0]
and eax, 0xfffffffe
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x404426
mov edx, dword [esp + 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40441c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044ce
push ecx
push edx
call fcn.00408c8c
add esp, 8
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0xf
mov byte [esp + 0x8c], 0
xor eax, eax
cmp byte [0x438c7c], al
push 0
sete al
push eax
push 0xcf
push dword [0x438c80]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [0x438c7c], 0
jne 0x40447d
push 0x43370f
push dword [0x438c80]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x6b8]
push eax
push dword [0x438c90]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call fcn.0041007c
add esp, 4
push edi
call fcn.0041007c
add esp, 4
push dword [esp + 0x14]
call fcn.0041007c
mov edi, dword [esp + 0x10]
add esp, 4
jmp 0x403dd0
push str.Wrong_IP
push dword [0x438c90]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x403dd0
call fcn.0041135b
int3