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

Disassembly:
mov eax, 0x6b54a5
call fcn.00664608
sub esp, 0x5c
push dword [ebp + 8]
call fcn.00523699
cmp dword [0x7bb228], 0
jne 0x523d1d
push dword [ebp + 8]
call fcn.005234fc
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
mov ecx, 0x7c4530
push eax
call fcn.0051d140
mov edi, dword [eax]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [edi + 0x5c], 0
mov ebx, eax
mov dword [ebp - 0x24], ebx
je 0x52400d
push esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor ecx, ecx
sub eax, ebx
push ecx
pop ebx
sbb ecx, ebx
cmp ecx, ebx
jg 0x52400c
jl 0x523d6c
cmp eax, 0x64
jae 0x52400c
mov ecx, dword [edi + 0x54]
mov eax, dword [edi + 0x50]
dec ecx
and ecx, dword [edi + 0x58]
mov eax, dword [eax + ecx*4]
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x68]
push 0x6d8c54
push eax
call fcn.004577d4
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
push 5
mov dword [ebp - 0x50], ebx
lea ecx, [ebp - 0x50]
push str.btapp
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], bl
call fcn.00410407
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
push ebx
lea ecx, [ebp - 0x38]
call fcn.00461737
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x523e07
mov ecx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x523dfe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
push 7
mov dword [ebp - 0x50], ebx
lea ecx, [ebp - 0x50]
push 0x6ce050
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], bl
call fcn.00410407
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x50]
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
cmp esi, ebx
je 0x523e49
mov ecx, esi
call fcn.0041048f
push 0x18
pop eax
add esi, eax
mov dword [ebp - 0x34], esi
jmp 0x523e58
push esi
lea ecx, [ebp - 0x38]
call fcn.00461737
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x523e91
mov ecx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x523e88
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
and dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
and dword [ebp - 0x40], 0
push 3
push 0x6f0fa8
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.00410407
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
push eax
cmp esi, ebx
je 0x523ed0
mov ecx, esi
call fcn.0041048f
push 0x18
pop eax
add esi, eax
mov dword [ebp - 0x34], esi
jmp 0x523edf
push esi
lea ecx, [ebp - 0x38]
call fcn.00461737
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x523f18
mov ecx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x523f0f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push eax
cmp esi, ebx
je 0x523f3b
xor ebx, ebx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00410794
push 0x18
pop eax
add esi, eax
mov dword [ebp - 0x34], esi
jmp 0x523f46
push esi
lea ecx, [ebp - 0x38]
call fcn.0048b69e
xor ebx, ebx
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0051c9b7
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.00522907
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test eax, eax
je 0x523f77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x1c]
lea ecx, [edi + 0x60]
call fcn.005249cf
sub dword [edi + 0x5c], 1
jne 0x523f8d
mov dword [edi + 0x58], ebx
jmp 0x523f90
inc dword [edi + 0x58]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x523ff4
mov ebx, esi
cmp ebx, dword [ebp - 0x34]
je 0x523fb2
push 0x18
pop edi
mov ecx, ebx
call fcn.00410858
add ebx, edi
cmp ebx, dword [ebp - 0x34]
jne 0x523fa1
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp - 0x10], esi
push 0x18
cdq
pop ecx
idiv ecx
imul eax, eax, 0x18
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x523fe0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push eax
push esi
call fcn.006643a9
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00410858
cmp dword [edi + 0x5c], ebx
mov ebx, dword [ebp - 0x24]
jne 0x523d4b
pop esi
cmp dword [edi + 0x64], 0
jbe 0x524026
mov eax, dword [edi + 0x94]
or dword [edi + 0x90], 2
mov dword [edi + 0x94], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4