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

Disassembly:
sub esp, 8
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebp, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push 0x102beca0
mov ebx, eax
call ebp
cmp eax, 1
jne 0x1004abc5
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
call edi
sub eax, ebx
cmp eax, 0x3e8
ja 0x1004abc5
push 1
push 0x102beca0
call ebp
cmp eax, 1
je 0x1004aba4
sub dword [0x102beca4], 1
jns 0x1004abd8
mov dword [0x102beca4], 0
push 0
push 0x102beca0
call ebp
push esi
call fcn.10057dc0
push 0
push esi
call fcn.10012390
add esp, 0xc
lea edi, [esi + 0x90]
mov ebp, 0x65
lea ecx, [ecx]
mov ebx, dword [edi]
call fcn.1003ee20
mov eax, dword [edi]
test eax, eax
je 0x1004ac1c
push eax
call fcn.100ff229
add esp, 4
mov dword [edi], 0
add edi, 4
sub ebp, 1
jne 0x1004ac00
push esi
call fcn.10047290
push esi
call fcn.10047450
mov eax, dword [esi + 0x25f0]
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x1004ac46
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call fcn.10051760
push esi
call fcn.1001efa0
mov eax, dword [esi + 0x3278]
add esp, 8
cmp eax, ebx
je 0x1004ac6e
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x3278], ebx
mov eax, dword [esi + 0x3270]
cmp eax, ebx
je 0x1004ac87
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x3270], ebx
mov eax, dword [esi + 0x327c]
cmp eax, ebx
je 0x1004aca3
add eax, 0xfffffff0
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x327c], ebx
mov eax, dword [esi + 0x3280]
cmp eax, ebx
je 0x1004acbc
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x3280], ebx
mov eax, dword [esi + 0x37f0]
cmp eax, ebx
je 0x1004acd5
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x37f0], ebx
mov eax, dword [esi + 0x3294]
cmp eax, ebx
je 0x1004acee
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x3294], ebx
xor ebp, ebp
mov edi, dword [esi + 0x3284]
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x1004ad33
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x1004ad33
cmp ecx, ebx
je 0x1004ad19
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x1004ad1e
call fcn.10101425
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebp*4]
push ecx
push esi
call fcn.100890f0
add esp, 8
add ebp, 1
jmp 0x1004acf0
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x1004ad40
call fcn.10101425
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x1004ad4d
call fcn.10101425
cmp ebx, ebp
je 0x1004ad7e
mov eax, dword [edi + 8]
sub eax, ebp
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea edx, [ecx + ebx]
mov dword [esp + 0x10], edx
jle 0x1004ad77
push ecx
push ebp
push ecx
push ebx
call fcn.1010112c
add esp, 0x10
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
xor ebp, ebp
mov edi, dword [esi + 0x3288]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1004adc3
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x1004adc3
test ecx, ecx
je 0x1004ada9
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x1004adae
call fcn.10101425
mov ecx, dword [edi + 4]
mov edx, dword [ecx + ebp*4]
push edx
push esi
call fcn.10058d00
add esp, 8
add ebp, 1
jmp 0x1004ad80
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x1004add0
call fcn.10101425
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x1004addd
call fcn.10101425
cmp ebx, ebp
je 0x1004ae0e
mov eax, dword [edi + 8]
sub eax, ebp
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea edx, [ecx + ebx]
mov dword [esp + 0x10], edx
jle 0x1004ae07
push ecx
push ebp
push ecx
push ebx
call fcn.1010112c
add esp, 0x10
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x37d4]
test eax, eax
je 0x1004ae2b
push eax
call fcn.100ff229
add esp, 4
mov dword [esi + 0x37d4], 0
mov edi, dword [esi + 0x32d4]
test edi, edi
mov ebp, 0x10
lea ebx, [ebp - 1]
je 0x1004ae65
cmp dword [edi + 0x18], ebp
jb 0x1004ae4e
mov ecx, dword [edi + 4]
push ecx
call fcn.100ee0d8
add esp, 4
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], 0
push edi
mov byte [edi + 4], 0
call fcn.100ee0d8
add esp, 4
mov edi, dword [esi + 0x2640]
test edi, edi
je 0x1004ae97
cmp dword [edi + 0x18], ebp
jb 0x1004ae80
mov edx, dword [edi + 4]
push edx
call fcn.100ee0d8
add esp, 4
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], 0
push edi
mov byte [edi + 4], 0
call fcn.100ee0d8
add esp, 4
mov edi, dword [esi + 0x264c]
test edi, edi
je 0x1004aec9
cmp dword [edi + 0x18], ebp
jb 0x1004aeb2
mov eax, dword [edi + 4]
push eax
call fcn.100ee0d8
add esp, 4
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], 0
push edi
mov byte [edi + 4], 0
call fcn.100ee0d8
add esp, 4
mov edi, dword [esi + 0x2620]
test edi, edi
je 0x1004aef7
mov eax, dword [edi + 4]
test eax, eax
je 0x1004aee3
push eax
call fcn.100ee0d8
add esp, 4
xor eax, eax
push edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.100ee0d8
add esp, 4
mov edi, dword [esi + 0x2624]
test edi, edi
je 0x1004af25
mov eax, dword [edi + 4]
test eax, eax
je 0x1004af11
push eax
call fcn.100ee0d8
add esp, 4
xor eax, eax
push edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.100ee0d8
add esp, 4
mov edi, dword [esi + 0x3284]
test edi, edi
je 0x1004af53
mov eax, dword [edi + 4]
test eax, eax
je 0x1004af3f
push eax
call fcn.100ee0d8
add esp, 4
xor eax, eax
push edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.100ee0d8
add esp, 4
mov edi, dword [esi + 0x3288]
test edi, edi
je 0x1004af81
mov eax, dword [edi + 4]
test eax, eax
je 0x1004af6d
push eax
call fcn.100ee0d8
add esp, 4
xor eax, eax
push edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.100ee0d8
add esp, 4
mov esi, dword [esi + 0x3304]
test esi, esi
je 0x1004afaf
mov eax, dword [esi + 4]
test eax, eax
je 0x1004af9b
push eax
call fcn.100ee0d8
add esp, 4
xor eax, eax
push esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.100ee0d8
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ff704
add esp, 8
ret