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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 0x90], 0
push 0x60
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.005cbc50
add esp, 0xc
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x20], 0x12
mov dword [ebp - 0x128], 0x76
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x124]
lea ecx, [eax + eax + 2]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + edx + 2]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x90]
push edx
push 0x1000400
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x6bbc50]
mov edx, dword [ecx]
mov eax, dword [0x6bbc50]
push eax
mov ecx, dword [edx + 0x14]
call ecx
push 0x7c
push 0
lea edx, [ebp - 0x120]
push edx
call fcn.005cbc50
add esp, 0xc
mov dword [ebp - 0x120], 0x7c
push 0
push 1
lea eax, [ebp - 0x120]
push eax
push 0
mov ecx, dword [0x6bbc50]
mov edx, dword [ecx]
mov eax, dword [0x6bbc50]
push eax
mov ecx, dword [edx + 0x64]
call ecx
test eax, eax
je 0x469d5b
jmp 0x46a0c5
mov edx, dword [ebp - 0x110]
sar edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x124]
add eax, 1
imul eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xfc]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
jmp 0x469db0
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x9c]
jge 0x469eb2
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x12c], 0
jmp 0x469de6
mov edx, dword [ebp - 0x12c]
add edx, 1
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x124]
jge 0x469e8e
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x12c]
movzx edx, byte [ecx]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x469e1d
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax*2 + 0x6b98c8]
mov dword [ebp - 0x1c], ecx
jmp 0x469e24
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x469e31
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x94]
mov ax, word [ebp - 0x1c]
mov word [edx - 2], ax
mov ecx, dword [ebp - 0x94]
mov dx, word [ebp - 0x1c]
mov word [ecx], dx
mov eax, dword [ebp - 0x94]
mov cx, word [ebp - 0x1c]
mov word [eax + 2], cx
mov edx, dword [ebp - 0x98]
shl edx, 1
mov eax, dword [ebp - 0x94]
sub eax, edx
mov cx, word [ebp - 0x1c]
mov word [eax], cx
mov edx, dword [ebp - 0x98]
lea eax, [edx + edx - 4]
mov ecx, dword [ebp - 0x94]
sub ecx, eax
mov dword [ebp - 0x94], ecx
jmp 0x469dd7
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + edx*2 + 4]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp + 0x10], edx
jmp 0x469da7
movsx eax, word [0x6bc084]
test eax, eax
je 0x469ec6
mov dword [ebp - 0x1c], 0xffff
jmp 0x469ecd
mov dword [ebp - 0x1c], 1
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x469ef1
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x130], edx
jmp 0x469efd
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov edx, dword [0x6bc080]
add edx, 0x3e8
cmp edx, dword [ebp - 0x130]
ja 0x469f6e
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x469f35
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x134], edx
jmp 0x469f41
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [0x6bc080], edx
mov ax, word [0x6bc084]
add ax, 1
mov word [0x6bc084], ax
movsx ecx, word [0x6bc084]
and ecx, 1
mov word [0x6bc084], cx
mov eax, dword [ebp - 0x98]
add eax, 2
imul eax, dword [ebp - 0x9c]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x18]
lea ecx, [edx + eax*2]
mov eax, dword [ebp - 0x98]
sub eax, 2
imul eax, dword [ebp - 0x124]
cdq
sub eax, edx
sar eax, 1
shl eax, 1
sub ecx, eax
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov ax, word [ebp - 0x1c]
mov word [edx - 2], ax
mov ecx, dword [ebp - 0x94]
mov dx, word [ebp - 0x1c]
mov word [ecx], dx
mov eax, dword [ebp - 0x94]
mov cx, word [ebp - 0x1c]
mov word [eax + 2], cx
mov edx, dword [ebp - 0x98]
shl edx, 1
mov eax, dword [ebp - 0x94]
sub eax, edx
mov cx, word [ebp - 0x1c]
mov word [eax], cx
push 0
mov edx, dword [0x6bbc50]
mov eax, dword [edx]
mov ecx, dword [0x6bbc50]
push ecx
mov edx, dword [eax + 0x80]
call edx
test eax, eax
je 0x46a00a
jmp 0x46a0c5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax - 1]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x124]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax - 1]
mov dword [ebp + 0xc], edx
cmp dword [ebp + 8], 0
jge 0x46a043
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp + 8]
cmp ecx, 0x280
jle 0x46a062
mov edx, 0x280
sub edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0
jge 0x46a078
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], 0
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0xc]
cmp ecx, 0x1e0
jle 0x46a097
mov edx, 0x1e0
sub edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
push 0x11
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x6bbc50]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x1c]
call eax
mov esp, ebp
pop ebp
ret