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

Disassembly:
push ecx
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebp, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push 0x102b5d88
mov ebx, eax
call ebp
cmp eax, 1
jne 0x10045e22
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
call edi
sub eax, ebx
cmp eax, 0x3e8
ja 0x10045e22
push 1
push 0x102b5d88
call ebp
cmp eax, 1
je 0x10045e01
sub dword [0x102b5d8c], 1
jns 0x10045e35
mov dword [0x102b5d8c], 0
push 0
push 0x102b5d88
call ebp
push esi
call fcn.100544c0
push 0
push esi
call fcn.100111e0
add esp, 0xc
lea edi, [esi + 0x94]
mov ebp, 0x65
lea ebx, [ebx]
mov ebx, dword [edi]
call fcn.1003c440
mov eax, dword [edi]
test eax, eax
je 0x10045e7c
push eax
call fcn.100f5c3f
add esp, 4
mov dword [edi], 0
add edi, 4
sub ebp, 1
jne 0x10045e60
push esi
call fcn.10045c90
push esi
call fcn.10045d30
mov eax, dword [esi + 0x25f4]
add esp, 8
cmp eax, ebp
je 0x10045ea4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call fcn.1004e9a0
push esi
call fcn.1001dd00
mov eax, dword [esi + 0x327c]
add esp, 8
cmp eax, ebp
je 0x10045ecc
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x327c], ebp
mov eax, dword [esi + 0x3274]
cmp eax, ebp
je 0x10045ee5
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x3274], ebp
mov eax, dword [esi + 0x3280]
cmp eax, ebp
je 0x10045f01
add eax, 0xfffffff0
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x3280], ebp
mov eax, dword [esi + 0x3284]
cmp eax, ebp
je 0x10045f1a
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x3284], ebp
mov eax, dword [esi + 0x37f4]
cmp eax, ebp
je 0x10045f33
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x37f4], ebp
mov eax, dword [esi + 0x3298]
cmp eax, ebp
je 0x10045f4c
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x3298], ebp
mov eax, dword [esi + 0x3288]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
xor edi, edi
sar ecx, 2
je 0x10045f8a
mov edi, edi
mov edx, dword [esi + 0x3288]
mov eax, dword [edx]
mov ecx, dword [eax + edi*4]
push ecx
push esi
call fcn.10082730
mov eax, dword [esi + 0x3288]
mov edx, dword [eax + 4]
sub edx, dword [eax]
add edi, 1
sar edx, 2
add esp, 8
cmp edi, edx
jb 0x10045f60
mov ebx, dword [esi + 0x3288]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp eax, ecx
je 0x10045faf
mov edi, ecx
sub edi, ecx
je 0x10045fac
push edi
push ecx
push eax
call fcn.100f7b50
add esp, 0xc
add eax, edi
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x328c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
xor edi, edi
sar ecx, 2
je 0x10045feb
mov edx, dword [esi + 0x328c]
mov eax, dword [edx]
mov ecx, dword [eax + edi*4]
push ecx
push esi
call fcn.10055400
mov eax, dword [esi + 0x328c]
mov edx, dword [eax + 4]
sub edx, dword [eax]
add edi, 1
sar edx, 2
add esp, 8
cmp edi, edx
jb 0x10045fc1
mov ebx, dword [esi + 0x328c]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp eax, ecx
je 0x10046010
mov edi, ecx
sub edi, ecx
je 0x1004600d
push edi
push ecx
push eax
call fcn.100f7b50
add esp, 0xc
add eax, edi
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x37d8]
cmp eax, ebp
je 0x10046029
push eax
call fcn.100f5c3f
add esp, 4
mov dword [esi + 0x37d8], ebp
mov edi, dword [esi + 0x32d8]
cmp edi, ebp
je 0x10046043
mov ecx, edi
call fcn.10006310
push edi
call fcn.100e4aeb
add esp, 4
mov edi, dword [esi + 0x2644]
cmp edi, ebp
je 0x1004605d
mov ecx, edi
call fcn.10006310
push edi
call fcn.100e4aeb
add esp, 4
mov edi, dword [esi + 0x2650]
cmp edi, ebp
je 0x10046077
mov ecx, edi
call fcn.10006310
push edi
call fcn.100e4aeb
add esp, 4
mov edi, dword [esi + 0x2624]
cmp edi, ebp
je 0x10046091
mov ecx, edi
call fcn.10044810
push edi
call fcn.100e4aeb
add esp, 4
mov edi, dword [esi + 0x2628]
cmp edi, ebp
je 0x100460ab
mov ecx, edi
call fcn.100448a0
push edi
call fcn.100e4aeb
add esp, 4
mov edi, dword [esi + 0x3288]
cmp edi, ebp
je 0x100460c5
mov ecx, edi
call fcn.10044930
push edi
call fcn.100e4aeb
add esp, 4
mov edi, dword [esi + 0x328c]
cmp edi, ebp
je 0x100460df
mov ecx, edi
call fcn.10044930
push edi
call fcn.100e4aeb
add esp, 4
mov esi, dword [esi + 0x3308]
cmp esi, ebp
je 0x100460f9
mov ecx, esi
call fcn.100449b0
push esi
call fcn.100e4aeb
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f611a
pop ecx
ret