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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov byte [ebp - 1], 0
mov dword [ebp - 0x20], 0
push 4
push 0x2dfae6c
call fcn.10003990
test eax, eax
jne 0x10022cc9
mov eax, dword [0x2dfae6c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jbe 0x1002315c
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 0x49
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10003990
test eax, eax
jne 0x10022d09
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
je 0x10022f28
movzx ecx, byte [0x1006be26]
test ecx, ecx
jne 0x10022f23
push 4
push 0x2dc2001
call fcn.10003a80
test eax, eax
jne 0x10022d62
mov dword [ebp - 0x2c], 0
push 4
push 0x2dc2001
call fcn.10003990
test eax, eax
jne 0x10022d52
mov edx, dword [0x2dc2001]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x10022d62
mov dword [0x2dc2001], 0
mov dword [ebp - 0x30], 0
push 4
push 0x2dc2000
call fcn.10003990
test eax, eax
jne 0x10022d81
mov eax, dword [0x2dc2000]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x400
jne 0x10022dd0
push 4
push 0x2dc2000
call fcn.10003a80
test eax, eax
jne 0x10022dd0
mov dword [ebp - 0x34], 0
push 4
push 0x2dc2000
call fcn.10003990
test eax, eax
jne 0x10022dc0
mov edx, dword [0x2dc2000]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x10022dd0
mov dword [0x2dc2000], 0
push 1
push 0x2dc1ffa
call fcn.10003a80
test eax, eax
jne 0x10022ebe
mov dword [ebp - 0x38], 0
push 1
push 0x2dc1ffa
call fcn.10003990
test eax, eax
jne 0x10022e2c
lea eax, [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0xc], 0
jmp 0x10022e13
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 1
jge 0x10022e2c
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x2dc1ffa]
mov byte [edx], cl
jmp 0x10022e0a
cmp dword [ebp - 0x38], 0
je 0x10022ebe
mov dword [ebp - 8], 0
xor edx, edx
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x1c], dl
xor edx, edx
shr edx, 8
and edx, 0xff
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x1c], dl
xor ecx, ecx
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], cl
xor eax, eax
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x1c], al
mov dword [ebp - 8], 0
jmp 0x10022ea6
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x10022ebe
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x1c]
mov byte [ecx + 0x2dc1ffa], al
jmp 0x10022e9d
push 0x32
push 0x2dc
push 0x1df
call fcn.10005720
add esp, 0xc
call fcn.10022c80
cmp dword [ebp - 0x3c], 0x400
jne 0x10022f23
push 4
push 0x2dc2000
call fcn.10003a80
test eax, eax
jne 0x10022f23
mov dword [ebp - 0x40], 0
push 4
push 0x2dc2000
call fcn.10003990
test eax, eax
jne 0x10022f10
mov ecx, dword [0x2dc2000]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0x400
je 0x10022f23
mov dword [0x2dc2000], 0x400
jmp 0x1002315c
movzx edx, byte [0x1006be26]
test edx, edx
jne 0x10022f3a
mov byte [0x1006be26], 1
mov dword [ebp - 0x44], 0
push 1
push 0x2dc1ffa
call fcn.10003990
test eax, eax
jne 0x10022f82
lea eax, [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x10], 0
jmp 0x10022f69
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 1
jge 0x10022f82
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax + 0x2dc1ffa]
mov byte [edx], cl
jmp 0x10022f60
cmp dword [ebp - 0x44], 5
je 0x10023158
push 4
push 0x2dc2001
call fcn.10003a80
test eax, eax
jne 0x10022fcc
mov dword [ebp - 0x48], 0
push 4
push 0x2dc2001
call fcn.10003990
test eax, eax
jne 0x10022fbc
mov edx, dword [0x2dc2001]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
je 0x10022fcc
mov dword [0x2dc2001], 0
mov dword [ebp - 0x4c], 0
push 4
push 0x2dc2000
call fcn.10003990
test eax, eax
jne 0x10022feb
mov eax, dword [0x2dc2000]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0x400
jne 0x1002303a
push 4
push 0x2dc2000
call fcn.10003a80
test eax, eax
jne 0x1002303a
mov dword [ebp - 0x50], 0
push 4
push 0x2dc2000
call fcn.10003990
test eax, eax
jne 0x1002302a
mov edx, dword [0x2dc2000]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
je 0x1002303a
mov dword [0x2dc2000], 0
call fcn.10022480
push 0x14
push 0x1b4
push 0x122
call fcn.10005980
add esp, 0xc
push 0x15e
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x54], 0x400
jne 0x100230a9
push 4
push 0x2dc2000
call fcn.10003a80
test eax, eax
jne 0x100230a9
mov dword [ebp - 0x58], 0
push 4
push 0x2dc2000
call fcn.10003990
test eax, eax
jne 0x10023096
mov eax, dword [0x2dc2000]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x400
je 0x100230a9
mov dword [0x2dc2000], 0x400
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x68], eax
mov ecx, 1
test ecx, ecx
je 0x10023156
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x68]
cmp eax, 0x12c
jbe 0x100230d4
jmp 0x10023156
call fcn.10006880
cmp eax, 0x190
jne 0x100230e5
mov al, byte [ebp - 1]
jmp 0x1002315f
push 0
push 0x1b4
push 0x122
call fcn.10005850
add esp, 0xc
mov dword [ebp - 0x5c], 0
push 1
push 0x2dc1ffa
call fcn.10003990
test eax, eax
jne 0x10023141
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x14], 0
jmp 0x10023128
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10023141
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 0x2dc1ffa]
mov byte [ecx], al
jmp 0x1002311f
cmp dword [ebp - 0x5c], 5
jne 0x10023149
jmp 0x10023156
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100230b2
jmp 0x1002315c
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret