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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9dbf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xd0], eax
mov byte [eax], 1
call fcn.0041db40
sub esp, 8
lea ecx, [ebp - 0x1b0]
mov esi, eax
mov dword [ebp - 0xd4], esi
call fcn.00415be0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0
call fcn.00407a4a
push str.MARK
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00414ef0
lea ecx, [ebp - 0x5c]
call fcn.00407a4a
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xc8], eax
cmp dword [esi + 0xc], eax
jle 0x412e0b
cmp eax, 0xa
jge 0x412e0b
mov edx, dword [ebp - 0x48]
mov eax, edx
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
cmp eax, 2
jb 0x412ddb
cmp edx, 8
lea esi, [ebp - 0x5c]
push 4
cmovae esi, dword [ebp - 0x5c]
lea edi, [ecx + 2]
push 0x63e4c4
mov dword [ebp - 0x4c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0xd4]
jmp 0x412df9
push 2
push 0x63e4c4
mov byte [ebp - 0xc4], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xc4]
push 2
call fcn.0041ea00
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp eax, dword [esi + 0xc]
jl 0x412d96
lea ecx, [ebp - 0xa8]
call fcn.00407a4a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00407a4a
mov byte [ebp - 4], 4
call fcn.005c8926
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x260]
call fcn.00415be0
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
jne 0x412e78
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x250]
mov dword [esi + 0x10], eax
call fcn.004101b0
jmp 0x412ea8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x250]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
call fcn.0041e250
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x248]
call fcn.00416830
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x412f0e
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
ja 0x412ff4
add eax, eax
cmp eax, 0x1000
jb 0x412f05
test cl, 0x1f
jne 0x412ff4
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412ff4
sub ecx, eax
cmp ecx, 4
jb 0x412ff4
cmp ecx, 0x23
ja 0x412ff4
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 7
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 5
call fcn.004075ab
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00415840
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0x2040
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x1a0]
lea edx, [ebp - 0x1a0]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 7
lea edx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0x1a0]
push eax
cmovae edx, dword [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0xcc]
push 0x10
push eax
call fcn.005be8d1
add esp, 8
mov edx, 0x63e114
mov ecx, esi
mov edi, eax
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x412ff9
xor ecx, ecx
jmp 0x413000
call fcn.005c3f14
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
mov eax, dword [edi]
push ecx
call eax
push 0
lea eax, [ebp - 0xf0]
push 6
push eax
call fcn.005be8ff
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov eax, 0x30
push 0
push 3
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x100]
push eax
call fcn.005be8e5
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 8
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae edx, dword [ebp - 0x44]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x70]
push 0
push 5
push eax
call fcn.005be8ff
add esp, 0xc
mov edx, 0x63e114
mov ecx, edi
mov esi, eax
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov eax, 0x20
push 0x40
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0xe0]
push eax
call fcn.005be8d1
mov ecx, dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 9
lea edx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
mov ecx, esi
push eax
cmovae edx, dword [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 0x14
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xc4]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x41315e
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x41315e
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
add esp, 4
push 0x6835d0
call fcn.005bcd3a
add esp, 4
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x198]
call fcn.00416830
mov byte [ebp - 4], 0xa
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x4131cc
mov ecx, dword [0x6835d4]
inc eax
cmp eax, 0x7fffffff
ja 0x412ff4
add eax, eax
cmp eax, 0x1000
jb 0x4131c3
test cl, 0x1f
jne 0x412ff4
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412ff4
sub ecx, eax
cmp ecx, 4
jb 0x412ff4
cmp ecx, 0x23
ja 0x412ff4
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x90]
xor eax, eax
lea ecx, [ebp - 0x90]
mov word [ebp - 0x90], ax
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov byte [ebp - 4], 4
call fcn.004075ab
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004075ab
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004075ab
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004075ab
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.004075ab
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415840
call fcn.0041db40
mov ecx, dword [0x6835e4]
mov dword [ebp - 4], 0xb
mov edx, 0x6835d4
cmp dword [0x6835e8], 8
push ecx
cmovae edx, dword [0x6835d4]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004137f0
mov esi, dword [ebp - 0xd0]
add esp, 4
mov edx, str.Entering:
mov ecx, eax
add esi, 4
call fcn.00413320
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], 0xc
cmp dword [esi + 0x14], 8
jb 0x4132b3
mov esi, dword [esi]
push ecx
mov edx, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.004137f0
add esp, 4
push eax
call fcn.00414850
add esp, 4
call fcn.0041db40
inc dword [eax + 0xc]
cmp dword [eax + 0xc], 0xa
jle 0x4132e5
mov dword [eax + 0xc], 0xa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4