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

Disassembly:
push esi
mov esi, eax
movzx ecx, word [esi + 0xb1a]
xor al, al
cmp ecx, 4
ja case.default.0x4d6ef1
jmp dword [ecx*4 + 0x4d6f20]
mov eax, esi
pop esi
jmp 0x4d8cd0
mov eax, esi
pop esi
jmp 0x4d8e20
call fcn.004d9190
pop esi
ret
mov eax, esi
pop esi
jmp 0x4d9220
mov eax, esi
pop esi
jmp 0x4d9390
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov esi, eax
lea eax, [esp + 0x10]
push eax
call edi
mov ebp, dword [esi + 0x77c]
lea ecx, [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 0x3e8
push edx
push eax
call fcn.006292c0
mov ecx, dword [0x6a60a4]
push ecx
mov ecx, dword [0x6a60a0]
push ecx
push edx
push eax
call fcn.00634420
mov edx, dword [0x70e01c]
test edx, edx
mov dword [ebp + 4], eax
mov ebx, 1
je 0x4d8de5
cmp word [edx + 4], bx
jne 0x4d8e12
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
add edx, 0x998
push 8
push edx
mov dword [esp + 0x6c], eax
mov ecx, 0x30
lea edi, [esp + 0x70]
mov dword [esp + 0x60], 0
rep stosd dword es:[edi], eax
mov cx, word [0x691fc0]
lea edx, [esp + 0x3e]
push edx
mov dword [esp + 0x28], 0x7f000001
mov word [esp + 0x3a], cx
mov word [esp + 0x38], 4
mov word [esp + 0x12e], bx
call fcn.00622e84
add esp, 0xc
lea eax, [esp + 0x48]
mov word [esp + 0x46], 0
call fcn.004de6d0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
push esi
call fcn.004d7020
add esp, 0x10
test al, al
jne 0x4d8e12
cmp word [0x70ae44], 0xffff
jne 0x4d8e14
mov word [0x70ae44], 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
mov edi, dword [esi + 0x77c]
push 0
mov eax, 0x1388
call fcn.004db1b0
add esp, 4
test al, al
je 0x4d8dc7
push esi
call fcn.004d9410
mov bl, al
add esp, 4
test bl, bl
je 0x4d8e12
call fcn.004d7740
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
push esi
mov esi, eax
push edi
lea eax, [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push 0x3e8
push ecx
push edx
call fcn.006292c0
mov ecx, dword [0x6a60a4]
push ecx
mov ecx, dword [0x6a60a0]
push ecx
push edx
push eax
call fcn.00634420
mov ebx, dword [esi + 0x77c]
lea edx, [esp + 0x10]
push edx
mov edi, eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor ebp, ebp
push ebp
push 0x3e8
push eax
push ecx
call fcn.006292c0
mov ecx, dword [0x6a60a4]
push ecx
mov ecx, dword [0x6a60a0]
push ecx
push edx
push eax
call fcn.00634420
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x77c]
mov ecx, dword [eax + 0xa8c]
test cl, 6
mov ebx, 1
je 0x4d8f6c
mov ecx, dword [eax]
cmp ecx, ebp
je 0x4d8f6c
test byte [ecx + 0xc], bl
je 0x4d8f6c
mov al, byte [esi + 0x78c]
test al, al
mov dword [esi + 0x780], ebp
jne 0x4d901d
mov eax, dword [0x680ae8]
push str.Loading
mov dword [esi + 0x788], ebp
call fcn.00495060
mov eax, dword [0x70ae2c]
add esp, 4
cmp word [0x70b460], 2
mov dword [0x70ae30], ebp
jne 0x4d8f37
dec eax
je 0x4d8f61
dec eax
je 0x4d8f22
sub eax, 2
jne 0x4d8f22
mov dword [0x688558], 0xffffffff
mov dword [0x70ae2c], 8
mov byte [esi + 0x78c], bl
jmp 0x4d901d
dec eax
je 0x4d8f61
dec eax
je 0x4d8f61
sub eax, 2
jne 0x4d8f57
mov dword [0x688558], 0xffffffff
mov byte [esi + 0x78c], bl
jmp 0x4d901d
mov dword [0x70ae2c], 7
mov byte [esi + 0x78c], bl
jmp 0x4d901d
mov ecx, dword [eax]
mov edx, 0xffffffe8
cmp word [ecx + 0xe], dx
jne 0x4d8f9b
cmp word [0x70ae44], 0xffff
mov eax, dword [ecx + 0x18]
jne 0x4d8fee
call fcn.00440630
mov word [0x70ae44], ax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor edx, edx
mov dl, byte [ecx + 0xc]
shr edx, 7
test bl, dl
jne 0x4d8fdb
cmp dword [esi + 0x780], ebp
je 0x4d8fcb
mov edx, dword [esi + 0x784]
mov ecx, dword [0x6833d4]
sub edi, edx
cmp edi, ecx
jbe 0x4d901d
mov dword [esi + 0x780], ebp
mov esi, dword [eax]
jmp 0x4d8fd6
test byte [esi + 0xb1e], 4
je 0x4d8ff8
mov esi, ecx
call fcn.00442050
cmp word [0x70ae44], 0xffff
jne 0x4d8fee
mov word [0x70ae44], 3
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x788]
mov ecx, dword [esi + 0x784]
imul eax, eax, 0xbb8
sub edi, eax
sub edi, ecx
cmp edi, 0xbb8
jbe 0x4d901d
mov eax, ebx
call fcn.004d96f0
mov edi, dword [esi + 0x77c]
push ebp
mov eax, 0x1388
call fcn.004db1b0
add esp, 4
test al, al
je 0x4d903e
push esi
call fcn.004d9410
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x77c]
mov ebx, dword [eax + 0xa8c]
mov ecx, ebx
shr ecx, 4
not cl
test cl, 1
push edi
je 0x4d92f1
mov ecx, ebx
test cl, 6
je 0x4d92f1
mov eax, dword [eax]
test eax, eax
je 0x4d92f1
test byte [eax + 0xc], 1
je 0x4d92f1
mov eax, dword [0x70e01c]
test eax, eax
je 0x4d9272
mov al, byte [0x70e024]
test al, al
je 0x4d9285
shr ebx, 5
and bl, 1
je 0x4d927f
call fcn.0049adc0
mov byte [esi + 0xb21], bl
mov edi, dword [esi + 0x77c]
push 0
mov eax, 0x3a98
call fcn.004db1b0
add esp, 4
cmp word [0x70b460], 2
mov bl, al
jne 0x4d92b5
mov edx, dword [esi + 0x77c]
push edx
call fcn.004db800
add esp, 4
test bl, bl
je 0x4d92c6
push esi
call fcn.004d9410
add esp, 4
mov bl, al
jmp 0x4d9306
mov eax, dword [esi + 0x77c]
mov ecx, dword [eax + 0xa8c]
shr ecx, 4
not cl
test cl, 1
je 0x4d92f1
test byte [eax + 0xa8c], 6
je 0x4d92f1
mov eax, dword [eax]
test eax, eax
je 0x4d92f1
test byte [eax + 0xc], 1
jne 0x4d9306
cmp word [0x70ae44], 0xffff
jne 0x4d9304
mov word [0x70ae44], 4
xor bl, bl
call fcn.004d7740
cmp byte [0x7021a6], 1
jne 0x4d937c
movzx ecx, word [esi + 0x770]
cmp ecx, dword [0x70e00c]
je 0x4d937c
mov eax, ecx
cdq
mov edi, 0xa
idiv edi
test edx, edx
jne 0x4d937c
movzx edx, word [esi + 0x772]
movzx eax, word [esi + 0x774]
push ecx
push edx
push eax
push str.current_ping_time__d___samples_received__d___samples_sent__d__n
xor al, al
mov dword [0x70e00c], ecx
call fcn.004c4c40
mov ecx, dword [esi + 0x778]
mov esi, dword [ecx]
call fcn.004e8f10
mov edi, eax
call fcn.00449300
add eax, esi
push eax
push edi
push esi
push str.current_time_delta__d___latency__d___server_time__d__n
xor al, al
call fcn.004c4c40
add esp, 0x20
pop edi
pop esi
mov al, bl
pop ebx
ret
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [esi + 0x77c]
push 0
mov eax, 0x3a98
call fcn.004db1b0
mov bl, al
add esp, 4
test bl, bl
je 0x4d93d7
push esi
call fcn.004d9410
mov bl, al
add esp, 4
test bl, bl
je 0x4d93d7
mov eax, esi
call fcn.004d95a0
mov bl, al
test bl, bl
je 0x4d93d7
call fcn.004d7740
mov al, bl
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x77c]
mov ecx, dword [eax + 0xa8c]
shr ecx, 4
not cl
test cl, 1
jne 0x4d93d1
cmp word [0x70ae44], 0xffff
jne 0x4d9400
mov word [0x70ae44], 4
pop edi
pop esi
xor al, al
pop ebx
ret