Function at 0x46a0d0
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 0x46a1cb
jmp 0x46a5a2
mov eax, dword [ebp - 0x110]
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x124]
add edx, 1
imul edx, dword [ebp - 0x98]
imul edx, edx, 3
mov eax, dword [ebp - 0xfc]
lea ecx, [eax + edx + 3]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
jmp 0x46a229
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x9c]
jge 0x46a365
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x12c], 0
jmp 0x46a25f
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
cmp edx, dword [ebp - 0x124]
jge 0x46a33f
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x12c]
movzx ecx, byte [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x46a2a1
mov edx, dword [ebp - 0x14]
imul edx, edx, 3
add edx, 0x6bb948
mov ax, word [edx]
mov word [ebp - 0x1c], ax
mov cl, byte [edx + 2]
mov byte [ebp - 0x1a], cl
jmp 0x46a2ad
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1c], 1
movzx edx, byte [ebp - 0x1a]
movzx eax, byte [ebp - 0x1b]
or edx, eax
movzx ecx, byte [ebp - 0x1c]
or edx, ecx
jne 0x46a2c3
mov byte [ebp - 0x1c], 1
mov edx, dword [ebp - 0x94]
sub edx, 3
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov cl, byte [ebp - 0x1a]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x94]
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov cl, byte [ebp - 0x1a]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x94]
add edx, 3
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov cl, byte [ebp - 0x1a]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x98]
imul edx, edx, 3
mov eax, dword [ebp - 0x94]
sub eax, edx
mov cx, word [ebp - 0x1c]
mov word [eax], cx
mov dl, byte [ebp - 0x1a]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x98]
sub eax, 2
imul eax, eax, 3
mov ecx, dword [ebp - 0x94]
sub ecx, eax
mov dword [ebp - 0x94], ecx
jmp 0x46a250
mov edx, dword [ebp - 0x98]
add edx, 2
imul edx, edx, 3
add edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
jmp 0x46a220
movsx ecx, word [0x6bc08c]
test ecx, ecx
je 0x46a37e
mov byte [ebp - 0x1a], 0xff
mov byte [ebp - 0x1b], 0xff
mov byte [ebp - 0x1c], 0xff
jmp 0x46a38a
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1c], 1
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x46a3ae
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x130], edx
jmp 0x46a3ba
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x130], eax
mov edx, dword [0x6bc088]
add edx, 0x3e8
cmp edx, dword [ebp - 0x130]
ja 0x46a42b
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x46a3f2
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x134], edx
jmp 0x46a3fe
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [0x6bc088], edx
mov ax, word [0x6bc08c]
add ax, 1
mov word [0x6bc08c], ax
movsx ecx, word [0x6bc08c]
and ecx, 1
mov word [0x6bc08c], cx
mov eax, dword [ebp - 0x98]
add eax, 2
imul eax, dword [ebp - 0x9c]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
imul ecx, ecx, 3
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x98]
sub eax, 2
imul eax, dword [ebp - 0x124]
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 3
sub ecx, eax
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
sub edx, 3
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov cl, byte [ebp - 0x1a]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x94]
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov cl, byte [ebp - 0x1a]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x94]
add edx, 3
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov cl, byte [ebp - 0x1a]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x98]
imul edx, edx, 3
mov eax, dword [ebp - 0x94]
sub eax, edx
mov cx, word [ebp - 0x1c]
mov word [eax], cx
mov dl, byte [ebp - 0x1a]
mov byte [eax + 2], dl
push 0
mov eax, dword [0x6bbc50]
mov ecx, dword [eax]
mov edx, dword [0x6bbc50]
push edx
mov eax, dword [ecx + 0x80]
call eax
test eax, eax
je 0x46a4e6
jmp 0x46a5a2
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx - 1]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x124]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx - 1]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jge 0x46a51f
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], 0
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
add edx, dword [ebp + 8]
cmp edx, 0x280
jle 0x46a53e
mov eax, 0x280
sub eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jge 0x46a554
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], 0
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
add edx, dword [ebp + 0xc]
cmp edx, 0x1e0
jle 0x46a573
mov eax, 0x1e0
sub eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x11
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x6bbc50]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xc]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x1c]
call ecx
mov esp, ebp
pop ebp
ret