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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008430d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b800c]
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.100179b0
test eax, eax
jne 0x10022904
mov eax, 0x100a6e40
lea ecx, [ebp - 0x34]
sub eax, 0x4c9ed77d
push eax
call fcn.1007d490
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 0x10022840
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1007ca60
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x100bbbe0], 0x12a1187b
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], 0
jne 0x10022998
cmp dword [0x100bbbe4], 0
jne 0x10022998
cmp dword [0x100b9454], 0x10
lea ecx, [ebp - 0x28]
push dword [0x100b9450]
mov edx, dword [ebp - 0x18]
mov eax, 0x100b9440
cmovae eax, dword [0x100b9440]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.1007ec20
add esp, 0xc
cmp eax, 0xffffffff
je 0x10022998
cmp edi, 0x10
jb 0x100228f2
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x100228e8
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100229b8
push edi
push esi
call fcn.1008055f
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [0x100c0578], 0
je 0x10022a78
mov ecx, dword [0x100bffd4]
mov eax, dword [0x100bbb50]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10022a78
push 0xa0
mov dword [0x100c06ec], 0x10018020
call fcn.10018020
cwde
shr eax, 0x10
test eax, eax
je 0x10022a68
cmp byte [0x100c5a70], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1002297b
cmp dword [0x100c5a74], 0
je 0x10022a6f
call esi
mov ecx, dword [0x100c5a74]
inc ecx
cmp ecx, eax
ja 0x10022a6f
mov byte [0x100c5a70], 1
call esi
mov dword [0x100c5a74], eax
mov eax, 1
mov dword [0x100bb790], eax
jmp 0x10022a82
cmp edi, 0x10
jb 0x100229c8
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x100229be
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100229be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.1008055f
add esp, 8
cmp dword [0x100c0578], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x10022a78
mov ecx, dword [0x100bffd4]
mov eax, dword [0x100bbb50]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10022a78
push 0x56
mov dword [0x100c06ec], 0x10018020
call fcn.10018020
cwde
shr eax, 0x10
test eax, eax
je 0x10022a58
cmp byte [0x100c5820], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x10022a3e
cmp dword [0x100c5824], 0
je 0x10022a5f
call esi
mov ecx, dword [0x100c5824]
inc ecx
cmp ecx, eax
ja 0x10022a5f
mov byte [0x100c5820], 1
call esi
mov dword [0x100c5824], eax
mov eax, 1
mov dword [0x100bb790], eax
jmp 0x10022a82
mov byte [0x100c5820], 0
xor eax, eax
mov dword [0x100bb790], eax
jmp 0x10022a82
mov byte [0x100c5a70], 0
xor eax, eax
mov dword [0x100bb790], eax
jmp 0x10022a82
mov dword [0x100bb790], 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.1007fc39
mov esp, ebp
pop ebp
ret