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

Disassembly:
push 0xffffffffffffffff
push 0x10161822
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov esi, dword [esp + 0x254]
xor ebp, ebp
cmp dword [esi + 0x3274], ebp
mov dword [esp + 0x40], esi
jne 0x10020dbc
mov eax, dword [esi + 0x3278]
cmp eax, ebp
je 0x10020a8d
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x3278], ebp
cmp dword [esp + 0x26c], ebp
jle 0x10020f4e
mov ebx, dword [esp + 0x270]
cmp ebx, ebp
jle 0x10020f4e
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
call esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24c], ebp
sub eax, edi
cmp eax, ebx
jae 0x10020b82
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10020ae0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x270]
push edx
mov edx, dword [esp + 0x270]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
mov dword [esp + 0x3c], 0
call fcn.10044770
add esp, 0x28
test eax, eax
je 0x10020b80
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.1004d230
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
call fcn.100ff229
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.1006fbc0
mov ecx, dword [esp + 0x26c]
push ecx
call ebp
call esi
sub eax, edi
cmp eax, ebx
jb 0x10020ae0
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x24c], 1
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 0x3c
xor esi, esi
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10020cd6
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10020cd6
push ebp
lea ecx, [esp + 0x80]
call fcn.1011d870
mov byte [esp + 0x24c], 2
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10020bea
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10020bf3
call fcn.10101425
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + esi*4]
push ebp
push edx
lea ecx, [esp + 0x84]
call fcn.1011fbd0
test al, al
jne 0x10020c2e
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10020c1d
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10020c26
call fcn.10101425
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*4]
push eax
call ebx
jmp 0x10020cac
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10020c43
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x10020c4c
call fcn.10101425
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
mov edx, dword [esp + 0x268]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call fcn.1011f820
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.1011f100
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.10020990
mov edx, dword [esp + 0x14]
lea edi, [edi + edx + 4]
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016a70c
call fcn.1011d940
lea ecx, [esp + 0x7c]
call fcn.1011d890
add esi, 1
jmp 0x10020ba3
push edi
call fcn.100ff166
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x10020dc3
xor esi, esi
jmp 0x10020cf0
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10020d6f
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x10020d6f
push ebp
lea ecx, [esp + 0x80]
call fcn.1011d870
mov byte [esp + 0x24c], 3
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10020d2f
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x10020d38
call fcn.10101425
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*8]
push eax
lea ecx, [esp + 0x80]
call fcn.1011dec0
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016a70c
call fcn.1011d940
lea ecx, [esp + 0x7c]
call fcn.1011d890
add esi, 1
jmp 0x10020cf0
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10020d88
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10020db0
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
xor eax, eax
jmp 0x1002110f
push edi
push ebp
push esi
call fcn.10100160
add edi, 0xffffffd0
add esp, 0xc
mov dword [esi + 0x28], edi
xor edi, edi
jmp 0x10020de0
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10020efc
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x10020efc
push ebp
lea ecx, [esp + 0x80]
call fcn.1011d870
mov byte [esp + 0x24c], 4
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10020e29
mov edx, dword [esp + 0x28]
mov ecx, edx
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10020e36
call fcn.10101425
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ebp
lea ebx, [eax + edi*8]
je 0x10020e46
sub edx, eax
sar edx, 3
cmp edi, edx
jb 0x10020e4f
call fcn.10101425
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 4]
mov ebx, dword [eax + edi*8]
mov byte [esi + 0x30], 0x44
mov byte [esi + 0x31], 0x4d
mov byte [esi + 0x32], 0x46
mov byte [esi + 0x33], 0x51
mov ecx, dword [esi + 0x34]
cmp ecx, ebp
lea eax, [esi + 0x3c]
jle 0x10020e84
mov ebp, ecx
mov dword [esp + 0x18], ebp
sub dword [esp + 0x18], 1
mov ebp, dword [eax]
lea eax, [eax + ebp + 4]
jne 0x10020e75
xor ebp, ebp
add ecx, 1
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x26c]
push edx
mov dword [esi + 0x38], ecx
mov dword [eax], edx
add eax, 4
push ebx
push eax
call fcn.10101480
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebp
je 0x10020eb9
mov ecx, dword [esp + 0x28]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10020ec2
call fcn.10101425
mov eax, dword [esp + 0x24]
mov edx, dword [eax + edi*8]
push edx
lea ecx, [esp + 0x80]
call fcn.1011dec0
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016a70c
call fcn.1011d940
lea ecx, [esp + 0x7c]
call fcn.1011d890
add edi, 1
jmp 0x10020de0
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10020f15
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10020f3d
push eax
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
jmp 0x10021103
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x270]
push edx
mov edx, dword [esp + 0x270]
push eax
push ecx
push edx
push esi
mov dword [esp + 0x40], ebp
call fcn.10044770
add esp, 0x28
test eax, eax
je 0x10020dbc
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push esi
call fcn.1004d230
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call fcn.100ff229
add esp, 0x14
push ebp
lea ecx, [esp + 0x80]
call fcn.1011d870
mov dword [esp + 0x24c], 5
push ebp
push esi
lea ecx, [esp + 0x84]
call fcn.1011fbd0
test al, al
push esi
jne 0x1002101d
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016a70c
call fcn.1011d940
lea ecx, [esp + 0x7c]
call fcn.1011d890
xor eax, eax
jmp 0x1002110f
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x268]
cmp ebx, 0xfa
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
jne 0x10021048
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
jmp 0x10021061
push ebx
lea ecx, [esp + 0x80]
call fcn.1011f820
push 3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x88]
call fcn.1011f100
mov edi, dword [esp + 0x1c]
add edi, 0x40
push edi
call fcn.100ff166
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x10021099
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x80]
call fcn.1011dec0
jmp 0x10020ff1
push edi
push ebp
push esi
call fcn.10100160
mov eax, dword [esp + 0x28]
add eax, 0x10
xor ecx, ecx
cmp ebx, 0xfa
sete cl
mov dword [esi + 0x28], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push ecx
push ebp
push edx
push eax
lea eax, [esi + 0x30]
call fcn.1001ee60
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push ecx
lea ecx, [esp + 0x80]
call fcn.1011dec0
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016a70c
call fcn.1011d940
lea ecx, [esp + 0x7c]
call fcn.1011d890
mov edx, dword [esp + 0x40]
mov dword [edx + 0x3278], esi
mov eax, esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.100ff704
add esp, 0x23c
ret