Function at 0x414900
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 0x5ea060
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
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 - 0xc4], eax
cmp byte [eax], 0
je 0x414ec0
call fcn.0041db40
add dword [eax + 0xc], 0xffffffff
jns 0x414964
mov dword [eax + 0xc], 0
call fcn.0041db40
sub esp, 8
lea ecx, [ebp - 0x1c0]
mov esi, eax
mov dword [ebp - 0xd0], esi
call fcn.00415be0
lea ecx, [ebp - 0xbc]
call fcn.00407a4a
push str.MARK
lea ecx, [ebp - 0xbc]
call fcn.00414ef0
lea ecx, [ebp - 0x5c]
call fcn.00407a4a
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp dword [esi + 0xc], eax
jle 0x414a25
nop
cmp eax, 0xa
jge 0x414a25
mov edx, dword [ebp - 0x48]
mov eax, edx
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
cmp eax, 2
jb 0x4149f5
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 - 0xd0]
jmp 0x414a13
push 2
push 0x63e4c4
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xc0]
push 2
call fcn.0041ea00
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp eax, dword [esi + 0xc]
jl 0x4149b0
lea ecx, [ebp - 0xa4]
call fcn.00407a4a
lea ecx, [ebp - 0x44]
call fcn.00407a4a
call fcn.005c8926
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xa4]
push eax
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x270]
call fcn.00415be0
cmp dword [esi + 0x10], 0
jne 0x414a86
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x260]
mov dword [esi + 0x10], eax
call fcn.004101b0
jmp 0x414ab6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x260]
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 - 0x74]
push eax
lea ecx, [ebp - 0x258]
call fcn.00416830
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x414b18
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
ja 0x414bee
add eax, eax
cmp eax, 0x1000
jb 0x414b0f
test cl, 0x1f
jne 0x414bee
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414bee
sub ecx, eax
cmp ecx, 4
jb 0x414bee
cmp ecx, 0x23
ja 0x414bee
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
call fcn.004075ab
lea ecx, [ebp - 0x270]
call fcn.00415840
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0x2040
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x1b0]
lea edx, [ebp - 0x1b0]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 0
lea edx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x1b0]
push eax
cmovae edx, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
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 0x414bf3
xor ecx, ecx
jmp 0x414bfa
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 dword [ebp - 4], 1
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae edx, dword [ebp - 0x44]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004137f0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x110]
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 - 0xdc]
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 - 0xac]
mov dword [ebp - 4], 2
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
mov ecx, esi
push eax
cmovae edx, dword [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.004137f0
add esp, 0x14
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xc0]
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 0x414d67
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x414d67
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 - 0x8c]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00416830
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x414dd1
mov ecx, dword [0x6835d4]
inc eax
cmp eax, 0x7fffffff
ja 0x414bee
add eax, eax
cmp eax, 0x1000
jb 0x414dc8
test cl, 0x1f
jne 0x414bee
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414bee
sub ecx, eax
cmp ecx, 4
jb 0x414bee
cmp ecx, 0x23
ja 0x414bee
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x8c]
xor eax, eax
lea ecx, [ebp - 0x8c]
mov word [ebp - 0x8c], ax
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
call fcn.004075ab
lea ecx, [ebp - 0x44]
call fcn.004075ab
lea ecx, [ebp - 0xa4]
call fcn.004075ab
lea ecx, [ebp - 0x5c]
call fcn.004075ab
lea ecx, [ebp - 0xbc]
call fcn.004075ab
lea ecx, [ebp - 0x1c0]
call fcn.00415840
call fcn.0041db40
mov ecx, dword [0x6835e4]
mov dword [ebp - 4], 3
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 - 0xc4]
add esp, 4
mov edx, str.Exiting:
mov ecx, eax
add esi, 4
call fcn.00413320
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x414e9d
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
mov eax, dword [ebp - 0xc4]
add esp, 4
lea ecx, [eax + 4]
call fcn.004075ab
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