Function at 0x1001a280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10099c50
push 0x1004bf40
mov eax, dword fs:[0]
push eax
add esp, 0xffffff88
mov eax, dword [0x100a0f80]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x74], 0x102
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1005376e
add esp, 4
cmp dword [ebp - 0x74], 0x102
jne 0x1001a534
mov dword [ebp - 0x70], 0
push 0x1007a885
lea ecx, [ebp - 0x64]
call fcn.100041e0
push str.protection_ping
lea ecx, [ebp - 0x4c]
call fcn.100041e0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.10019fe0
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.1000ddc0
lea ecx, [ebp - 0x64]
call fcn.1000ddc0
nop
cmp dword [ebp - 0x70], 0x190
jb 0x1001a351
cmp dword [ebp - 0x70], 0x1f4
jae 0x1001a351
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a534
cmp dword [ebp - 0x70], 0x1f4
jb 0x1001a397
cmp dword [ebp - 0x68], 2
jbe 0x1001a37b
push str.ServerErrorCounter___2
call fcn.1000b8c0
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a534
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
push str.ServerErrorCounter___d
call fcn.1000aca0
add esp, 8
jmp 0x1001a3b4
mov dword [ebp - 0x68], 0
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.10004160
call fcn.10004e00
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x78], eax
push 0x14
push 7
call fcn.10019fc0
add esp, 8
imul ecx, eax, 0x3e8
shl ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
add edx, 0x7530
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
push str.wait_for___d_ms_time___d_ms
call fcn.1000bb70
add esp, 0xc
cmp dword [ebp - 0x6c], 0
jle 0x1001a4dc
mov edx, dword [ebp + 8]
push edx
call fcn.10019c60
add esp, 4
mov dword [ebp - 4], 0
call dword [ebp - 0x80]
nop
mov dword [ebp - 4], 0xfffffffe
jmp 0x1001a44a
push 0x100a2d50
call fcn.1001bcc0
add esp, 4
test eax, eax
je 0x1001a469
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a534
mov edx, dword [ebp + 8]
push edx
call fcn.10019dd0
add esp, 4
test eax, eax
je 0x1001a487
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a534
call fcn.1000f360
nop
call fcn.1001d060
test eax, eax
je 0x1001a4a4
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a534
mov dword [ebp - 0x88], 0x3e8
push 0x3e8
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x102
je 0x1001a4cb
jmp 0x1001a4dc
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x3e8
mov dword [ebp - 0x6c], ecx
jmp 0x1001a3f5
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x78]
push eax
push str.time_elapsed___d_ms_limit___d
call fcn.1000bb70
add esp, 0xc
call fcn.1001b630
cmp eax, 1
jbe 0x1001a50c
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a534
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jbe 0x1001a526
push 0
push 8
call fcn.1001d520
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.1000ddc0
nop
jmp 0x1001a2da
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret