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

Disassembly:
push 0xffffffffffffffff
push 0x10161c72
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
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 0x10020c7c
mov eax, dword [esi + 0x3278]
cmp eax, ebp
je 0x1002094d
push eax
call fcn.100ff60b
add esp, 4
mov dword [esi + 0x3278], ebp
cmp dword [esp + 0x26c], ebp
jle 0x10020e0e
mov ebx, dword [esp + 0x270]
cmp ebx, ebp
jle 0x10020e0e
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 0x10020a42
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x100209a0
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.10044740
add esp, 0x28
test eax, eax
je 0x10020a40
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.1004d200
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
call fcn.100ff60b
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.10020870
mov ecx, dword [esp + 0x26c]
push ecx
call ebp
call esi
sub eax, edi
cmp eax, ebx
jb 0x100209a0
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 0x10020b96
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10020b96
push ebp
lea ecx, [esp + 0x80]
call fcn.1011dc60
mov byte [esp + 0x24c], 2
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10020aaa
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10020ab3
call fcn.10101815
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + esi*4]
push ebp
push edx
lea ecx, [esp + 0x84]
call fcn.1011ffc0
test al, al
jne 0x10020aee
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10020add
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10020ae6
call fcn.10101815
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*4]
push eax
call ebx
jmp 0x10020b6c
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10020b03
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x10020b0c
call fcn.10101815
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.1011fc10
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.1011f4f0
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.100c2cc0
mov edx, dword [esp + 0x14]
lea edi, [edi + edx + 4]
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016b734
call fcn.1011dd30
lea ecx, [esp + 0x7c]
call fcn.1011dc80
add esi, 1
jmp 0x10020a63
push edi
call fcn.100ff548
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x10020c83
xor esi, esi
jmp 0x10020bb0
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10020c2f
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x10020c2f
push ebp
lea ecx, [esp + 0x80]
call fcn.1011dc60
mov byte [esp + 0x24c], 3
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10020bef
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x10020bf8
call fcn.10101815
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*8]
push eax
lea ecx, [esp + 0x80]
call fcn.1011e2b0
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016b734
call fcn.1011dd30
lea ecx, [esp + 0x7c]
call fcn.1011dc80
add esi, 1
jmp 0x10020bb0
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10020c48
push eax
call fcn.100ee4bd
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 0x10020c70
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
xor eax, eax
jmp 0x10020fcf
push edi
push ebp
push esi
call fcn.10100550
add edi, 0xffffffd0
add esp, 0xc
mov dword [esi + 0x28], edi
xor edi, edi
jmp 0x10020ca0
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10020dbc
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x10020dbc
push ebp
lea ecx, [esp + 0x80]
call fcn.1011dc60
mov byte [esp + 0x24c], 4
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10020ce9
mov edx, dword [esp + 0x28]
mov ecx, edx
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10020cf6
call fcn.10101815
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ebp
lea ebx, [eax + edi*8]
je 0x10020d06
sub edx, eax
sar edx, 3
cmp edi, edx
jb 0x10020d0f
call fcn.10101815
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 0x10020d44
mov ebp, ecx
mov dword [esp + 0x18], ebp
sub dword [esp + 0x18], 1
mov ebp, dword [eax]
lea eax, [eax + ebp + 4]
jne 0x10020d35
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.10101870
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebp
je 0x10020d79
mov ecx, dword [esp + 0x28]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10020d82
call fcn.10101815
mov eax, dword [esp + 0x24]
mov edx, dword [eax + edi*8]
push edx
lea ecx, [esp + 0x80]
call fcn.1011e2b0
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016b734
call fcn.1011dd30
lea ecx, [esp + 0x7c]
call fcn.1011dc80
add edi, 1
jmp 0x10020ca0
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10020dd5
push eax
call fcn.100ee4bd
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 0x10020dfd
push eax
call fcn.100ee4bd
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
jmp 0x10020fc3
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.10044740
add esp, 0x28
test eax, eax
je 0x10020c7c
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.1004d200
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call fcn.100ff60b
add esp, 0x14
push ebp
lea ecx, [esp + 0x80]
call fcn.1011dc60
mov dword [esp + 0x24c], 5
push ebp
push esi
lea ecx, [esp + 0x84]
call fcn.1011ffc0
test al, al
push esi
jne 0x10020edd
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016b734
call fcn.1011dd30
lea ecx, [esp + 0x7c]
call fcn.1011dc80
xor eax, eax
jmp 0x10020fcf
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 0x10020f08
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
jmp 0x10020f21
push ebx
lea ecx, [esp + 0x80]
call fcn.1011fc10
push 3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x88]
call fcn.1011f4f0
mov edi, dword [esp + 0x1c]
add edi, 0x40
push edi
call fcn.100ff548
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x10020f59
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x80]
call fcn.1011e2b0
jmp 0x10020eb1
push edi
push ebp
push esi
call fcn.10100550
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.1001ee00
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push ecx
lea ecx, [esp + 0x80]
call fcn.1011e2b0
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1016b734
call fcn.1011dd30
lea ecx, [esp + 0x7c]
call fcn.1011dc80
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.100ffae6
add esp, 0x23c
ret