Function at 0x10070610
Capabilities:
Log keystrokes via polling

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 0x1007f9f8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x10096b1c]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x1009d864]
mov dword [ebp - 0x138], ecx
cmp eax, dword [ecx + 4]
jle 0x100706bd
push 0x1009d864
call fcn.1007a1d6
add esp, 4
cmp dword [0x1009d864], 0xffffffff
jne 0x100706bd
mov dword [ebp - 4], 0
call esi
sub eax, dword [0xcc18c84]
mov dword [0x1009d868], eax
mov dword [ebp - 4], 0xffffffff
push 0x1009d864
call fcn.1007a18c
add esp, 4
mov edi, dword [0x10099cbc]
mov dword [ebp - 0x134], edi
call fcn.10023200
cmp byte [0x1009a35a], 0
jne 0x100706e3
mov eax, dword [0x74e358]
mov dword [eax + 0x3c], 0
push str.press__spacebar__to_toggle_free_mode
call fcn.1003d200
mov ecx, dword [0x10099cbc]
add esp, 4
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0x57c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100707a3
cmp byte [0xcc1b704], 0
je 0x100707a3
mov edx, dword [0x1009a42c]
xor ecx, ecx
cmp byte [edx + 0x44], cl
sete cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
test edx, edx
je 0x1007077a
ucomiss xmm0, xmm1
movss dword [edx + 0x48], xmm0
lahf
test ah, 0x44
jnp 0x10070746
mov cl, 1
jmp 0x10070748
xor cl, cl
mov eax, dword [edx + 0x50]
mov byte [edx + 0x44], cl
sub eax, 0
je 0x1007076d
sub eax, 1
je 0x10070767
sub eax, 1
jne 0x1007077a
movss dword [edx + 0xc], xmm0
mov dword [edx + 8], eax
jmp 0x1007077a
cvttss2si eax, xmm0
jmp 0x10070770
movzx eax, cl
mov dword [edx + 0xc], 0
mov dword [edx + 8], eax
mov eax, dword [0x1009a42c]
mov al, byte [eax + 0x44]
test al, al
je 0x100708aa
cmp byte [0x1009a35a], 0
je 0x100708aa
mov byte [0x1009a35a], 0
jmp 0x100708aa
movss xmm0, dword [ecx + 0x4e4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100708aa
cmp byte [0xcc1b704], 0
je 0x100708aa
cmp byte [0x1009a35a], 0
mov eax, dword [0x1009602c]
sete cl
xor dl, dl
mov byte [0x1009a35a], cl
xor cl, 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x11c], eax
call fcn.10076c10
mov dword [ebp - 0x128], 0x56b5d0
mov edi, str.g_gravity
call dword [ebp - 0x128]
mov edx, eax
test edx, edx
je 0x10070832
mov cl, byte [0x1009a35a]
test cl, cl
jne 0x1007083c
movss xmm0, dword [edx + 0xc]
ucomiss xmm0, dword [0x1008e24c]
lahf
test ah, 0x44
jp 0x10070871
mov dword [edx + 0xc], 0x44480000
mov dword [edx + 0x1c], 0x44480000
mov cl, byte [0x1009a35a]
test cl, cl
je 0x10070871
mov eax, dword [ebp - 0x11c]
cmp eax, 3
je 0x1007086b
mov eax, dword [0x74e338]
mov dword [ebp - 0x128], eax
mov eax, str.ufo_n
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov esi, 0x4f8d90
call esi
add esp, 8
jmp 0x1007089e
test cl, cl
jne 0x100708a4
jmp 0x10070877
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x100708a4
mov eax, dword [0x74e338]
mov dword [ebp - 0x128], eax
mov eax, str.ufo_n
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov esi, 0x4f8d90
call esi
add esp, 8
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, dword [ebp - 0x134]
call fcn.1003ff00
mov dword [ebp - 0x120], 0x42a00000
push dword [ebp - 0x120]
mov dword [ebp - 0x124], 0x43a50000
push dword [ebp - 0x124]
call fcn.10067520
movss xmm0, dword [0x1008e46c]
call fcn.10023080
mov eax, dword [ebp - 0x148]
push 0x10
push 0x1008a598
mov dword [ebp - 0x11c], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x6bca1af3
imul ecx
mov ecx, str.Frame
sar edx, 5
mov eax, edx
dec edx
shr eax, 0x1f
add eax, edx
mov edx, 4
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x100960e8]
call fcn.10042840
add esp, 0x18
mov dword [ebp - 0x124], 0
lea edx, [ebp - 0x124]
mov dword [ebp - 0x120], 0
mov ecx, 0x1008d0e0
call fcn.1003dd90
add esp, 4
test al, al
jne 0x10070982
movss xmm0, dword [edi + 0x5ac]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10070995
cmp byte [0xcc1b704], al
je 0x10070995
mov eax, dword [0x100960e4]
mov byte [eax], 0
mov eax, dword [0x100960e8]
mov dword [eax], 0
mov dword [ebp - 0x128], 0x56b5d0
mov edi, str.g_gravity
call dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
test eax, eax
je 0x100709bb
mov dword [eax + 0xc], 0
movss xmm1, dword [0x1008e550]
xorps xmm0, xmm0
call fcn.10022fc0
mov eax, dword [0x100960e4]
mov edx, 0x1008d0e4
mov ecx, 0x100837b4
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
cmp byte [eax], 0
cmovne ecx, edx
lea edx, [ebp - 0x12c]
push ecx
call fcn.1003dd90
add esp, 4
test al, al
jne 0x10070a21
mov eax, dword [ebp - 0x134]
xorps xmm3, xmm3
movss xmm0, dword [eax + 0x5a4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10070a2f
mov ecx, dword [0x100960e4]
cmp byte [ecx], 0
sete al
mov byte [ecx], al
cmp byte [0x1009a348], 0
movss xmm2, dword [0x1008e328]
je 0x10070b3a
mov dword [ebp - 0x128], 0x56b5d0
mov edi, str.com_maxfps
call dword [ebp - 0x128]
mov edi, dword [0x100960e8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x148]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x6bca1af3
sub ecx, edx
mov dword [ebp - 0x128], edx
imul ecx
mov ecx, dword [edi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10070a9a
imul ecx, ecx, 0x4c
add ecx, dword [ebp - 0x128]
jmp 0x10070a9c
xor ecx, ecx
movss xmm0, dword [0x100960e0]
movss xmm1, dword [0x1009a228]
subss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x10070b2e
test ecx, ecx
je 0x10070b2e
cmp dword [ebp - 0x11c], 0
je 0x10070b2e
mov edx, dword [ebp - 0x120]
test edx, edx
je 0x10070b2e
cmp dword [ecx + 0x44], 0xc8
mov eax, 0x8e
mov ecx, dword [ebp - 0x11c]
xorps xmm1, xmm1
mov dword [ebp - 0x120], 0xfa
cmove eax, dword [ebp - 0x120]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x148]
mov dword [edx + 0xc], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x6bca1af3
imul ecx
mov ecx, dword [edi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp ecx, eax
jge 0x10070b26
lea eax, [ecx + 1]
mov dword [edi], eax
jmp 0x10070b2e
mov eax, dword [0x100960e4]
mov byte [eax], 0
addss xmm1, xmm2
movss dword [0x1009a228], xmm1
movss xmm1, dword [0x1008e550]
xorps xmm0, xmm0
call fcn.10022fc0
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
mov ecx, 0x1008a8c0
mov dword [ebp - 0x120], 0
call fcn.1003dd90
mov eax, dword [0x10099cbc]
add esp, 4
mov ecx, dword [eax + 0x1bd0]
test ecx, ecx
je 0x10070bc1
cmp ecx, dword [eax + 0x1c38]
jne 0x10070bc1
mov eax, dword [0x100960e8]
mov eax, dword [eax]
dec eax
test eax, eax
jle 0x10070bc1
call esi
mov ecx, dword [0x1009d868]
sub eax, dword [0xcc18c84]
add ecx, 0xc8
cmp ecx, eax
jae 0x10070bc1
mov eax, dword [0x100960e8]
dec dword [eax]
call esi
sub eax, dword [0xcc18c84]
mov dword [0x1009d868], eax
movss xmm1, dword [0x1008e550]
xorps xmm0, xmm0
call fcn.10022fc0
push ecx
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
mov ecx, 0x1008a560
mov dword [ebp - 0x120], 0
call fcn.1003dd90
mov eax, dword [0x10099cbc]
add esp, 4
mov edi, dword [ebp - 0x148]
mov ecx, dword [eax + 0x1bd0]
test ecx, ecx
je 0x10070c62
cmp ecx, dword [eax + 0x1c38]
jne 0x10070c62
mov ecx, dword [edi + 4]
mov eax, 0x6bca1af3
sub ecx, dword [edi]
imul ecx
mov eax, dword [0x100960e8]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
dec ecx
add ecx, edx
cmp dword [eax], ecx
jge 0x10070c62
call esi
mov ecx, dword [0x1009d868]
sub eax, dword [0xcc18c84]
add ecx, 0xc8
cmp ecx, eax
jae 0x10070c62
mov eax, dword [0x100960e8]
inc dword [eax]
call esi
sub eax, dword [0xcc18c84]
mov dword [0x1009d868], eax
movss xmm1, dword [0x1008e550]
xorps xmm0, xmm0
call fcn.10022fc0
movss xmm0, dword [0x1008e44c]
call fcn.10023080
movss xmm3, dword [0x1008e294]
lea eax, [ebp - 0x120]
push 0x10
push str._.3f
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x3f800000
push eax
push 0x100960e0
mov edx, 8
mov dword [ebp - 0x120], 0x41200000
mov ecx, str.Slow_mo_Scale_t
call fcn.10041f50
add esp, 0x14
cmp byte [0xcc1b704], 0
je 0x10070d2a
mov eax, dword [0x100960e8]
mov ecx, dword [0x1009a2ec]
sub ecx, dword [0x1009a2e8]
mov esi, dword [eax]
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp esi, eax
jge 0x10070d10
push 0x27
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [0x100960e8]
and eax, 1
mov esi, dword [edx]
add esi, eax
mov dword [edx], esi
lea eax, [esi - 1]
test eax, eax
jle 0x10070d2a
push 0x25
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [0x100960e8]
and eax, 1
sub dword [edx], eax
push str.Jump_Data
call fcn.1003d200
add esp, 4
mov dword [ebp - 0x120], 0x43870000
mov dword [ebp - 0x124], 0x43a50000
push dword [ebp - 0x120]
push dword [ebp - 0x124]
call fcn.10067520
push 0x1008b9f4
call fcn.1003d200
movss xmm1, dword [0x1008e550]
add esp, 0xc
xorps xmm0, xmm0
call fcn.10022fc0
call fcn.10023200
mov eax, dword [0x100960e8]
mov ecx, dword [edi + 4]
mov esi, dword [eax]
mov eax, dword [edi]
sub ecx, eax
mov dword [ebp - 0x11c], eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x11c]
cmp ecx, esi
jbe 0x10070db4
imul edi, esi, 0x4c
add edi, edx
jmp 0x10070db6
xor edi, edi
mov eax, ecx
mov dword [ebp - 0x120], 0xc8
sub eax, esi
dec eax
cmp eax, 0xc8
cmovge eax, dword [ebp - 0x120]
add eax, esi
cmp ecx, eax
jbe 0x10070de4
imul eax, eax, 0x4c
add eax, edx
mov dword [ebp - 0x134], eax
jmp 0x10070dee
mov dword [ebp - 0x134], 0
mov ecx, dword [0x1009a304]
mov eax, 0x6bca1af3
sub ecx, dword [0x1009a300]
imul ecx
mov ecx, dword [0x1009a314]
sar edx, 5
mov eax, edx
mov byte [ebp - 0x11c], 0
shr eax, 0x1f
add eax, edx
mov eax, dword [ebp - 0x11c]
cmovne ecx, dword [0x1009a32c]
cmp dword [0x1009a318], 0
mov ecx, dword [ecx]
jbe 0x10070e42
cmp dword [ecx + 0x10], 0xc8
mov edx, 1
movzx eax, al
cmovl eax, edx
mov ecx, dword [ebp - 0x134]
cmp byte [ecx + 0x40], 0
jne 0x10070e52
test al, al
je 0x10070e63
lea eax, [esi + 0x190]
mov dword [0x1009d86c], esi
mov dword [0x1009d870], eax
test edi, edi
je 0x10071bf2
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10005350
cmp dword [0x797520], 0x3fe
mov ecx, edi
cvttss2si esi, xmm0
sete dl
call fcn.100065d0
push dword [edi + 0x44]
movss dword [ebp - 0x120], xmm0
push str.fps:__i
call fcn.1003d200
movss xmm1, dword [edi + 0x14]
cvtps2pd xmm1, xmm1
movsd qword [esp], xmm1
push esi
push str.velocity:__i__Z:__.3f_
call fcn.1003d200
movss xmm0, dword [edi + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [edi + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
sub esp, 8
movss xmm0, dword [edi]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.origin:__.3f___.3f___.3f
call fcn.1003d200
movss xmm0, dword [edi + 0x1c]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [edi + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.angles:__.3f___.3f
call fcn.1003d200
movzx eax, byte [edi + 0x40]
add esp, 0x14
push eax
push str.rpg_fired:__i
call fcn.1003d200
movzx eax, byte [edi + 0x41]
push eax
push str.bounced:__i
call fcn.1003d200
movzx eax, byte [edi + 0x25]
lea ecx, [ebp - 0x160]
mov dl, byte [edi + 0x24]
push eax
call fcn.10065080
add esp, 0x14
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x10070f6d
mov eax, dword [eax]
push eax
push str.keys:__s
call fcn.1003d200
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100051d0
cmp byte [edi + 0x25], 0
movss xmm0, dword [0x1008e4b8]
je 0x10070fe1
movss xmm1, dword [edi + 0x1c]
xor eax, eax
subss xmm1, dword [ebp - 0x120]
andps xmm1, xmmword [0x1008ea20]
comiss xmm1, dword [0x1008e464]
seta al
cmp eax, 1
jne 0x10070fc7
subss xmm0, xmm1
movaps xmm1, xmm0
cvtps2pd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
push str.strafe_accuracy:__.3f
call fcn.1003d200
add esp, 0xc
jmp 0x10070fee
push str.strafe_accuracy:_N_A
call fcn.1003d200
add esp, 4
movzx eax, byte [edi + 0x48]
push eax
push str.colliding:__i
call fcn.1003d200
movzx eax, byte [edi + 0x49]
push eax
push str.jumped:__i
call fcn.1003d200
add esp, 0x10
call fcn.10023330
cmp byte [0x1009a35a], 0
jne 0x10071029
mov eax, dword [0x1009a42c]
mov al, byte [eax + 0x44]
test al, al
jne 0x10071046
push 0x43
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x10071131
cmp byte [0xcc1b704], 0
je 0x10071131
mov esi, dword [0x1009602c]
movss xmm1, dword [0x1008e4b8]
movss xmm0, dword [esi + 0x2568c]
call fcn.10006780
movaps xmm1, xmm0
addss xmm1, xmm0
subss xmm1, dword [edi + 0x18]
subss xmm0, xmm1
movss xmm1, dword [0x1008e4b8]
addss xmm0, dword [esi + 0x256a8]
movss dword [esi + 0x256a8], xmm0
movss xmm0, dword [esi + 0x25690]
call fcn.10006780
movaps xmm1, xmm0
addss xmm1, xmm0
subss xmm1, dword [edi + 0x1c]
subss xmm0, xmm1
movss xmm1, dword [0x1008e4b8]
addss xmm0, dword [esi + 0x256ac]
movss dword [esi + 0x256ac], xmm0
movss xmm0, dword [esi + 0x25694]
call fcn.10006780
mov ecx, dword [0x10096028]
movaps xmm1, xmm0
addss xmm1, xmm0
subss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
addss xmm0, dword [esi + 0x256b0]
movss dword [esi + 0x256b0], xmm0
mov eax, dword [edi]
movss xmm0, dword [0x1008e454]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 4]
mov dword [ecx + 0x20], eax
movss xmm1, dword [edi + 8]
movss dword [ecx + 0x24], xmm1
subss xmm0, dword [edi + 0x3c]
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
subss xmm1, xmm0
movss dword [ecx + 0x24], xmm1
mov eax, dword [0x1009d86c]
mov edi, dword [0x1009d870]
mov esi, dword [0x100960e8]
mov dword [ebp - 0x128], eax
mov eax, 0x416610
push str.rpg_mp
call eax
add esp, 4
mov dword [ebp - 0x11c], eax
mov eax, 0x416610
push str.rpg_sustain_mp
call eax
mov ecx, dword [esi]
mov edx, eax
mov eax, dword [0x1009602c]
add esp, 4
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x134], edx
cmp ecx, dword [ebp - 0x128]
jle 0x10071335
cmp ecx, edi
jge 0x1007132f
mov edx, dword [eax + 0x10c]
cmp edx, esi
je 0x10071329
cmp edx, dword [ebp - 0x134]
je 0x10071329
cmp byte [0x1009d880], 0
jne 0x10071329
mov esi, dword [0xd5ec418]
xor edi, edi
inc esi
mov dword [ebp - 0x120], esi
lea ecx, [edi + 1]
cmp esi, ecx
jle 0x10071209
mov edx, 2
nop word [eax + eax]
mov esi, dword [0x1009602c]
mov eax, ecx
shr eax, 5
test dword [esi + eax*4 + 0x580], edx
mov esi, dword [ebp - 0x120]
je 0x10071202
mov dword [ebp + edi*4 - 0x118], ecx
inc edi
inc ecx
rol edx, 1
cmp ecx, esi
jl 0x100711e0
xor eax, eax
mov dword [ebp - 0x134], eax
test edi, edi
je 0x10071372
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x118]
mov edx, str.rpg_mp
mov eax, dword [0x1009603c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x11c], eax
nop
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x12d], al
mov eax, dword [ebp - 0x11c]
jne 0x10071282
cmp byte [ebp - 0x12d], 0
je 0x1007127e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x12d], al
mov eax, dword [ebp - 0x11c]
jne 0x10071282
add ecx, 2
add edx, 2
cmp byte [ebp - 0x12d], 0
jne 0x10071240
xor ecx, ecx
jmp 0x10071287
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x100712b6
mov byte [0x1009d880], 1
mov eax, dword [0x74e338]
mov dword [ebp - 0x120], eax
mov eax, str.actionslot_4_n
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov esi, 0x4f8d90
call esi
add esp, 8
jmp 0x10071312
mov ecx, str.rpg_sustain_mp
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100712e0
test dl, dl
je 0x100712dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100712e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100712c0
xor eax, eax
jmp 0x100712e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10071312
mov byte [0x1009d880], 1
mov eax, dword [0x74e338]
mov dword [ebp - 0x120], eax
mov eax, str.actionslot_4_n
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov esi, 0x4f8d90
call esi
add esp, 8
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp eax, edi
jb 0x10071220
jmp 0x10071372
mov edx, dword [ebp - 0x134]
cmp ecx, dword [ebp - 0x128]
jl 0x1007133b
cmp ecx, edi
jle 0x10071372
mov eax, dword [eax + 0x10c]
cmp eax, esi
je 0x10071349
cmp eax, edx
jne 0x10071372
mov byte [0x1009d880], 0
mov eax, dword [0x74e338]
mov dword [ebp - 0x120], eax
mov eax, str.weapnext_n
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov esi, 0x4f8d90
call esi
add esp, 8
mov ecx, dword [ebp - 0x138]
mov eax, dword [0x1009d874]
cmp eax, dword [ecx + 4]
jle 0x100713eb
push 0x1009d874
call fcn.1007a1d6
add esp, 4
cmp dword [0x1009d874], 0xffffffff
jne 0x100713eb
mov dword [ebp - 4], 2
mov eax, dword [0x10099cbc]
movss xmm1, dword [eax + 0x1c4c]
movss xmm0, dword [eax + 0x1c50]
subss xmm1, dword [eax + 0x1c44]
subss xmm0, dword [eax + 0x1c48]
movss dword [0x1009d878], xmm1
movss dword [0x1009d87c], xmm0
mov dword [ebp - 4], 0xffffffff
push 0x1009d874
call fcn.1007a18c
add esp, 4
call fcn.1003ff00
push str.Events
call fcn.1003d200
movss xmm0, dword [0x1009d87c]
add esp, 4
addss xmm0, dword [0x1008e42c]
mov dword [ebp - 0x13c], 0x43a50000
movss dword [ebp - 0x138], xmm0
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
call fcn.10067520
push 0x1008b9f4
call fcn.1003d200
movss xmm1, dword [0x1008e550]
add esp, 0xc
xorps xmm0, xmm0
call fcn.10022fc0
call fcn.10023200
call fcn.10071c20
push ecx
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
mov ecx, str.highest_point
mov dword [ebp - 0x138], 0
call fcn.1003dd90
add esp, 4
test al, al
je 0x100715b8
mov eax, dword [ebp - 0x148]
xor esi, esi
movss xmm0, dword [0x1008e594]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x6bca1af3
sub ecx, edx
mov dword [ebp - 0x11c], edx
imul ecx
xor ecx, ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [ebp - 0x128], edi
cmp edi, 4
jb 0x10071571
lea eax, [edi - 3]
mov dword [ebp - 0x120], eax
lea edx, [esi + 2]
mov eax, dword [ebp - 0x11c]
add eax, 0x54
nop dword [eax + eax]
movss xmm1, dword [eax - 0x4c]
movaps xmm2, xmm0
comiss xmm1, xmm0
jbe 0x100714f0
movaps xmm0, xmm1
comiss xmm1, xmm2
mov edi, ecx
movss xmm1, dword [eax]
movaps xmm4, xmm0
cmovbe edi, esi
comiss xmm1, xmm0
mov dword [ebp - 0x138], edi
jbe 0x1007150d
movaps xmm0, xmm1
comiss xmm1, xmm4
lea edi, [edx - 1]
movss xmm1, dword [eax + 0x4c]
movaps xmm3, xmm0
cmovbe edi, dword [ebp - 0x138]
comiss xmm1, xmm0
jbe 0x1007152a
movaps xmm0, xmm1
comiss xmm1, xmm3
mov esi, edx
movss xmm1, dword [eax + 0x98]
movaps xmm2, xmm0
cmovbe esi, edi
comiss xmm1, xmm0
jbe 0x10071545
movaps xmm0, xmm1
comiss xmm1, xmm2
lea edi, [edx + 1]
cmovbe edi, esi
add ecx, 4
add edx, 4
add eax, 0x130
mov esi, edi
cmp ecx, dword [ebp - 0x120]
jb 0x100714e0
cmp ecx, dword [ebp - 0x128]
jb 0x10071577
jmp 0x100715b1
test edi, edi
je 0x100715b1
jmp 0x1007157d
mov edi, dword [ebp - 0x128]
mov edx, dword [ebp - 0x11c]
imul eax, ecx, 0x4c
add edx, 8
add eax, edx
nop dword [eax + eax]
movss xmm1, dword [eax]
mov edx, esi
comiss xmm1, xmm0
movaps xmm2, xmm0
jbe 0x100715a1
movaps xmm0, xmm1
comiss xmm1, xmm2
mov esi, ecx
cmovbe esi, edx
inc ecx
add eax, 0x4c
cmp ecx, edi
jb 0x10071590
mov eax, dword [0x100960e8]
mov dword [eax], esi
call fcn.10023330
mov eax, dword [0x10099cbc]
movss xmm1, dword [eax + 0x1c4c]
movss xmm0, dword [eax + 0x1c50]
subss xmm1, dword [eax + 0x1c44]
subss xmm0, dword [eax + 0x1c48]
movss dword [0x1009d878], xmm1
movss dword [0x1009d87c], xmm0
call fcn.1003ff00
push str.Segmenting
call fcn.1003d200
add esp, 4
mov dword [ebp - 0x138], 0x42c80000
mov dword [ebp - 0x13c], 0x43a50000
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
call fcn.10067520
push 0x1008b9f4
call fcn.1003d200
movss xmm1, dword [0x1008e550]
add esp, 0xc
xorps xmm0, xmm0
call fcn.10022fc0
call fcn.10023200
push ecx
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
mov ecx, str.Mark_segment
mov dword [ebp - 0x138], 0
call fcn.1003dd90
add esp, 4
test al, al
je 0x10071692
push str.2Segment_has_been_marked__n
push 5
call fcn.10007ca0
mov eax, dword [0x100960e8]
add esp, 8
mov eax, dword [eax]
mov dword [0x1009a344], eax
mov ecx, dword [0x1009a304]
mov eax, 0x6bca1af3
sub ecx, dword [0x1009a300]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10071704
mov esi, dword [0x10099cbc]
mov ecx, dword [esi + 0x1c20]
lea edx, [esi + 0x1c20]
mov eax, ecx
shr eax, 2
test al, 1
jne 0x100716ec
movss xmm0, dword [esi + 0x1518]
movss dword [esi + 0x2ee8], xmm0
mulss xmm0, dword [esi + 0x151c]
movss dword [esi + 0x1518], xmm0
or ecx, 4
mov dword [edx], ecx
lea ecx, [esi + 0x1d04]
push edx
call fcn.100298b0
inc word [esi + 0x2eec]
push ecx
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
mov ecx, str.Merge
mov dword [ebp - 0x138], 0
call fcn.1003dd90
add esp, 4
test al, al
je 0x1007173e
cmp byte [0x1009a224], 0
sete byte [0x1009a224]
movss xmm1, dword [0x1008e550]
xorps xmm0, xmm0
call fcn.10022fc0
mov ecx, str.Merges_the_original_run_and_the_segment_nWarning:_This_action_cannot_be_undone
call fcn.10064ea0
cmp byte [0x1009a224], 0
je 0x100719dc
push 0x40
mov edx, 0x1009a224
mov ecx, str.Confirmation01
call fcn.1001fc70
add esp, 4
push str.Are_you_sure__If_yes__then_make_sure_you_SAVE_the_clip_after_merging_so_that_you_dont_lose_it_
call fcn.1003d200
add esp, 4
call fcn.1003ff00
mov eax, dword [0x10099cbc]
mov ecx, dword [eax + 0x1b98]
cmp byte [ecx + 0x8f], 0
jne 0x100717b1
mov ecx, dword [ecx + 0x170]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.1003ffa0
movss xmm1, dword [0x1008e2d0]
mov ecx, str.yes01
call fcn.10066db0
test al, al
je 0x100719b0
push str.3Save_the_merged_clip__n
push 5
call fcn.10007ca0
imul ecx, dword [0x1009a344], 0x4c
add esp, 8
mov eax, dword [0x1009a2ec]
add ecx, dword [0x1009a2e8]
cmp ecx, eax
je 0x100717f7
mov eax, ecx
mov dword [0x1009a2ec], eax
push dword [ebp - 0x138]
mov ecx, 0x1009a2e8
push dword [0x1009a304]
push dword [0x1009a300]
push eax
call fcn.1005a9d0
mov esi, dword [0x1009a32c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x10071892
mov eax, dword [esi + 0x10]
mov ecx, 0x1009a314
add eax, dword [0x1009a344]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10004950
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10071874
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10071870
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10071870
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10071860
mov esi, eax
jmp 0x1007188c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1007188c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10071880
cmp byte [esi + 0xd], 0
je 0x10071822
mov esi, dword [0x1009a334]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x10071912
mov eax, dword [esi + 0x10]
mov ecx, 0x1009a31c
add eax, dword [0x1009a344]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10004950
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100718f4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100718f0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x100718f0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100718e0
mov esi, eax
jmp 0x1007190c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1007190c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10071900
cmp byte [esi + 0xd], 0
je 0x100718a0
mov esi, dword [0x1009a324]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x10071992
mov eax, dword [esi + 0x10]
mov ecx, 0x1009a30c
add eax, dword [0x1009a344]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10004950
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10071974
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10071970
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10071970
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10071960
mov esi, eax
jmp 0x1007198c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1007198c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10071980
cmp byte [esi + 0xd], 0
je 0x10071920
mov eax, dword [0x1009a300]
xorps xmm0, xmm0
mov byte [0x1009a35e], 0
movq qword [0x1009a350], xmm0
mov dword [0x1009a304], eax
jmp 0x100719d0
movss xmm1, dword [0x1008e2d0]
mov ecx, str.no01
call fcn.10066db0
test al, al
je 0x100719d7
nop word [eax + eax]
mov byte [0x1009a224], 0
call fcn.100222d0
mov ecx, dword [0x1009a304]
mov eax, 0x6bca1af3
sub ecx, dword [0x1009a300]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10071a42
mov esi, dword [0x10099cbc]
mov edx, dword [esi + 0x1c20]
dec dword [esi + 0x1d04]
dec word [esi + 0x2eec]
mov ecx, dword [esi + 0x1d04]
mov eax, dword [esi + 0x1d0c]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x1c20], eax
test dl, 1
je 0x10071a42
test al, 4
jne 0x10071a42
mov eax, dword [esi + 0x2ee8]
mov dword [esi + 0x1518], eax
call fcn.10023330
call fcn.10023330
call fcn.10072320
mov eax, dword [0x1009a2d8]
cmp byte [eax + 0x44], 0
je 0x10071bff
push 0x1008d304
call fcn.1003d200
movaps xmm0, xmmword [0x1008e9f0]
lea eax, [ebp - 0x144]
add esp, 4
movups xmmword [ebp - 0x144], xmm0
push str.Warning:_fixed_fps_can_cause_playback_issues_
push eax
call fcn.1003d280
mov esi, dword [0x10099cbc]
lea eax, [ebp - 0x13c]
movss xmm3, dword [0x1008e52c]
add esp, 8
movss xmm2, dword [esi + 0x1934]
push 0
push 0
push str.Disable001
push ecx
mov ecx, dword [esi + 0x1930]
mov dword [esp], 0xbf800000
push eax
call fcn.10038b70
movss xmm0, dword [ebp - 0x13c]
addss xmm0, dword [0x1008e320]
movss xmm1, dword [esi + 0x1554]
addss xmm1, xmm1
cvttss2si eax, xmm0
movd xmm3, eax
mov eax, dword [0x10099cbc]
cvtdq2ps xmm3, xmm3
mov edx, dword [eax + 0x1b98]
mov ecx, edx
addss xmm3, xmm1
cmp dword [ecx + 0x168], 0
movss xmm0, dword [ecx + 0x204]
jne 0x10071b1a
cmp dword [eax + 0x1f1c], 0
je 0x10071b22
movss xmm0, dword [ecx + 0x1d4]
movss xmm2, dword [edx + 0xd0]
subss xmm0, xmm2
subss xmm0, xmm3
mulss xmm0, dword [0x1008e2d0]
comiss xmm0, dword [0x1008e24c]
jbe 0x10071b88
subss xmm2, dword [edx + 0xc]
addss xmm2, dword [edx + 0x58]
mov byte [ecx + 0x8c], 1
mov eax, dword [eax + 0x1b98]
addss xmm2, xmm0
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
movss xmm0, dword [eax + 0xe8]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xe8], xmm0
push ecx
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
mov ecx, str.Disable001
mov dword [ebp - 0x138], 0
call fcn.1003dd90
add esp, 4
test al, al
je 0x10071bff
mov eax, dword [0x1009a2d8]
test eax, eax
je 0x10071bff
mov ecx, dword [eax + 0x50]
mov dword [eax + 0x48], 0
mov byte [eax + 0x44], 0
sub ecx, 0
je 0x10071be2
sub ecx, 1
je 0x10071be2
sub ecx, 1
jne 0x10071bff
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
jmp 0x10071bff
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
jmp 0x10071bff
push str.ERROR:_invalid_frame_data_n
call fcn.1003d200
add esp, 4
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.1007a095
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret