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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174610
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x101b3820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
cmp dword [0x101b7b94], 0
jne 0x10140e7d
jmp 0x10141b54
mov ecx, 0x101bbf94
call fcn.1013e190
movzx eax, al
test eax, eax
je 0x1014139e
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx]
cmp edx, 1
jne 0x10141399
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x60], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0x18
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x80], 0x2d
mov dword [ebp - 0x78], 0x1e
movzx eax, byte [0x1024ce60]
cmp eax, 2
je 0x10140f14
movzx ecx, byte [0x1024ce60]
cmp ecx, 1
jne 0x10140fca
mov edx, dword [0x101b4ba8]
sub edx, 0x131
mov dword [ebp - 0x7c], edx
cvtsi2sd xmm0, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a10c0]
movsd qword [ebp - 0xc4], xmm0
cvtsd2ss xmm0, qword [ebp - 0xc4]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [0x101a0f60]
movss dword [ebp - 0x5c], xmm0
mov dword [ebp - 0x6c], 0xa
mov ecx, dword [0x101b4ba8]
sub ecx, 0x122
mov dword [ebp - 0x84], ecx
cvtsi2sd xmm0, dword [ebp - 0x84]
mov edx, dword [ebp - 0x84]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a10c0]
movsd qword [ebp - 0xa8], xmm0
cvtsd2ss xmm0, qword [ebp - 0xa8]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [0x101a0f60]
movss dword [ebp - 0x60], xmm0
movzx eax, byte [0x1024ce60]
cmp eax, 2
jne 0x10140fc3
mov dword [ebp - 0x58], 5
jmp 0x10140fca
mov dword [ebp - 0x58], 0xf
movzx ecx, byte [0x1024ce60]
cmp ecx, 0x19
jne 0x1014107d
mov edx, dword [0x101b4ba8]
sub edx, 0x114
mov dword [ebp - 0x8c], edx
cvtsi2sd xmm0, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a10c0]
movsd qword [ebp - 0xb0], xmm0
cvtsd2ss xmm0, qword [ebp - 0xb0]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [0x101a0f60]
movss dword [ebp - 0x5c], xmm0
mov dword [ebp - 0x6c], 5
mov ecx, dword [0x101b4ba8]
sub ecx, 0x109
mov dword [ebp - 0x88], ecx
cvtsi2sd xmm0, dword [ebp - 0x88]
mov edx, dword [ebp - 0x88]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a10c0]
movsd qword [ebp - 0xbc], xmm0
cvtsd2ss xmm0, qword [ebp - 0xbc]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [0x101a0f60]
movss dword [ebp - 0x60], xmm0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glEnable]
mov eax, 0x636070
call eax
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x14], 0
jl 0x101410f4
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.10140bd0
push 0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x70]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x6c]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x5c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x64]
movss dword [esp], xmm0
mov ecx, 0x6378a0
call ecx
add esp, 0x18
mov edx, 0x636070
call edx
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x10], 0
jl 0x10141159
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.10140b10
push 0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x70]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x6c]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x68]
movss dword [esp], xmm0
mov eax, 0x6378a0
call eax
add esp, 0x18
mov ecx, 0x636070
call ecx
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 1
mov edx, 0x635fd0
call edx
add esp, 4
mov dword [ebp - 0xcc], 0x64
mov dword [ebp - 0xc8], 0x3c
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
cvttss2si edx, dword [ebp - 0x5c]
push edx
cvttss2si eax, dword [ebp - 0x64]
push eax
mov ecx, 0x101b96a0
call fcn.1012f440
movzx ecx, al
test ecx, ecx
je 0x101412a1
mov edx, dword [ebp - 0x54]
add edx, 0x14
push edx
push 0x45
mov ecx, 0x101e5d10
call fcn.100dcbc0
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
push eax
call fcn.10001270
lea eax, [ebp - 0x38]
push eax
call fcn.100011b0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
call fcn.10009080
push eax
cvtsi2ss xmm0, dword [ebp - 0x80]
movss xmm1, dword [ebp - 0x5c]
subss xmm1, xmm0
cvttss2si edx, xmm1
push edx
cvtsi2ss xmm0, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x64]
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
mov ecx, 0x597220
call ecx
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10009a40
push 0x46
mov ecx, 0x101e5d10
call fcn.100dcbc0
push eax
cvtsi2ss xmm0, dword [ebp - 0x78]
movss xmm1, dword [ebp - 0x5c]
subss xmm1, xmm0
cvttss2si edx, xmm1
push edx
cvtsi2ss xmm0, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x64]
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
mov ecx, 0x597220
call ecx
add esp, 0xc
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x6c]
push eax
cvttss2si ecx, dword [ebp - 0x60]
push ecx
cvttss2si edx, dword [ebp - 0x68]
push edx
mov ecx, 0x101b96a0
call fcn.1012f440
movzx eax, al
test eax, eax
je 0x10141399
mov ecx, dword [ebp - 0x54]
add ecx, 0x10
push ecx
push 0x47
mov ecx, 0x101e5d10
call fcn.100dcbc0
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
push eax
call fcn.10001270
lea edx, [ebp - 0x50]
push edx
call fcn.100011b0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
call fcn.10009080
push eax
cvtsi2ss xmm0, dword [ebp - 0x80]
movss xmm1, dword [ebp - 0x60]
subss xmm1, xmm0
cvttss2si ecx, xmm1
push ecx
cvtsi2ss xmm0, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x68]
subss xmm1, xmm0
cvttss2si edx, xmm1
push edx
mov eax, 0x597220
call eax
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10009a40
push 0x48
mov ecx, 0x101e5d10
call fcn.100dcbc0
push eax
cvtsi2ss xmm0, dword [ebp - 0x78]
movss xmm1, dword [ebp - 0x60]
subss xmm1, xmm0
cvttss2si ecx, xmm1
push ecx
cvtsi2ss xmm0, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x68]
subss xmm1, xmm0
cvttss2si edx, xmm1
push edx
mov eax, 0x597220
call eax
add esp, 0xc
jmp 0x10141b28
push 0x65
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx ecx, al
test ecx, ecx
jne 0x10141426
push 0x66
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx edx, al
test edx, edx
jne 0x10141426
push 0x67
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx eax, al
test eax, eax
jne 0x10141426
push 0x69
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx ecx, al
test ecx, ecx
jne 0x10141426
push 0x6b
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx edx, al
test edx, edx
jne 0x10141426
push 0xf9
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx eax, al
test eax, eax
jne 0x10141426
push 0x64
mov ecx, 0x101e2e2c
call fcn.101003f0
movzx ecx, al
test ecx, ecx
je 0x1014142b
jmp 0x10141b54
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx]
cmp eax, 1
jne 0x10141b28
push 0xd
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x41
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 9
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x10
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0xa
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x4d
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x4e
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x48
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x4a
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 6
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x49
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x4b
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x3f
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0xf
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 3
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0xb
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0xc
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x39
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0xe
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 7
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 1
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x22
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x4f
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 4
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x42
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x46
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x3a
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x3b
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x3c
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x3d
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x3e
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 5
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x16
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x17
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x18
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x44
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x45
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x49
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 0x19
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
push 0x1a
mov ecx, 0x101b96a0
call fcn.1012f410
movzx ecx, al
test ecx, ecx
jne 0x101417f0
push 0x15
mov ecx, 0x101b96a0
call fcn.1012f410
movzx edx, al
test edx, edx
jne 0x101417f0
push 8
mov ecx, 0x101b96a0
call fcn.1012f410
movzx eax, al
test eax, eax
jne 0x101417f0
movzx ecx, byte [0x1024c930]
cmp ecx, 1
jne 0x101417f5
jmp 0x10141b54
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x101a00e0]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x101a0384]
movss dword [ebp - 0x14], xmm0
mov edx, dword [0x101b4ba8]
sub edx, 0x4b
mov dword [ebp - 0x74], edx
push ecx
movss xmm0, dword [0x101a0aa0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a0bb0]
movss dword [esp], xmm0
lea eax, [ebp - 0x20]
push eax
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x74]
sub ecx, 5
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc5f0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov edx, 0x635f50
call edx
push 1
mov eax, 0x635fd0
call eax
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor3f]
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc910
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x10], 0
jl 0x10141b1d
mov ecx, dword [0x101e0de0]
call fcn.100bd1c0
push 0xa
mov ecx, dword [0x101e0de0]
call fcn.100bcaf0
push 0x4a
mov ecx, 0x101e5d10
call fcn.100dcbc0
push eax
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a0ae4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a0a00]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x74]
add edx, 0xf
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [0x101e0de0]
push eax
call fcn.100bc870
add esp, 0x18
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x20]
jge 0x10141a0e
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc7f0
jmp 0x10141aa4
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x24]
jle 0x10141a61
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc7f0
jmp 0x10141aa4
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a02cc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc7f0
mov ecx, dword [ebp - 0x54]
add ecx, 0x10
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xd4], esp
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
push str._ms
call fcn.10001270
push esi
call fcn.100011b0
add esp, 0xc
mov dword [ebp - 0xa0], eax
push ecx
movss xmm0, dword [0x101a04ac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a0ae4]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a0a00]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x74]
add edx, 0x23
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x101e0de0]
call fcn.100bc990
mov ecx, dword [0x101e0de0]
call fcn.100bd1c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 8]
add edx, 0x1388
cmp eax, edx
jb 0x10141b54
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 8], eax
mov ecx, 0x101be018
call fcn.10140cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10062440
mov esp, ebp
pop ebp
ret