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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008264d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100179c0
test eax, eax
jne 0x10022454
mov eax, 0x100a4e20
lea ecx, [ebp - 0x34]
sub eax, 0x4c9ed77d
push eax
call fcn.1007b960
mov edx, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022390
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1007af30
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x100b9bb8], 0x12a1187b
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], 0
jne 0x100224e8
cmp dword [0x100b9bbc], 0
jne 0x100224e8
cmp dword [0x100b7454], 0x10
lea ecx, [ebp - 0x28]
push dword [0x100b7450]
mov edx, dword [ebp - 0x18]
mov eax, 0x100b7440
cmovae eax, dword [0x100b7440]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.1007cf70
add esp, 0xc
cmp eax, 0xffffffff
je 0x100224e8
cmp edi, 0x10
jb 0x10022442
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x10022438
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022508
push edi
push esi
call fcn.1007e8b0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [0x100be544], 0
je 0x100225c8
mov ecx, dword [0x100bdfa8]
mov eax, dword [0x100b9b2c]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x100225c8
push 0xa0
mov dword [0x100be6b0], 0x10018030
call fcn.10018030
cwde
shr eax, 0x10
test eax, eax
je 0x100225b8
cmp byte [0x100c3a50], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x100224cb
cmp dword [0x100c3a54], 0
je 0x100225bf
call esi
mov ecx, dword [0x100c3a54]
inc ecx
cmp ecx, eax
ja 0x100225bf
mov byte [0x100c3a50], 1
call esi
mov dword [0x100c3a54], eax
mov eax, 1
mov dword [0x100b976c], eax
jmp 0x100225d2
cmp edi, 0x10
jb 0x10022518
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1002250e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002250e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.1007e8b0
add esp, 8
cmp dword [0x100be544], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x100225c8
mov ecx, dword [0x100bdfa8]
mov eax, dword [0x100b9b2c]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x100225c8
push 0x56
mov dword [0x100be6b0], 0x10018030
call fcn.10018030
cwde
shr eax, 0x10
test eax, eax
je 0x100225a8
cmp byte [0x100c3800], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1002258e
cmp dword [0x100c3804], 0
je 0x100225af
call esi
mov ecx, dword [0x100c3804]
inc ecx
cmp ecx, eax
ja 0x100225af
mov byte [0x100c3800], 1
call esi
mov dword [0x100c3804], eax
mov eax, 1
mov dword [0x100b976c], eax
jmp 0x100225d2
mov byte [0x100c3800], 0
xor eax, eax
mov dword [0x100b976c], eax
jmp 0x100225d2
mov byte [0x100c3a50], 0
xor eax, eax
mov dword [0x100b976c], eax
jmp 0x100225d2
mov dword [0x100b976c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007df89
mov esp, ebp
pop ebp
ret