Function at 0x1017bb50
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
call fcn.101745f0
movzx ecx, al
test ecx, ecx
jne 0x1017bbab
mov edx, dword [0x101e6d34]
mov dword [ebp - 0x34], edx
cvtsi2sd xmm0, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101c99b0]
movsd qword [ebp - 0x84], xmm0
cvtsd2ss xmm0, qword [ebp - 0x84]
mov ecx, dword [ebp - 4]
movss dword [ecx + 0xc], xmm0
mov al, 1
jmp 0x1017c95b
mov edx, dword [0x101e6d34]
mov dword [ebp - 0x2c], edx
cvtsi2sd xmm0, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101c99b0]
movsd qword [ebp - 0x90], xmm0
cvtsd2ss xmm0, qword [ebp - 0x90]
mov ecx, dword [ebp - 4]
movss xmm1, dword [ecx + 0xc]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1017bccb
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2c], 0xffffffff
jne 0x1017bccb
mov eax, dword [ebp - 4]
movss xmm0, dword [0x101c9684]
movss dword [eax + 0x34], xmm0
cmp dword [0x81f6b6c], 8
jle 0x1017bc33
mov ecx, dword [0x81f6b6c]
sub ecx, 8
imul ecx, ecx, 0x17
cvtsi2ss xmm0, ecx
mov edx, dword [ebp - 4]
addss xmm0, dword [edx + 0x34]
mov eax, dword [ebp - 4]
movss dword [eax + 0x34], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101c8be8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8b78]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x3c]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x38]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x34]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x30]
movss dword [esp], xmm0
push 0x1388a
mov edx, 0x637c60
call edx
add esp, 0x30
mov al, 1
jmp 0x1017c95b
mov eax, dword [ebp - 4]
cvtss2sd xmm0, dword [eax + 0x10]
addsd xmm0, qword [0x101c8f58]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2c], 0
jne 0x1017bd55
mov edx, dword [0x101e6d34]
mov dword [ebp - 0x3c], edx
cvtsi2sd xmm0, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101c99b0]
movsd qword [ebp - 0x9c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x9c]
mov ecx, dword [ebp - 4]
subss xmm0, dword [ecx + 0x14]
mov edx, dword [ebp - 4]
movss xmm1, dword [edx + 0xc]
comiss xmm1, xmm0
jbe 0x1017bd49
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [0x101c9378]
mov ecx, dword [ebp - 4]
movss dword [ecx + 0xc], xmm0
jmp 0x1017bd53
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], 0xffffffff
jmp 0x1017bdb8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 1
jne 0x1017bdb8
mov ecx, dword [0x101e6d34]
mov dword [ebp - 0x30], ecx
cvtsi2sd xmm0, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101c99b0]
movsd qword [ebp - 0xa8], xmm0
cvtsd2ss xmm0, qword [ebp - 0xa8]
mov eax, dword [ebp - 4]
comiss xmm0, dword [eax + 0xc]
jbe 0x1017bdae
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0xc]
addss xmm0, dword [0x101c9378]
mov edx, dword [ebp - 4]
movss dword [edx + 0xc], xmm0
jmp 0x1017bdb8
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], 0xffffffff
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101c8b58]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8bb8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x18]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0x14]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x10]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0xc]
movss dword [esp], xmm0
push 0x2285
mov edx, 0x637c60
call edx
add esp, 0x30
push 1
mov eax, 0x635fd0
call eax
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8948]
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8f30
mov ecx, dword [0x10210f28]
call fcn.100d90e0
push 7
mov ecx, dword [0x10210f28]
call fcn.100d9110
push 0x122
mov ecx, 0x10215e40
call fcn.100f88a0
push eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0xc]
movss dword [esp], xmm0
mov eax, dword [0x10210f28]
push eax
call fcn.100d8e90
add esp, 0x18
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c9394]
movss dword [ebp - 8], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101c8b44]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8ba8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c992c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c9930]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c9360]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c95a0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0xc]
addss xmm0, dword [0x101c8d34]
push ecx
movss dword [esp], xmm0
push 0x2286
mov edx, 0x637c60
call edx
add esp, 0x30
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c8fe0]
movss dword [ebp - 8], xmm0
push 0
mov ecx, dword [0x10210f28]
call fcn.100d9110
push 0x120
mov ecx, 0x10215e40
call fcn.100f88a0
push eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
push ecx
movss xmm0, dword [eax + 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0xc]
movss dword [esp], xmm0
mov edx, dword [0x10210f28]
push edx
call fcn.100d8e90
add esp, 0x18
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c9378]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x101c8948]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x101c8948]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [0x101c8948]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
add ecx, 4
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.10001110
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.10001140
jmp 0x1017c081
lea ecx, [ebp - 0x24]
call fcn.1000af40
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x24]
call fcn.10001350
movzx edx, al
test edx, edx
je 0x1017c3dc
lea ecx, [ebp - 0x24]
call fcn.100012c0
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x28], 1
jne 0x1017c3d7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
cmp dword [eax + 0x10], 0
je 0x1017c2a3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x1017c2a3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x10]
cmp dword [edx + 0x28], 1
jne 0x1017c2a3
push 9
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10009b30
mov dword [ebp - 0x4c], eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x101c5b5c
call fcn.10001fe0
push esi
call fcn.10003af0
add esp, 0xc
mov dword [ebp - 0x94], eax
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [0x101c9378]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101c9360]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
push ecx
movss xmm0, dword [0x101c8b44]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
cvtss2sd xmm0, dword [eax + 0x14]
subsd xmm0, qword [0x101c8f98]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c89dc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8af0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 8]
addsd xmm0, qword [0x101c8f78]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0xc]
addss xmm0, dword [0x101c934c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d9040
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101c8fe0]
movss dword [ebp - 0x18], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x28], xmm0
cvttss2si ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 4]
call fcn.1017ab20
cvtsi2ss xmm0, eax
movss dword [ebp - 8], xmm0
jmp 0x1017c3d7
push 0
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10009b30
mov dword [ebp - 0x44], eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x101c5b64
call fcn.10001fe0
push esi
call fcn.10003af0
add esp, 0xc
mov dword [ebp - 0x5c], eax
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [0x101c9378]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101c9360]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
push 0xc
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [0x101c9378]
cvttss2si ecx, xmm0
push ecx
cvttss2si edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x101c934c]
cvttss2si ecx, xmm0
push ecx
mov ecx, 0x101eb298
call fcn.1014e0b0
movzx edx, al
test edx, edx
je 0x1017c3c5
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1017c3c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x28]
cmp eax, 0xc8
jbe 0x1017c3c5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c9360]
movss dword [ebp - 8], xmm0
jmp 0x1017c079
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101c8b44]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8ba8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c992c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c9930]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c9360]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c95a0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101c8d34]
push ecx
movss dword [esp], xmm0
push 0x2286
mov eax, 0x637c60
call eax
add esp, 0x30
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c8fe0]
movss dword [ebp - 8], xmm0
push 0
mov ecx, dword [0x10210f28]
call fcn.100d9110
push 0x121
mov ecx, 0x10215e40
call fcn.100f88a0
push eax
push ecx
movss xmm0, dword [0x101c8fe0]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
push ecx
movss xmm0, dword [ecx + 0x14]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
push ecx
movss xmm0, dword [edx + 0xc]
movss dword [esp], xmm0
mov eax, dword [0x10210f28]
push eax
call fcn.100d8e90
add esp, 0x18
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c9378]
movss dword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
add edx, 4
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.10001110
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.10001140
jmp 0x1017c52b
lea ecx, [ebp - 0x1c]
call fcn.1000af40
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x1c]
call fcn.10001350
movzx eax, al
test eax, eax
je 0x1017c8a5
lea ecx, [ebp - 0x1c]
call fcn.100012c0
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x20], 5
jne 0x1017c55a
jmp 0x1017c8a5
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
jne 0x1017c8a0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x1017c764
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1017c764
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x10]
cmp dword [eax + 0x28], 0
jne 0x1017c764
push 9
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.10009b30
mov dword [ebp - 0x50], eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xa0], esp
lea ecx, [ebp - 0x50]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x101c5b6c
call fcn.10001fe0
push esi
call fcn.10003af0
add esp, 0xc
mov dword [ebp - 0x60], eax
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [0x101c9378]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x101c9360]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
push ecx
movss xmm0, dword [0x101c8b44]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
cvtss2sd xmm0, dword [ecx + 0x14]
subsd xmm0, qword [0x101c8f98]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c89dc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8af0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
cvtss2sd xmm0, dword [ebp - 8]
addsd xmm0, qword [0x101c8f78]
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0xc]
addss xmm0, dword [0x101c934c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d9040
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x101c8fe0]
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x28], xmm0
cvttss2si edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.1017ab20
cvtsi2ss xmm0, eax
movss dword [ebp - 8], xmm0
jmp 0x1017c897
push 0
mov ecx, dword [0x10210f28]
call fcn.100d9110
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.10009b30
mov dword [ebp - 0x58], eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x68], esp
lea ecx, [ebp - 0x58]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x101c5b74
call fcn.10001fe0
push esi
call fcn.10003af0
add esp, 0xc
mov dword [ebp - 0x78], eax
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [0x101c9378]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x101c9360]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x10210f28]
call fcn.100d8fb0
push 0xc
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [0x101c9378]
cvttss2si edx, xmm0
push edx
cvttss2si eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
movss xmm0, dword [ecx + 0xc]
addss xmm0, dword [0x101c934c]
cvttss2si edx, xmm0
push edx
mov ecx, 0x101eb298
call fcn.1014e0b0
movzx eax, al
test eax, eax
je 0x1017c885
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x1017c885
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
cmp eax, 0xc8
jbe 0x1017c885
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c9360]
movss dword [ebp - 8], xmm0
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x1017c523
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 0x10], 0
je 0x1017c8fa
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [0x101c8948]
jbe 0x1017c8fa
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [0x101c8948]
jbe 0x1017c8fa
cvttss2si eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
cvttss2si edx, dword [ecx + 0x14]
push edx
cvttss2si eax, dword [ebp - 0x14]
push eax
cvttss2si ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1017b020
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x101c934c]
movss dword [ebp - 8], xmm0
mov edx, 0x636070
call edx
push 1
mov eax, 0x635fd0
call eax
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c8d34]
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret