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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101e34d4], 0
je 0x1006ad65
push ebx
push esi
push edi
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f1f2e4b
mov dword [esp + 0x18], 0x3f21cac0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x43d68000
mov dword [esp + 8], 0x433e0000
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
push 0xf078
call eax
movss xmm0, dword [0x5ef5a1c]
add esp, 0x2c
cvtps2pd xmm0, xmm0
mov eax, 0x4db0c0
mulsd xmm0, qword [0x1018c7e8]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
fadd qword [0x1018cae0]
mov esi, dword [0xe8c58c]
add esp, 4
mov edi, 0x41fe10
fstp dword [ebp - 0x48]
call edi
push esi
mov edx, 0x420120
mov ecx, eax
call edx
push 0
call edi
mov edx, 0x4200f0
mov ecx, eax
call edx
movss xmm1, dword [ebp - 0x48]
movsd xmm0, qword [0x1018cb60]
cvtps2pd xmm1, xmm1
subsd xmm0, xmm1
mulsd xmm0, qword [0x1018ce70]
cvttsd2si eax, xmm0
push eax
push 0x19
push 0xbd
push 0xff
call edi
mov edx, 0x420040
mov ecx, eax
call edx
push 0xac
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call edi
push 0
push 3
push 0
push 0xbe
push esi
push 0x1d
push 1
mov ebx, 0x420150
mov ecx, eax
call ebx
movss xmm0, dword [ebp - 0x48]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1018ce70]
cvttsd2si eax, xmm0
push eax
push 0x19
push 0xbd
push 0xff
call edi
mov ecx, eax
mov eax, 0x420040
call eax
push 0xad
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call edi
push 0
push 3
push 0
push 0xbe
push esi
push 0x1d
push 1
mov ecx, eax
call ebx
mov esi, dword [0xe8c588]
call edi
mov ecx, eax
lea eax, [ebx - 0x30]
push esi
call eax
push 0xff
push 0xff
push 0xff
push 0xff
call edi
mov ecx, eax
mov eax, 0x420040
call eax
push 0xae
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call edi
push 0
push 1
push 0
push 0xa6
push esi
push 0x3a
push 0x10
mov ecx, eax
call ebx
push 0xaf
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call edi
push 0
push 1
push 0
push 0xa6
push esi
push 0x44
push 0x10
mov ecx, eax
call ebx
push 0xb0
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call edi
push 0
push 1
push 0
push 0xa6
push esi
push 0x4e
push 0x10
mov ecx, eax
call ebx
push 0xb1
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call edi
push 0
push 1
push 0
push 0xa6
push esi
push 0x58
push 0x10
mov ecx, eax
call ebx
xor ebx, ebx
mov dword [ebp - 0x54], ebx
nop word [eax + eax]
mov esi, dword [0x101e34e8]
xor edx, edx
nop dword [eax + eax]
movzx eax, byte [edx*8 + 0x101e34f0]
cmp eax, esi
jne 0x1006a6cb
movzx ecx, byte [edx*8 + 0x101e34f1]
lea eax, [ebx + 1]
cmp ecx, eax
je 0x1006a6d6
inc edx
cmp edx, 0x19
jl 0x1006a6b0
jmp 0x1006aa26
lea edi, [edx*8 + 0x101e34ec]
mov dword [ebp - 0x50], edi
test edi, edi
je 0x1006aa26
push 1
mov eax, 0x635fd0
call eax
mov dword [esp], 0
mov eax, 0x637c60
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
push 1
push 1
sub esp, 0x20
mulss xmm0, dword [0x1018d234]
mov dword [esp + 0x1c], 0x3f2e147b
mov dword [esp + 0x18], 0x3f0b8522
mov dword [esp + 0x14], 0
movss dword [ebp - 0x4c], xmm0
addss xmm0, dword [0x1018d324]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x425c0000
mov dword [esp + 8], 0x43260000
movss dword [esp + 4], xmm0
mov dword [esp], 0x41300000
push 0xf079
call eax
mov eax, 0xe8c588
add esp, 0x30
mov esi, dword [eax]
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420120
push esi
call eax
movss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [0x1018d344]
push 0x11
push 0x26
cvttss2si eax, xmm0
movss dword [ebp - 0x48], xmm0
push eax
push 0x88
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006a85e
cmp byte [0x101e34d5], 0
jne 0x1006a85e
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x1006a85e
cmp byte [0x8793386], 0
je 0x1006a85e
mov eax, 0x83c080
call eax
movss xmm0, dword [ebp - 0x48]
mov eax, 0x637c60
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3e69d18c
mov dword [esp + 0x18], 0x3f36aa76
mov dword [esp + 0x14], 0x3e8963a7
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41880000
mov dword [esp + 8], 0x42180000
movss dword [esp + 4], xmm0
mov dword [esp], 0x43080000
push 0xf066
call eax
lea eax, [ebx + 1]
mov byte [0x101e34d5], 1
mov dword [0x101e34d8], eax
mov eax, dword [0x101e34e8]
mov dword [0x101e34dc], eax
jmp 0x1006a8bb
movss xmm0, dword [ebp - 0x48]
mov eax, 0x637c60
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3e69d18c
mov dword [esp + 0x18], 0x3f36aa76
mov dword [esp + 0x14], 0x3ca3d70a
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41880000
mov dword [esp + 8], 0x42180000
movss dword [esp + 4], xmm0
mov dword [esp], 0x43080000
push 0xf066
call eax
add esp, 0x30
mov ebx, 0x41fe10
push 0
call ebx
mov ecx, eax
mov eax, 0x4200f0
call eax
mov eax, dword [ebp - 0x50]
movzx edi, byte [edi]
push 0xff
push 0
movzx eax, word [eax + 2]
push 0xe6
shl edi, 9
push 0xe6
add edi, eax
call ebx
mov ecx, eax
mov eax, 0x420040
call eax
push 0xab
mov ecx, 0x101ad5f8
call fcn.10045b80
mov esi, eax
call ebx
movss xmm0, dword [ebp - 0x4c]
mov ecx, eax
addss xmm0, dword [0x1018d354]
push 0
push 3
push 0
push 0x46
cvttss2si ebx, xmm0
push esi
mov eax, 0x420150
push ebx
push 0x42
call eax
push 0xff
push 0xff
push 0xff
push 0xff
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420040
call eax
imul esi, edi, 0x54
mov edi, 0x41fe10
add esi, dword [0x8128ac0]
call edi
movss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [0x1018d394]
push 0
push 1
push 0
push 0x69
cvttss2si ecx, xmm0
push esi
mov esi, 0x420150
push ecx
push 0x45
mov ecx, eax
call esi
mov ecx, dword [ebp - 0x50]
movzx eax, word [ecx + 6]
push eax
lea eax, [ebp - 0x44]
push 0x10186e1c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
movss xmm0, dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
addss xmm0, dword [0x1018d3cc]
add esp, 0xc
push 0
push 3
push 0
push 0x64
push eax
cvttss2si eax, xmm0
push eax
push 0x5b
call edi
mov ecx, eax
call esi
push 0xff
push 0x19
push 0xbd
push 0xff
call edi
mov ecx, eax
mov eax, 0x420040
call eax
push 0x464
mov ecx, 0x8128adc
mov eax, 0x402320
call eax
mov esi, eax
call edi
push 0
push 3
push 0
push 0x26
push esi
push ebx
mov ecx, eax
mov eax, 0x420150
push 0x88
call eax
push 0
mov eax, 0x635fd0
call eax
mov ebx, dword [ebp - 0x54]
add esp, 4
inc ebx
mov dword [ebp - 0x54], ebx
cmp ebx, 5
jl 0x1006a6a0
push dword [0x101e34d8]
push dword [0x101e34dc]
call fcn.1006a050
movss xmm0, dword [0x1018d21c]
xor esi, esi
nop
mov edi, dword [0x101e34e8]
xor edx, edx
nop dword [eax + eax]
movzx eax, byte [edx*8 + 0x101e34f0]
cmp eax, edi
jne 0x1006aa7b
movzx ecx, byte [edx*8 + 0x101e34f1]
lea eax, [esi + 1]
cmp ecx, eax
je 0x1006aa83
inc edx
cmp edx, 0x19
jl 0x1006aa60
jmp 0x1006aad6
lea eax, [edx*8 + 0x101e34ec]
test eax, eax
je 0x1006aad6
movzx ecx, byte [eax]
sub esp, 8
movzx eax, word [eax + 2]
movaps xmm3, xmm0
movd xmm1, esi
movaps xmm2, xmm0
movss xmm0, dword [0x1018d144]
xor edx, edx
cvtdq2ps xmm1, xmm1
shl ecx, 9
push 0
add ecx, eax
mulss xmm1, dword [0x1018d234]
addss xmm1, dword [0x1018d2bc]
call fcn.100a79c0
movss xmm0, dword [0x1018d21c]
add esp, 0xc
inc esi
cmp esi, 5
jl 0x1006aa50
push 0xa
push 0xa
push 0x190
push 0x42
mov edi, 0x790b10
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
test al, al
je 0x1006ab78
cmp byte [0x8793386], 0
je 0x1006ab78
call esi
mov ecx, dword [0x101e34e0]
add ecx, 0xc8
cmp eax, ecx
jb 0x1006ab78
call esi
cmp byte [0x101e34d5], 0
mov dword [0x101e34e0], eax
jne 0x1006ab78
mov ecx, dword [0x101e34e8]
cmp ecx, 1
jle 0x1006ab41
lea eax, [ecx - 1]
mov dword [0x101e34e8], eax
lea eax, [ecx - 1]
cmovle eax, ecx
cmp eax, 1
jne 0x1006ab62
movsd xmm0, qword [0x1018ca18]
push ecx
mov dword [esp], 0
push 0
push 0
jmp 0x1006ab9f
movsd xmm0, qword [0x1018c9c8]
push ecx
mov dword [esp], 0
push 0
push 0
jmp 0x1006ab9f
cmp dword [0x101e34e8], 1
jne 0x1006ab8b
movsd xmm0, qword [0x1018ca18]
jmp 0x1006ab93
movsd xmm0, qword [0x1018c850]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov ebx, 0x637c60
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3e0fdf41
mov dword [esp + 0x18], 0x3e85a1d5
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0x3cf5c28e
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x41200000
mov dword [esp + 4], 0x43c80000
mov dword [esp], 0x42840000
push 0xf07a
call ebx
add esp, 0x30
push 0xa
push 0xa
push 0x190
push 0x74
call edi
add esp, 0x10
test al, al
je 0x1006ac59
cmp byte [0x8793386], 0
je 0x1006ac59
call esi
mov ecx, dword [0x101e34e0]
add ecx, 0xc8
cmp eax, ecx
jb 0x1006ac59
call esi
cmp byte [0x101e34d5], 0
mov dword [0x101e34e0], eax
jne 0x1006ac59
mov ecx, dword [0x101e34e8]
cmp ecx, 5
jge 0x1006ac44
lea eax, [ecx + 1]
mov dword [0x101e34e8], eax
lea eax, [ecx + 1]
cmovge eax, ecx
cmp eax, 5
je 0x1006ac62
movsd xmm0, qword [0x1018c9c8]
jmp 0x1006ac74
cmp dword [0x101e34e8], 5
jne 0x1006ac6c
movsd xmm0, qword [0x1018ca18]
jmp 0x1006ac74
movsd xmm0, qword [0x1018c850]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3e0fdf41
mov dword [esp + 0x18], 0x3e85a1d5
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0x3ea3d709
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x41200000
mov dword [esp + 4], 0x43c80000
mov dword [esp], 0x42e80000
push 0xf07a
call ebx
mov esi, dword [0x101e34e8]
add esp, 0x30
xorps xmm0, xmm0
mov word [ebp - 8], 0
mov ecx, 0x8128adc
movq qword [ebp - 0x10], xmm0
mov eax, 0x402320
push 0x49d
call eax
push 5
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, 0x41fe10
push 0
call ebx
mov ecx, eax
mov eax, 0x4200f0
call eax
push 0xff
push 0x19
push 0xbd
push 0xff
call ebx
mov ecx, eax
mov eax, 0x420040
call eax
mov esi, dword [0xe8c588]
call ebx
mov ecx, eax
mov eax, 0x420120
push esi
call eax
push 0
push 3
push 0
push 0x14
lea eax, [ebp - 0x10]
push eax
push 0x190
push 0x56
call ebx
mov ecx, eax
mov eax, 0x420150
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret