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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [0x101fc794], 0xffffffff
push esi
push edi
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
je 0x100a0d0c
call fcn.100793c0
cmp al, 1
je 0x100a0d02
cmp byte [0x101e7d15], 1
je 0x100a0d02
cmp dword [0x10241fe0], 0
je 0x100a0d0c
cmp dword [0x1030eab8], 0
je 0x100a0d0c
call fcn.100785a0
test al, al
jne 0x100a0d0c
push 0x48
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100a0d0c
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x100a0d0c
push 0x39
call esi
mov ecx, eax
call edi
test al, al
jne 0x100a0d0c
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x100a0d0c
push 0x22
call esi
mov ecx, eax
call edi
test al, al
jne 0x100a0d0c
mov eax, dword [0x10241fe0]
cmp eax, 1
je 0x1009f98f
cmp eax, 2
jne 0x100a0d0c
mov eax, dword [0x7bc4f04]
mov dword [ebp - 0x12c], eax
mov esi, dword [0x101fc7d0]
movss xmm0, dword [eax + 0x418]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x1018cd50]
cvttsd2si eax, xmm0
cdq
xor eax, edx
sub eax, edx
imul eax, eax, 0x2d
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x1018ce90]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x124], xmm0
call fcn.1009f270
cmp esi, 1
jne 0x1009f9ff
movss xmm2, dword [0x1018c728]
movsd xmm0, qword [0x1018c9a0]
movss dword [ebp - 0x118], xmm2
jmp 0x1009fa36
cmp esi, 2
jne 0x1009fa1e
movss xmm2, dword [0x1018c768]
movsd xmm0, qword [0x1018ca40]
movss dword [ebp - 0x118], xmm2
jmp 0x1009fa36
movss xmm0, dword [0x1018c840]
movss dword [ebp - 0x118], xmm0
movsd xmm0, qword [0x1018cae0]
mov eax, dword [0x101fc7a4]
mov esi, 0x8000
cvtpd2ps xmm0, xmm0
mov ecx, dword [0x879340c]
mov edx, dword [0x8793410]
movd xmm2, ecx
movss dword [ebp - 0x128], xmm0
movd xmm0, eax
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
cvtdq2ps xmm2, xmm2
addsd xmm0, qword [eax*8 + 0x1018da40]
mov eax, dword [0x101fc7a0]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
movss dword [ebp - 0x114], xmm1
addsd xmm0, qword [eax*8 + 0x1018da40]
xor eax, eax
cmp ecx, dword [0xe61e58]
cmovl eax, ecx
cvtpd2ps xmm0, xmm0
movd xmm3, eax
xor eax, eax
cmp edx, dword [0xe61e5c]
cvtdq2ps xmm3, xmm3
cmovl eax, edx
movss dword [ebp - 0x10c], xmm0
comiss xmm0, xmm2
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss dword [ebp - 0x110], xmm3
movss dword [ebp - 0x11c], xmm4
ja 0x1009fb4d
addss xmm0, dword [0x1018d2e0]
comiss xmm2, xmm0
ja 0x1009fb4d
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
ja 0x1009fb4d
movaps xmm0, xmm1
addss xmm0, dword [0x1018d2f4]
comiss xmm2, xmm0
ja 0x1009fb4d
mov bl, byte [0x101fc784]
test bl, bl
jne 0x1009fb5b
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm3, dword [ebp - 0x110]
movss xmm4, dword [ebp - 0x11c]
test si, ax
je 0x1009fb4d
cvttss2si ecx, xmm3
mov bl, 1
mov byte [0x101fc784], bl
cvttss2si edx, xmm4
mov word [0x101fc786], cx
mov word [0x101fc788], dx
jmp 0x1009fb69
mov bl, byte [0x101fc784]
test bl, bl
je 0x1009fc40
mov dx, word [0x101fc788]
mov cx, word [0x101fc786]
cmp dword [0xe61e58], 0x550
mov eax, 0x2c6
movss xmm2, dword [0x1018d180]
mov esi, 0x1f4
cmovl eax, esi
movd xmm1, eax
movsx eax, cx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, dx
subss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, dword [ebp - 0x10c]
maxss xmm0, xmm3
minss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10c], xmm1
subss xmm4, xmm0
movss xmm0, dword [0x1018d508]
addss xmm4, dword [ebp - 0x114]
maxss xmm2, xmm4
minss xmm0, xmm2
movss dword [ebp - 0x114], xmm0
movaps xmm0, xmm1
call fcn.1016b490
movss xmm0, dword [ebp - 0x114]
mov esi, eax
mov dword [0x101fc78c], esi
call fcn.1016b490
mov edi, eax
mov dword [0x101fc790], edi
test bl, bl
je 0x1009fc40
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1009fc40
mov byte [0x101fc784], 0
mov dword [0x101fc7a0], esi
mov dword [0x101fc7a4], edi
mov dword [0x101fc78c], esi
mov dword [0x101fc790], edi
movss xmm1, dword [ebp - 0x114]
mov ebx, 0x637c60
addss xmm1, dword [0x1018d120]
movss xmm2, dword [ebp - 0x10c]
subss xmm2, dword [0x1018c840]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 0x110], xmm2
mov dword [esp + 0x1c], 0x3e93f7cc
mov dword [esp + 0x18], 0x3f13f7ce
mov dword [esp + 0x14], 0x3d800000
mov dword [esp + 0x10], 0x3ebd70a2
mov dword [esp + 0xc], 0x42fa0000
mov dword [esp + 8], 0x42fa0000
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push 0x7ae8
call ebx
movss xmm0, dword [ebp - 0x118]
add esp, 0x2c
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ebp - 0x128]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x101fc7cc]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x101fc7c8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1018d178]
mov dword [esp + 0xc], 0x42c80000
mov dword [esp + 8], 0x42be0000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x10c]
addss xmm0, dword [0x1018d160]
movss dword [esp], xmm0
push 0x7ae6
call ebx
mov esi, dword [0xe8c58c]
add esp, 0x30
mov ebx, 0x41fe10
call ebx
push esi
mov edx, 0x420120
mov ecx, eax
call edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [0xe61e18]
mov esi, dword [eax + 0xb0]
mov edi, dword [eax + 0xac]
lea eax, [ecx - 0x52]
cmp eax, 0x44
ja 0x1009fda0
lea eax, [ecx + 0xe90]
mov ecx, 0x8128adc
push eax
mov eax, 0x402320
call eax
jmp 0x1009fdab
push ecx
mov eax, 0x5d2c10
call eax
add esp, 4
push esi
push edi
push eax
lea eax, [ebp - 0x108]
push str._s____d____d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0
push 0
push 0
call ebx
mov edx, 0x4200b0
mov ecx, eax
call edx
push 0xff
push 0xf0
push 0xf0
push 0xf0
call ebx
mov edx, 0x420040
mov ecx, eax
call edx
mov eax, dword [0x101fc7b0]
mov ebx, 0x635fd0
sub eax, dword [0x101fc7c0]
add eax, dword [0x101fc78c]
mov dword [0x101fc7b8], eax
mov eax, dword [0x101fc7b4]
sub eax, dword [0x101fc7c4]
add eax, dword [0x101fc790]
push 1
mov dword [0x101fc7bc], eax
call ebx
mov eax, dword [0x101fc7bc]
movss xmm0, dword [ebp - 0x124]
mov dword [esp], 0x3f0c0000
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f0c0000
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
movss dword [esp + 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x41200000
addsd xmm0, qword [eax*8 + 0x1018da40]
mov eax, dword [0x101fc7b8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1018da40]
mov eax, 0x637e80
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ec2
call eax
lea edi, [ebx - 0x80]
call edi
add esp, 0x1c
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 0
call ebx
add esp, 4
push 1
call ebx
movss xmm0, dword [0x101fc7d8]
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
movss dword [esp], xmm0
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
call fcn.1009f450
call edi
push 0
call ebx
mov dword [esp], 0x3f800000
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
mov eax, dword [0x10241fe0]
mov ebx, 0x637c60
cmp eax, 1
jne 0x1009ffbd
movss xmm0, dword [ebp - 0x11c]
xorps xmm1, xmm1
push ecx
mov dword [esp], 0
push eax
push eax
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f1c6a7d
mov dword [esp + 0x18], 0x3e9f011e
mov dword [esp + 0x14], 0x3cf5c28e
mov dword [esp + 0x10], 0x3c54fdf1
mov dword [esp + 0xc], 0x42f00000
mov dword [esp + 8], 0x42f00000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x10c]
addss xmm0, xmm1
movss dword [esp], xmm0
push 0x7ae9
jmp 0x100a0021
cmp eax, 2
jne 0x100a0026
movss xmm0, dword [ebp - 0x11c]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3e93f7cc
mov dword [esp + 0x18], 0x3f13f7ce
mov dword [esp + 0x14], 0x3d800000
mov dword [esp + 0x10], 0x3ebd70a2
mov dword [esp + 0xc], 0x42f80000
mov dword [esp + 8], 0x42f80000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x110]
movss dword [esp], xmm0
push 0x7ae7
call ebx
add esp, 0x30
movss xmm0, dword [ebp - 0x10c]
addss xmm0, dword [0x1018d228]
push ecx
mov dword [esp], 0
push 1
push 1
cvttss2si edi, xmm0
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1018d338]
mov dword [esp + 0x14], 0x3eff7cee
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
cvttss2si esi, xmm0
lea eax, [esi - 3]
movd xmm0, eax
lea eax, [edi - 5]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call ebx
push 0x12
push 0x12
push esi
push edi
mov eax, 0x790b10
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x40
movd xmm0, esi
test al, al
mov dword [ebp - 0x118], ebx
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0
push 1
push 1
je 0x100a01ae
sub esp, 0x20
cmp byte [0x8793386], 0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3edcfab0
je 0x100a01a4
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0x3c
call ebx
mov ecx, dword [0x101fc7d4]
add ecx, 0xc8
cmp eax, ecx
jb 0x100a01fd
mov eax, dword [0x101fc7d0]
cmp eax, 3
jne 0x100a018b
mov dword [0x101fc7d0], 2
call ebx
mov dword [0x101fc7d4], eax
jmp 0x100a01fd
cmp eax, 2
mov ecx, 1
cmove eax, ecx
mov dword [0x101fc7d0], eax
call ebx
mov dword [0x101fc7d4], eax
jmp 0x100a01fd
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100a01d1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3edcfab0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
movss xmm0, dword [ebp - 0x10c]
addss xmm0, dword [0x1018d2d4]
push ecx
mov dword [esp], 0
push 1
push 1
cvttss2si eax, xmm0
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1018d2f4]
mov dword [ebp - 0x110], eax
mov dword [esp + 0x14], 0x3eff7cee
lea esi, [eax - 5]
mov dword [esp + 0x10], 0x3f560419
movd xmm1, esi
cvttss2si edi, xmm0
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
cvtdq2ps xmm1, xmm1
lea eax, [edi - 3]
movd xmm0, eax
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call eax
mov eax, dword [ebp - 0x110]
push 0x12
push 0x12
push edi
push eax
mov eax, 0x790b10
call eax
add esp, 0x40
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
test al, al
mov eax, 0x637c60
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3ebced91
je 0x100a0406
cmp byte [0x8793386], 0
je 0x100a03c7
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x110]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0x3c
call ebx
mov ecx, dword [0x101fc7d4]
add ecx, 0xc8
cmp eax, ecx
jb 0x100a0377
mov eax, dword [0x101fc7d0]
cmp eax, 1
jne 0x100a0360
mov dword [0x101fc7d0], 2
jmp 0x100a0370
cmp eax, 2
mov ecx, 3
cmove eax, ecx
mov dword [0x101fc7d0], eax
call ebx
mov dword [0x101fc7d4], eax
mov ebx, dword [ebp - 0x110]
push 0x12
push 0x12
push edi
push ebx
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x100a049e
cmp byte [0x8793386], 0
je 0x100a044e
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov eax, dword [0xe8cb7c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x100a0410
movsd xmm0, qword [0x1018c9e8]
jmp 0x100a0418
mov dword [esp + 0x10], 0x3dfdf3b2
mov ebx, dword [ebp - 0x110]
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
jmp 0x100a037d
mov dword [esp + 0x10], 0
jmp 0x100a03cf
movsd xmm0, qword [0x1018ca58]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0x3e7ffffd
jmp 0x100a04ec
mov eax, dword [0xe8cb7c]
cmp byte [eax + 8], 0
jne 0x100a0463
movsd xmm0, qword [0x1018c9e8]
jmp 0x100a046b
movsd xmm0, qword [0x1018ca58]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100a04ec
mov eax, dword [0xe8cb7c]
cmp byte [eax + 8], 0
jne 0x100a04b3
movsd xmm0, qword [0x1018c9e8]
jmp 0x100a04bb
movsd xmm0, qword [0x1018ca58]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0
movd xmm0, edi
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
movss xmm0, dword [ebp - 0x10c]
add esp, 0x30
addss xmm0, dword [0x1018d168]
push ecx
mov dword [esp], 0
cvttss2si eax, xmm0
push 1
push 1
sub esp, 0x20
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1018d2fc]
mov dword [ebp - 0x10c], eax
mov dword [esp + 0x1c], 0x3d978d45
lea edi, [eax - 5]
mov dword [esp + 0x18], 0x3e1ba5de
movd xmm1, edi
cvttss2si ebx, xmm0
mov dword [esp + 0x14], 0x3eff7cee
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
cvtdq2ps xmm1, xmm1
lea eax, [ebx - 3]
movd xmm0, eax
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call eax
mov eax, dword [ebp - 0x10c]
push 0x12
push 0x12
push ebx
push eax
mov eax, 0x790b10
call eax
add esp, 0x40
test al, al
je 0x100a0723
cmp byte [0x8793386], 0
je 0x100a06f2
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov dword [esp + 8], 0
add esp, 8
movd xmm0, ebx
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f2e9796
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x10c]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
mov ebx, dword [ebp - 0x118]
add esp, 0x30
cmp dword [0x10242038], 2
jne 0x100a06a3
call ebx
mov ecx, dword [0x101ecb88]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a078e
mov ecx, dword [0x10573398]
cmp byte [ecx + 0x29], 1
setne al
mov byte [ecx + 0x29], al
call ebx
mov dword [0x101ecb88], eax
jmp 0x100a078e
call ebx
mov ecx, dword [0x101ecb88]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a078e
cmp byte [0x101e5355], 0
je 0x100a06d5
mov byte [0x101e5355], 0
call ebx
mov dword [0x101ecb88], eax
jmp 0x100a078e
mov byte [0x101e5355], 1
mov dword [0x101d5a80], 5
call ebx
mov dword [0x101ecb88], eax
jmp 0x100a078e
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f2e9796
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100a0752
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f2e9796
mov dword [esp + 0x10], 0
movd xmm0, ebx
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x10c]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
mov ecx, 0x10241d5b
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a0796
sub ecx, edx
je 0x100a07ed
push ecx
push 0x10241d5b
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], al
call fcn.1000db00
sub esp, 8
mov dword [ebp - 0x120], 1
lea ecx, [ebp - 0x144]
call fcn.10035cd0
cmp eax, 0xffffffff
je 0x100a07ed
xor bl, bl
jmp 0x100a07ef
mov bl, 1
test byte [ebp - 0x120], 1
je 0x100a0832
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x100a0832
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a0828
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a0d1d
push edx
push ecx
call fcn.100e3844
add esp, 8
test bl, bl
je 0x100a0d0c
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1018d150]
push ecx
mov dword [esp], 0
push 1
push 1
cvttss2si ebx, xmm0
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
mov dword [esp + 0x14], 0x3eff7cee
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
lea eax, [ebx - 3]
movd xmm0, eax
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
mov edi, dword [ebp - 0x10c]
mov eax, 0x790b10
push 0x12
push 0x12
push ebx
push edi
call eax
add esp, 0x40
test al, al
je 0x100a09fb
cmp byte [0x8793386], 0
je 0x100a09ca
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov dword [esp + 8], 0
add esp, 8
movd xmm0, ebx
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f3e9e26
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
mov ebx, dword [ebp - 0x118]
add esp, 0x30
call ebx
mov ecx, dword [0x101ecb88]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a0a68
cmp byte [0x10242127], 0
jne 0x100a09b9
mov ecx, 0x1019c180
call fcn.1002f350
mov ecx, 0x1019c180
call fcn.1002f0e0
cmp dword [0x1019c188], 1
jne 0x100a09be
push str.Camera__RESET_
push 1
push 0x101e4b18
call fcn.10078390
add esp, 0xc
call ebx
mov dword [0x101ecb88], eax
jmp 0x100a0a68
call fcn.100ac030
call ebx
mov dword [0x101ecb88], eax
jmp 0x100a0a68
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f3e9e26
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100a0a2a
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f3e9e26
mov dword [esp + 0x10], 0
movd xmm0, ebx
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
mov ebx, dword [ebp - 0x118]
add esp, 0x30
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1018d168]
push ecx
mov dword [esp], 0
push 1
push 1
cvttss2si edi, xmm0
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
mov dword [esp + 0x14], 0x3eff7cee
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
lea eax, [edi - 3]
movd xmm0, eax
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
mov esi, dword [ebp - 0x110]
mov eax, 0x790b10
push 0x12
push 0x12
push edi
push esi
call eax
add esp, 0x40
test al, al
je 0x100a0c8a
cmp byte [0x8793386], 0
je 0x100a0c12
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov dword [esp + 8], 0
add esp, 8
movd xmm0, edi
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f1e9107
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
call ebx
mov ecx, dword [0x101ecb88]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a0d0c
cmp byte [0x10242127], 0
jne 0x100a0bf5
cmp dword [0x1019c1b4], 0
je 0x100a0bbe
mov ecx, 0x1019c180
call fcn.1002f350
mov edx, str.Camera3D__OFFRESET_
jmp 0x100a0bc3
mov edx, str.Camera3D__ON_
mov ecx, 0x1019c180
call fcn.1002f0e0
push edx
push 1
push 0x101e4b18
call fcn.10078390
add esp, 0xc
call ebx
mov dword [0x101ecb88], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
call fcn.100abfa0
call ebx
mov dword [0x101ecb88], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 1
sub esp, 0x20
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f1e9107
mov dword [esp + 0x10], 0x3dfdf3b2
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
push ecx
mov dword [esp], 0
mov eax, 0x637c60
push 1
push 1
sub esp, 0x20
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f1e9107
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0x1030eab8], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
call fcn.1013a639
int3