Function at 0x448210
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x519008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ecx]
mov dword [ebp - 0x18], edi
cmp esi, 0x49
jne 0x448407
cmp word [ecx + 6], 4
jne 0x4486c4
mov ecx, dword [ecx + 8]
mov al, byte [ecx]
mov byte [ebp - 0x38], al
mov al, byte [ecx + 1]
mov byte [ebp - 0x37], al
mov al, byte [ecx + 2]
mov byte [ebp - 0x36], al
mov al, byte [ecx + 3]
mov byte [ebp - 0x35], al
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x30]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
lea ecx, [ecx]
push 0xfe
call fcn.00401860
inc al
push 0xfe
mov byte [ebp - 0x3c], al
call fcn.00401860
inc al
push 0xfe
mov byte [ebp - 0x3b], al
call fcn.00401860
inc al
push 0xfe
mov byte [ebp - 0x3a], al
call fcn.00401860
mov esi, dword [ebx + 0x68]
inc al
xor edx, edx
mov byte [ebp - 0x39], al
test esi, esi
je 0x448303
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ebp - 0x3c]
add ecx, 8
mov edi, edi
cmp dword [ecx], eax
je 0x4482fe
inc edx
add ecx, 0x20
cmp edx, esi
jb 0x4482f0
jmp 0x448303
cmp edx, 0xffffffff
jne 0x4482a0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x28]
lea ecx, [ebx + 0x58]
push dword [ebp - 0x20]
call fcn.0044bca0
mov edx, dword [ebx + 0x68]
xor esi, esi
mov ax, word [eax]
test edx, edx
je 0x44839c
mov ecx, dword [ebx + 0x5c]
cmp word [ecx], ax
je 0x448333
inc esi
add ecx, 0x20
cmp esi, edx
jb 0x448324
jmp 0x44839c
cmp esi, 0xffffffff
je 0x44839c
mov ecx, dword [ebx + 0x6c]
cmp ecx, 2
jae 0x448357
push 0x400
lea ecx, [ebx + 0x58]
mov dword [ebx + 0x6c], 0x20
call fcn.0042a060
mov ecx, dword [ebx + 0x6c]
cmp esi, ecx
jb 0x448384
jmp 0x448360
mov eax, ecx
mov edx, ecx
shr eax, 1
add eax, ecx
cmp eax, ecx
jbe 0x44837e
mov dword [ebx + 0x6c], eax
lea ecx, [ebx + 0x58]
shl eax, 5
push eax
call fcn.0042a060
mov edx, dword [ebx + 0x6c]
mov ecx, edx
cmp esi, edx
jae 0x448360
cmp esi, dword [ebx + 0x68]
jb 0x44838f
lea eax, [esi + 1]
mov dword [ebx + 0x68], eax
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ebp - 0x38]
shl esi, 5
mov dword [esi + ecx + 0xc], eax
mov esi, edi
mov ax, word [esi]
mov ecx, dword [ebx + 8]
push dword [ebp - 0x3c]
movzx eax, ax
push eax
mov edx, dword [ecx]
push str.connection__0x_08X__is_requesting_new_idCode._Sending__0x_08X__n
push ecx
call dword [edx + 0xc]
mov al, byte [ebx + 0xa5]
add esp, 0x10
mov byte [ebp - 0x10], al
mov ecx, ebx
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x3b]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0x3a]
mov byte [ebp - 0xc], al
mov al, byte [ebp - 0x39]
push 6
mov byte [ebp - 0xb], al
lea eax, [ebp - 0x10]
push eax
push 0x69
push esi
mov byte [ebp - 0xf], 1
mov word [ebp - 0xa], 0
call fcn.004489e0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 0x57
jne 0x4486c4
cmp word [ecx + 6], 8
jne 0x4486c4
mov ecx, dword [ecx + 8]
mov al, byte [ecx]
mov byte [ebp - 0x3d], al
mov al, byte [ecx + 1]
mov byte [ebp - 0x3e], al
mov al, byte [ecx + 2]
mov byte [ebp - 0x3f], al
mov al, byte [ecx + 3]
mov byte [ebp - 0x40], al
mov al, byte [ecx + 4]
mov byte [ebp - 0x38], al
mov al, byte [ecx + 5]
mov byte [ebp - 0x37], al
mov al, byte [ecx + 6]
mov byte [ebp - 0x36], al
mov al, byte [ecx + 7]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebx + 0x58]
mov byte [ebp - 0x35], al
call fcn.0044c4a0
mov edi, eax
test edi, edi
jne 0x44848c
mov esi, dword [ebp - 0x18]
movzx eax, word [esi]
mov ecx, dword [ebx + 8]
push dword [ebp - 0x38]
push eax
mov edx, dword [ecx]
push str.refusing_connection__0x_08X__because_its_idCode_is_not_valid__idCode:0x_08X__n
push ecx
call dword [edx + 0xc]
add esp, 0xc
mov eax, 0xffff
mov ecx, esp
mov word [ecx], ax
movzx eax, word [esi]
jmp 0x4486e7
mov edx, dword [ebx + 0x68]
xor eax, eax
test edx, edx
je 0x4484ad
movzx esi, word [edi]
mov ecx, dword [ebx + 0x5c]
jmp 0x4484a0
cmp word [ecx], si
je 0x4484d7
inc eax
add ecx, 0x20
cmp eax, edx
jb 0x4484a0
mov esi, dword [ebp - 0x18]
movzx eax, word [esi]
mov ecx, dword [ebx + 8]
push eax
push str.refusing_connection__0x_08X__because_its_clientVer_is_not_equal_to_previous_ver_n
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
add esp, 8
mov eax, 0xffff
mov ecx, esp
mov word [ecx], ax
movzx eax, word [esi]
jmp 0x4486e7
cmp eax, 0xffffffff
je 0x4484ad
mov ecx, dword [ebx + 0x5c]
mov dl, byte [ebp - 0x3d]
shl eax, 5
cmp byte [eax + ecx + 0xc], dl
jne 0x4484ad
mov dl, byte [ebp - 0x3e]
cmp byte [eax + ecx + 0xd], dl
jne 0x4484ad
mov dl, byte [ebp - 0x3f]
cmp byte [eax + ecx + 0xe], dl
jne 0x4484ad
mov dl, byte [ebp - 0x40]
cmp byte [eax + ecx + 0xf], dl
jne 0x4484ad
mov esi, dword [ebp - 0x18]
mov ax, word [esi]
mov ecx, dword [ebx + 8]
movzx eax, ax
push eax
push dword [ebp - 0x38]
mov edx, dword [ecx]
push str.client__0x_08X_:_reconnected_with_connection__0x_08X___n
push ecx
call dword [edx + 0xc]
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x20]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
push edx
push eax
push esi
push edi
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
call fcn.0044c1f0
test al, al
jne 0x448600
mov eax, dword [ebx + 8]
push str.warn__socket_is_already_bind_n
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
add esp, 8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x28]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
sub esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x28], edx
push edi
call fcn.0044c140
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [0x51dbec]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [0x51dbf0]
push dword [0x51dbe8]
mov eax, dword [ebp - 0x18]
sbb eax, dword [0x51dbf4]
push eax
push ecx
call fcn.004fce10
push edx
push eax
push esi
push edi
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call fcn.0044c1f0
sub esp, 8
mov ecx, ebx
call fcn.00448710
mov ecx, dword [ebx + 4]
mov edx, edi
movzx eax, ax
push eax
push 0x64
call fcn.0044f6a0
add esp, 0x10
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4486f1
mov ecx, dword [ebx + 0x88]
mov edi, dword [ebx + 0x84]
cmp ecx, 2
jae 0x448656
push 0x80
lea ecx, [ebx + 0x74]
mov dword [ebx + 0x88], 0x20
call fcn.0042a060
mov ecx, dword [ebx + 0x88]
cmp edi, ecx
jb 0x44868a
lea ebx, [ebx]
mov eax, ecx
mov edx, ecx
shr eax, 1
add eax, ecx
cmp eax, ecx
jbe 0x448684
mov dword [ebx + 0x88], eax
lea ecx, [ebx + 0x74]
shl eax, 2
push eax
call fcn.0042a060
mov edx, dword [ebx + 0x88]
mov ecx, edx
cmp edi, edx
jae 0x448660
cmp edi, dword [ebx + 0x84]
jb 0x44869b
lea eax, [edi + 1]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebp - 0x20]
push 0
push 0
mov dword [eax + edi*4], ecx
lea eax, [ebx + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc
movzx eax, word [edi]
mov ecx, dword [ebx + 8]
push esi
push eax
push str.ERR:_killing_connection__0x_08X__because_its_not_identified__rcvd_opcode_d__n
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
add esp, 0xc
mov eax, 0xffff
mov ecx, esp
mov word [ecx], ax
movzx eax, word [edi]
mov word [ecx], ax
mov ecx, dword [ebx]
call fcn.004f5830
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d8c
mov esp, ebp
pop ebp
ret 0xc